From 277b43bcea5909819f15bcdceeb0f0b0a1349dd9 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sat, 19 Oct 2024 15:10:45 +0800 Subject: [PATCH] partial fix --- bin/configs/java-helidon-client-mp_3.yaml | 1 + bin/configs/java-helidon-client-mp_4.yaml | 1 + bin/configs/java-helidon-client-se_3.yaml | 1 + bin/configs/java-helidon-client-se_4.yaml | 1 + bin/configs/java-helidon-server-mp_3.yaml | 2 +- .../java-helidon-server-mp_3_format_test.yaml | 2 +- bin/configs/java-micronaut-client.yaml | 1 + bin/configs/java-micronaut-server.yaml | 1 + .../Java/beanValidationCore.mustache | 2 +- .../Java/generatedAnnotation.mustache | 2 +- .../Java/jackson_annotations.mustache | 2 +- .../main/resources/Java/javaBuilder.mustache | 2 +- .../Java/libraries/feign/pojo.mustache | 10 +- .../Java/libraries/jersey2/pojo.mustache | 12 +- .../jersey3/generatedAnnotation.mustache | 2 +- .../Java/libraries/jersey3/pojo.mustache | 42 +- .../microprofile/generatedAnnotation.mustache | 2 +- .../native/generatedAnnotation.mustache | 2 +- .../Java/libraries/native/pojo.mustache | 10 +- .../src/main/resources/Java/pojo.mustache | 10 +- .../Java/typeInfoAnnotation.mustache | 1 - .../resources/Java/xmlAnnotation.mustache | 4 +- .../generatedAnnotation.mustache | 2 +- .../cxf-cdi/generatedAnnotation.mustache | 2 +- .../cxf-ext/generatedAnnotation.mustache | 2 +- .../resources/JavaJaxRS/cxf-ext/pojo.mustache | 26 +- .../cxf/generatedAnnotation.mustache | 2 +- .../JavaJaxRS/cxf/xmlPojoAnnotation.mustache | 10 +- .../JavaJaxRS/generatedAnnotation.mustache | 2 +- .../JavaJaxRS/libraries/jersey3/pojo.mustache | 6 +- .../main/resources/JavaJaxRS/pojo.mustache | 6 +- .../resteasy/eap/generatedAnnotation.mustache | 2 +- .../resteasy/generatedAnnotation.mustache | 2 +- .../spec/generatedAnnotation.mustache | 2 +- .../JavaPlayFramework/enumClass.mustache | 1 + .../generatedAnnotation.mustache | 2 +- .../resources/JavaPlayFramework/pojo.mustache | 11 +- .../resources/JavaSpring/apiDelegate.mustache | 2 +- .../JavaSpring/generatedAnnotation.mustache | 2 +- .../resources/JavaSpring/methodBody.mustache | 6 +- .../JavaSpring/xmlAnnotation.mustache | 3 +- .../resources/aspnetcore/3.0/model.mustache | 7 +- .../cpp-pistache-server/model-source.mustache | 4 +- .../api-source-HandlerBody.mustache | 2 +- .../cpp-restbed-server/api-source.mustache | 4 +- .../built_value/class_members.mustache | 2 +- .../dart_constructor.mustache | 2 +- .../resources/dart2/dart_constructor.mustache | 1 + .../src/main/resources/dart2/part_of.mustache | 1 + .../resources/java-camel-server/pojo.mustache | 4 +- .../libraries/mp/generatedAnnotation.mustache | 2 +- .../libraries/se/generatedAnnotation.mustache | 2 +- .../libraries/se/oneof_interface.mustache | 5 +- .../server/libraries/mp/apiAbstract.mustache | 2 +- .../server/libraries/mp/apiMethod.mustache | 2 +- .../server/libraries/mp/enumClass.mustache | 1 + .../libraries/mp/generatedAnnotation.mustache | 2 +- .../server/libraries/se/enumClass.mustache | 1 + .../libraries/se/generatedAnnotation.mustache | 2 +- .../server/libraries/se/opHelpers.mustache | 1 + .../common/generatedAnnotation.mustache | 2 +- .../common/model/modelInnerEnum.mustache | 2 +- .../java-micronaut/common/model/pojo.mustache | 7 +- .../generatedAnnotation.mustache | 2 +- .../resources/java-msf4j-server/pojo.mustache | 9 +- .../java-pkmst/generatedAnnotation.mustache | 2 +- .../main/resources/java-pkmst/pojo.mustache | 11 +- .../java-pkmst/xmlAnnotation.mustache | 3 +- .../generatedAnnotation.mustache | 2 +- .../jaxrs-spec/generatedAnnotation.mustache | 2 +- .../kotlin-spring/apiDelegate.mustache | 2 +- .../kotlin-spring/dataClass.mustache | 12 +- .../generatedAnnotation.mustache | 2 +- .../kotlin-spring/interfaceOptVar.mustache | 13 +- .../kotlin-spring/interfaceReqVar.mustache | 13 +- .../kotlin-spring/methodBody.mustache | 8 +- .../ktorm-schema/data_class_set.mustache | 2 +- .../resources/python/partial_api.mustache | 2 +- .../rust-server/client-operation.mustache | 1 + .../client-request-body-instance.mustache | 1 + ...lient-request-body-multipart-form.mustache | 1 + .../client-response-body-instance.mustache | 1 + ...t-response-body-multipart-related.mustache | 1 + .../example-server-operation.mustache | 1 + .../generate-multipart-related.mustache | 1 + .../resources/rust-server/response.mustache | 1 + .../rust-server/server-make-service.mustache | 1 + .../rust-server/server-operation.mustache | 1 + .../rust-server/server-paths.mustache | 1 + .../server-request-body-basic.mustache | 1 + .../server-request-body-form.mustache | 1 + .../server-request-body-instance.mustache | 1 + ...erver-request-body-multipart-form.mustache | 1 + ...er-request-body-multipart-related.mustache | 1 + .../server-response-body-instance.mustache | 1 + .../server-service-footer.mustache | 1 + .../server-service-header.mustache | 1 + .../delegateCallGeneric.mustache | 7 +- .../delegateCallJson.mustache | 7 +- .../generatedAnnotation.mustache | 2 +- pom.xml | 2 +- .../src/Org.OpenAPITools/Model/Bird.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/DataQuery.cs | 3 +- .../Org.OpenAPITools/Model/DefaultValue.cs | 4 +- .../Model/NumberPropertiesOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../src/Org.OpenAPITools/Model/Query.cs | 4 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../TestFormObjectMultipartRequestMarker.cs | 3 +- ...lodeTrueObjectAllOfQueryObjectParameter.cs | 3 +- ...lodeTrueArrayStringQueryObjectParameter.cs | 3 +- .../echo_api/go-external-refs/model_bird.go | 1 - .../go-external-refs/model_category.go | 1 - .../go-external-refs/model_data_query.go | 1 - .../go-external-refs/model_default_value.go | 1 - .../model_number_properties_only.go | 1 - .../echo_api/go-external-refs/model_pet.go | 1 - .../echo_api/go-external-refs/model_query.go | 1 - .../go-external-refs/model_string_enum_ref.go | 1 - .../echo_api/go-external-refs/model_tag.go | 1 - ...ue_object_all_of_query_object_parameter.go | 1 - ...rue_array_string_query_object_parameter.go | 1 - samples/client/echo_api/go/model_bird.go | 1 - samples/client/echo_api/go/model_category.go | 1 - .../client/echo_api/go/model_data_query.go | 1 - .../client/echo_api/go/model_default_value.go | 1 - .../go/model_number_properties_only.go | 1 - samples/client/echo_api/go/model_pet.go | 1 - samples/client/echo_api/go/model_query.go | 1 - .../echo_api/go/model_string_enum_ref.go | 1 - samples/client/echo_api/go/model_tag.go | 1 - ...st_form_object_multipart_request_marker.go | 1 - ...ue_object_all_of_query_object_parameter.go | 1 - ...rue_array_string_query_object_parameter.go | 1 - .../org/openapitools/client/model/Bird.java | 13 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/DataQuery.java | 19 +- .../client/model/DefaultValue.java | 53 +- .../client/model/NumberPropertiesOnly.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Query.java | 14 +- .../org/openapitools/client/model/Tag.java | 13 +- .../TestFormObjectMultipartRequestMarker.java | 7 +- ...deTrueObjectAllOfQueryObjectParameter.java | 25 +- ...deTrueArrayStringQueryObjectParameter.java | 7 +- .../org/openapitools/client/model/Bird.java | 10 +- .../openapitools/client/model/Category.java | 10 +- .../openapitools/client/model/DataQuery.java | 14 +- .../client/model/DefaultValue.java | 35 +- .../client/model/NumberPropertiesOnly.java | 14 +- .../org/openapitools/client/model/Pet.java | 27 +- .../org/openapitools/client/model/Query.java | 11 +- .../org/openapitools/client/model/Tag.java | 10 +- .../TestFormObjectMultipartRequestMarker.java | 6 +- ...deTrueObjectAllOfQueryObjectParameter.java | 18 +- ...deTrueArrayStringQueryObjectParameter.java | 6 +- .../client/echo_api/java/native/docs/Bird.md | 1 - .../echo_api/java/native/docs/Category.md | 1 - .../echo_api/java/native/docs/DataQuery.md | 1 - .../echo_api/java/native/docs/DefaultValue.md | 1 - .../java/native/docs/NumberPropertiesOnly.md | 1 - .../client/echo_api/java/native/docs/Pet.md | 1 - .../client/echo_api/java/native/docs/Query.md | 1 - .../java/native/docs/StringEnumRef.md | 1 - .../client/echo_api/java/native/docs/Tag.md | 1 - .../TestFormObjectMultipartRequestMarker.md | 1 - ...lodeTrueObjectAllOfQueryObjectParameter.md | 1 - ...lodeTrueArrayStringQueryObjectParameter.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../org/openapitools/client/model/Bird.java | 14 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/DataQuery.java | 20 +- .../client/model/DefaultValue.java | 45 +- .../client/model/NumberPropertiesOnly.java | 20 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Query.java | 15 +- .../org/openapitools/client/model/Tag.java | 14 +- .../TestFormObjectMultipartRequestMarker.java | 8 +- ...deTrueObjectAllOfQueryObjectParameter.java | 26 +- ...deTrueArrayStringQueryObjectParameter.java | 8 +- .../modelCopy/Category.java | 2 +- .../modelCopy/ModelApiResponse.java | 2 +- .../modelCopy/Order.java | 2 +- .../modelCopy/Pet.java | 2 +- .../modelCopy/Tag.java | 2 +- .../modelCopy/User.java | 2 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../org/openapitools/client/model/Bird.java | 14 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/DataQuery.java | 20 +- .../client/model/DefaultValue.java | 51 +- .../client/model/NumberPropertiesOnly.java | 20 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Query.java | 15 +- .../org/openapitools/client/model/Tag.java | 14 +- .../TestFormObjectMultipartRequestMarker.java | 8 +- ...deTrueObjectAllOfQueryObjectParameter.java | 26 +- ...deTrueArrayStringQueryObjectParameter.java | 8 +- .../org/openapitools/client/model/Bird.java | 13 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/DataQuery.java | 19 +- .../client/model/DefaultValue.java | 53 +- .../client/model/NumberPropertiesOnly.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Query.java | 14 +- .../org/openapitools/client/model/Tag.java | 13 +- .../TestFormObjectMultipartRequestMarker.java | 7 +- ...deTrueObjectAllOfQueryObjectParameter.java | 25 +- ...deTrueArrayStringQueryObjectParameter.java | 7 +- .../org/openapitools/client/model/Bird.java | 13 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/DataQuery.java | 19 +- .../client/model/DefaultValue.java | 53 +- .../client/model/NumberPropertiesOnly.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Query.java | 14 +- .../org/openapitools/client/model/Tag.java | 13 +- .../TestFormObjectMultipartRequestMarker.java | 7 +- ...deTrueObjectAllOfQueryObjectParameter.java | 25 +- ...deTrueArrayStringQueryObjectParameter.java | 7 +- .../org/openapitools/client/model/Bird.java | 13 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/DataQuery.java | 19 +- .../client/model/DefaultValue.java | 53 +- .../client/model/NumberPropertiesOnly.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Query.java | 14 +- .../org/openapitools/client/model/Tag.java | 13 +- .../TestFormObjectMultipartRequestMarker.java | 7 +- ...deTrueObjectAllOfQueryObjectParameter.java | 25 +- ...deTrueArrayStringQueryObjectParameter.java | 7 +- .../org/openapitools/client/models/Bird.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/DefaultValue.kt | 1 - .../client/models/NumberPropertiesOnly.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Query.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - ...lodeTrueArrayStringQueryObjectParameter.kt | 1 - .../org/openapitools/client/models/Bird.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/DefaultValue.kt | 1 - .../client/models/NumberPropertiesOnly.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Query.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - ...lodeTrueArrayStringQueryObjectParameter.kt | 1 - .../org/openapitools/client/models/ApiBird.kt | 1 - .../openapitools/client/models/ApiCategory.kt | 1 - .../client/models/ApiDefaultValue.kt | 1 - .../client/models/ApiNumberPropertiesOnly.kt | 1 - .../org/openapitools/client/models/ApiPet.kt | 1 - .../openapitools/client/models/ApiQuery.kt | 1 - .../org/openapitools/client/models/ApiTag.kt | 1 - ...lodeTrueArrayStringQueryObjectParameter.kt | 1 - .../echo_api/php-nextgen-streaming/README.md | 1 - .../php-nextgen-streaming/docs/Api/AuthApi.md | 2 - .../php-nextgen-streaming/docs/Api/BodyApi.md | 10 - .../php-nextgen-streaming/docs/Api/FormApi.md | 3 - .../docs/Api/HeaderApi.md | 1 - .../php-nextgen-streaming/docs/Api/PathApi.md | 1 - .../docs/Api/QueryApi.md | 10 - .../php-nextgen-streaming/src/Api/AuthApi.php | 1 - .../php-nextgen-streaming/src/Api/BodyApi.php | 1 - .../php-nextgen-streaming/src/Api/FormApi.php | 1 - .../src/Api/HeaderApi.php | 1 - .../php-nextgen-streaming/src/Api/PathApi.php | 1 - .../src/Api/QueryApi.php | 1 - .../src/ApiException.php | 1 - .../src/Configuration.php | 1 - .../src/HeaderSelector.php | 1 - .../php-nextgen-streaming/src/Model/Bird.php | 1 - .../src/Model/Category.php | 1 - .../src/Model/DataQuery.php | 1 - .../src/Model/DefaultValue.php | 1 - .../src/Model/ModelInterface.php | 1 - .../src/Model/NumberPropertiesOnly.php | 1 - .../php-nextgen-streaming/src/Model/Pet.php | 1 - .../php-nextgen-streaming/src/Model/Query.php | 1 - .../src/Model/StringEnumRef.php | 1 - .../php-nextgen-streaming/src/Model/Tag.php | 1 - .../TestFormObjectMultipartRequestMarker.php | 1 - ...odeTrueObjectAllOfQueryObjectParameter.php | 1 - ...odeTrueArrayStringQueryObjectParameter.php | 1 - .../src/ObjectSerializer.php | 1 - samples/client/echo_api/php-nextgen/README.md | 1 - .../echo_api/php-nextgen/docs/Api/AuthApi.md | 2 - .../echo_api/php-nextgen/docs/Api/BodyApi.md | 10 - .../echo_api/php-nextgen/docs/Api/FormApi.md | 3 - .../php-nextgen/docs/Api/HeaderApi.md | 1 - .../echo_api/php-nextgen/docs/Api/PathApi.md | 1 - .../echo_api/php-nextgen/docs/Api/QueryApi.md | 10 - .../echo_api/php-nextgen/src/Api/AuthApi.php | 1 - .../echo_api/php-nextgen/src/Api/BodyApi.php | 1 - .../echo_api/php-nextgen/src/Api/FormApi.php | 1 - .../php-nextgen/src/Api/HeaderApi.php | 1 - .../echo_api/php-nextgen/src/Api/PathApi.php | 1 - .../echo_api/php-nextgen/src/Api/QueryApi.php | 1 - .../echo_api/php-nextgen/src/ApiException.php | 1 - .../php-nextgen/src/Configuration.php | 1 - .../php-nextgen/src/HeaderSelector.php | 1 - .../echo_api/php-nextgen/src/Model/Bird.php | 1 - .../php-nextgen/src/Model/Category.php | 1 - .../php-nextgen/src/Model/DataQuery.php | 1 - .../php-nextgen/src/Model/DefaultValue.php | 1 - .../php-nextgen/src/Model/ModelInterface.php | 1 - .../src/Model/NumberPropertiesOnly.php | 1 - .../echo_api/php-nextgen/src/Model/Pet.php | 1 - .../echo_api/php-nextgen/src/Model/Query.php | 1 - .../php-nextgen/src/Model/StringEnumRef.php | 1 - .../echo_api/php-nextgen/src/Model/Tag.php | 1 - .../TestFormObjectMultipartRequestMarker.php | 1 - ...odeTrueObjectAllOfQueryObjectParameter.php | 1 - ...odeTrueArrayStringQueryObjectParameter.php | 1 - .../php-nextgen/src/ObjectSerializer.php | 1 - .../PSOpenAPITools/Model/StringEnumRef.ps1 | 1 - .../README.md | 2 - .../docs/AuthApi.md | 4 - .../docs/BodyApi.md | 20 - .../docs/FormApi.md | 6 - .../docs/HeaderApi.md | 2 - .../docs/PathApi.md | 2 - .../docs/QueryApi.md | 20 - .../openapi_client/__init__.py | 1 - .../openapi_client/api/auth_api.py | 1 - .../openapi_client/api/body_api.py | 1 - .../openapi_client/api/form_api.py | 1 - .../openapi_client/api/header_api.py | 1 - .../openapi_client/api/path_api.py | 1 - .../openapi_client/api/query_api.py | 1 - .../openapi_client/api_client.py | 1 - .../openapi_client/configuration.py | 1 - .../openapi_client/exceptions.py | 1 - .../openapi_client/models/__init__.py | 1 - .../openapi_client/models/bird.py | 1 - .../openapi_client/models/category.py | 1 - .../openapi_client/models/data_query.py | 1 - .../openapi_client/models/default_value.py | 1 - .../models/number_properties_only.py | 1 - .../openapi_client/models/pet.py | 1 - .../openapi_client/models/query.py | 1 - .../openapi_client/models/string_enum_ref.py | 2 - .../openapi_client/models/tag.py | 1 - ...st_form_object_multipart_request_marker.py | 1 - ...ue_object_all_of_query_object_parameter.py | 1 - ...rue_array_string_query_object_parameter.py | 1 - .../openapi_client/rest.py | 1 - .../setup.py | 1 - .../echo_api/python-pydantic-v1/README.md | 2 - .../python-pydantic-v1/docs/AuthApi.md | 4 - .../python-pydantic-v1/docs/BodyApi.md | 20 - .../python-pydantic-v1/docs/FormApi.md | 6 - .../python-pydantic-v1/docs/HeaderApi.md | 2 - .../python-pydantic-v1/docs/PathApi.md | 2 - .../python-pydantic-v1/docs/QueryApi.md | 20 - .../openapi_client/__init__.py | 1 - .../openapi_client/api/auth_api.py | 1 - .../openapi_client/api/body_api.py | 1 - .../openapi_client/api/form_api.py | 1 - .../openapi_client/api/header_api.py | 1 - .../openapi_client/api/path_api.py | 1 - .../openapi_client/api/query_api.py | 1 - .../openapi_client/api_client.py | 1 - .../openapi_client/configuration.py | 1 - .../openapi_client/exceptions.py | 1 - .../openapi_client/models/__init__.py | 1 - .../openapi_client/models/bird.py | 1 - .../openapi_client/models/category.py | 1 - .../openapi_client/models/data_query.py | 1 - .../openapi_client/models/default_value.py | 1 - .../models/number_properties_only.py | 1 - .../openapi_client/models/pet.py | 1 - .../openapi_client/models/query.py | 1 - .../openapi_client/models/string_enum_ref.py | 2 - .../openapi_client/models/tag.py | 1 - ...st_form_object_multipart_request_marker.py | 1 - ...ue_object_all_of_query_object_parameter.py | 1 - ...rue_array_string_query_object_parameter.py | 1 - .../python-pydantic-v1/openapi_client/rest.py | 1 - .../echo_api/python-pydantic-v1/setup.py | 1 - samples/client/echo_api/python/README.md | 2 - .../client/echo_api/python/docs/AuthApi.md | 4 - .../client/echo_api/python/docs/BodyApi.md | 20 - .../client/echo_api/python/docs/FormApi.md | 6 - .../client/echo_api/python/docs/HeaderApi.md | 2 - .../client/echo_api/python/docs/PathApi.md | 2 - .../client/echo_api/python/docs/QueryApi.md | 20 - .../python/openapi_client/__init__.py | 1 - .../python/openapi_client/api/auth_api.py | 1 - .../python/openapi_client/api/body_api.py | 1 - .../python/openapi_client/api/form_api.py | 1 - .../python/openapi_client/api/header_api.py | 1 - .../python/openapi_client/api/path_api.py | 1 - .../python/openapi_client/api/query_api.py | 1 - .../python/openapi_client/api_client.py | 1 - .../python/openapi_client/configuration.py | 1 - .../python/openapi_client/exceptions.py | 1 - .../python/openapi_client/models/__init__.py | 1 - .../python/openapi_client/models/bird.py | 1 - .../python/openapi_client/models/category.py | 1 - .../openapi_client/models/data_query.py | 1 - .../openapi_client/models/default_value.py | 1 - .../models/number_properties_only.py | 1 - .../python/openapi_client/models/pet.py | 1 - .../python/openapi_client/models/query.py | 1 - .../openapi_client/models/string_enum_ref.py | 2 - .../python/openapi_client/models/tag.py | 1 - ...st_form_object_multipart_request_marker.py | 1 - ...ue_object_all_of_query_object_parameter.py | 1 - ...rue_array_string_query_object_parameter.py | 1 - .../echo_api/python/openapi_client/rest.py | 1 - samples/client/echo_api/python/setup.py | 1 - .../client/echo_api/ruby-faraday/docs/Bird.md | 1 - .../echo_api/ruby-faraday/docs/Category.md | 1 - .../echo_api/ruby-faraday/docs/DataQuery.md | 1 - .../ruby-faraday/docs/DefaultValue.md | 1 - .../ruby-faraday/docs/NumberPropertiesOnly.md | 1 - .../client/echo_api/ruby-faraday/docs/Pet.md | 1 - .../echo_api/ruby-faraday/docs/Query.md | 1 - .../ruby-faraday/docs/StringEnumRef.md | 1 - .../client/echo_api/ruby-faraday/docs/Tag.md | 1 - .../TestFormObjectMultipartRequestMarker.md | 1 - ...lodeTrueObjectAllOfQueryObjectParameter.md | 1 - ...lodeTrueArrayStringQueryObjectParameter.md | 1 - .../ruby-faraday/lib/openapi_client.rb | 1 - .../lib/openapi_client/api/auth_api.rb | 1 - .../lib/openapi_client/api/body_api.rb | 1 - .../lib/openapi_client/api/form_api.rb | 1 - .../lib/openapi_client/api/header_api.rb | 1 - .../lib/openapi_client/api/path_api.rb | 1 - .../lib/openapi_client/api/query_api.rb | 1 - .../lib/openapi_client/api_client.rb | 2 - .../lib/openapi_client/api_error.rb | 1 - .../lib/openapi_client/configuration.rb | 2 - .../lib/openapi_client/models/bird.rb | 3 - .../lib/openapi_client/models/category.rb | 3 - .../lib/openapi_client/models/data_query.rb | 3 - .../openapi_client/models/default_value.rb | 3 - .../models/number_properties_only.rb | 3 - .../lib/openapi_client/models/pet.rb | 3 - .../lib/openapi_client/models/query.rb | 3 - .../openapi_client/models/string_enum_ref.rb | 4 +- .../lib/openapi_client/models/tag.rb | 3 - ...st_form_object_multipart_request_marker.rb | 3 - ...ue_object_all_of_query_object_parameter.rb | 3 - ...rue_array_string_query_object_parameter.rb | 3 - .../lib/openapi_client/version.rb | 1 - .../ruby-faraday/openapi_client.gemspec | 1 - .../echo_api/ruby-faraday/spec/spec_helper.rb | 1 - .../client/echo_api/ruby-httpx/docs/Bird.md | 1 - .../echo_api/ruby-httpx/docs/Category.md | 1 - .../echo_api/ruby-httpx/docs/DataQuery.md | 1 - .../echo_api/ruby-httpx/docs/DefaultValue.md | 1 - .../ruby-httpx/docs/NumberPropertiesOnly.md | 1 - .../client/echo_api/ruby-httpx/docs/Pet.md | 1 - .../client/echo_api/ruby-httpx/docs/Query.md | 1 - .../echo_api/ruby-httpx/docs/StringEnumRef.md | 1 - .../client/echo_api/ruby-httpx/docs/Tag.md | 1 - .../TestFormObjectMultipartRequestMarker.md | 1 - ...lodeTrueObjectAllOfQueryObjectParameter.md | 1 - ...lodeTrueArrayStringQueryObjectParameter.md | 1 - .../echo_api/ruby-httpx/lib/openapi_client.rb | 1 - .../lib/openapi_client/api/auth_api.rb | 1 - .../lib/openapi_client/api/body_api.rb | 1 - .../lib/openapi_client/api/form_api.rb | 1 - .../lib/openapi_client/api/header_api.rb | 1 - .../lib/openapi_client/api/path_api.rb | 1 - .../lib/openapi_client/api/query_api.rb | 1 - .../lib/openapi_client/api_client.rb | 2 - .../lib/openapi_client/api_error.rb | 1 - .../lib/openapi_client/configuration.rb | 2 - .../lib/openapi_client/models/bird.rb | 3 - .../lib/openapi_client/models/category.rb | 3 - .../lib/openapi_client/models/data_query.rb | 3 - .../openapi_client/models/default_value.rb | 3 - .../models/number_properties_only.rb | 3 - .../lib/openapi_client/models/pet.rb | 3 - .../lib/openapi_client/models/query.rb | 3 - .../openapi_client/models/string_enum_ref.rb | 4 +- .../lib/openapi_client/models/tag.rb | 3 - ...st_form_object_multipart_request_marker.rb | 3 - ...ue_object_all_of_query_object_parameter.rb | 3 - ...rue_array_string_query_object_parameter.rb | 3 - .../ruby-httpx/lib/openapi_client/version.rb | 1 - .../ruby-httpx/openapi_client.gemspec | 1 - .../echo_api/ruby-httpx/spec/spec_helper.rb | 1 - .../echo_api/ruby-typhoeus/docs/Bird.md | 1 - .../echo_api/ruby-typhoeus/docs/Category.md | 1 - .../echo_api/ruby-typhoeus/docs/DataQuery.md | 1 - .../ruby-typhoeus/docs/DefaultValue.md | 1 - .../docs/NumberPropertiesOnly.md | 1 - .../client/echo_api/ruby-typhoeus/docs/Pet.md | 1 - .../echo_api/ruby-typhoeus/docs/Query.md | 1 - .../ruby-typhoeus/docs/StringEnumRef.md | 1 - .../client/echo_api/ruby-typhoeus/docs/Tag.md | 1 - .../TestFormObjectMultipartRequestMarker.md | 1 - ...lodeTrueObjectAllOfQueryObjectParameter.md | 1 - ...lodeTrueArrayStringQueryObjectParameter.md | 1 - .../ruby-typhoeus/lib/openapi_client.rb | 1 - .../lib/openapi_client/api/auth_api.rb | 1 - .../lib/openapi_client/api/body_api.rb | 1 - .../lib/openapi_client/api/form_api.rb | 1 - .../lib/openapi_client/api/header_api.rb | 1 - .../lib/openapi_client/api/path_api.rb | 1 - .../lib/openapi_client/api/query_api.rb | 1 - .../lib/openapi_client/api_client.rb | 2 - .../lib/openapi_client/api_error.rb | 1 - .../lib/openapi_client/configuration.rb | 2 - .../lib/openapi_client/models/bird.rb | 3 - .../lib/openapi_client/models/category.rb | 3 - .../lib/openapi_client/models/data_query.rb | 3 - .../openapi_client/models/default_value.rb | 3 - .../models/number_properties_only.rb | 3 - .../lib/openapi_client/models/pet.rb | 3 - .../lib/openapi_client/models/query.rb | 3 - .../openapi_client/models/string_enum_ref.rb | 4 +- .../lib/openapi_client/models/tag.rb | 3 - ...st_form_object_multipart_request_marker.rb | 3 - ...ue_object_all_of_query_object_parameter.rb | 3 - ...rue_array_string_query_object_parameter.rb | 3 - .../lib/openapi_client/version.rb | 1 - .../ruby-typhoeus/openapi_client.gemspec | 1 - .../ruby-typhoeus/spec/spec_helper.rb | 1 - .../echo_api/typescript-axios/build/api.ts | 8 - .../echo_api/typescript-axios/build/base.ts | 1 - .../echo_api/typescript-axios/build/common.ts | 1 - .../typescript-axios/build/configuration.ts | 1 - .../echo_api/typescript-axios/build/index.ts | 1 - .../Model/MultipartArrayRequest.cs | 3 +- .../Model/MultipartMixedRequest.cs | 3 +- .../Model/MultipartMixedRequestMarker.cs | 3 +- .../Model/MultipartSingleRequest.cs | 3 +- .../model_additional_data.go | 1 - .../model_base_item.go | 1 - .../model_final_item.go | 1 - .../model_nested_object1.go | 1 - .../model_nested_object2.go | 1 - .../go/oneof-anyof-required/model_object.go | 1 - .../go/oneof-anyof-required/model_object2.go | 1 - .../java/jersey2-oneOf-Mixed/docs/Example.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Example.java | 2 +- .../jersey2-oneOf-duplicates/docs/Example.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Example.java | 2 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/MyExampleGet200Response.java | 1 + .../org/openapitools/client/model/OneOf1.java | 9 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/MyExamplePostRequest.java | 1 + .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/SimpleOneOf.java | 1 + .../openapitools/client/model/SomeObj.java | 33 +- .../model/catComposed.ts | 1 - .../model/catInherited.ts | 1 - .../model/catMapped.ts | 1 - .../model/dogComposed.ts | 1 - .../model/dogInherited.ts | 1 - .../model/dogMapped.ts | 1 - .../model/dummy.ts | 1 - .../model/petWithoutDiscriminator.ts | 1 - .../api.ts | 1 - .../base.ts | 1 - .../common.ts | 1 - .../configuration.ts | 1 - .../index.ts | 1 - ...abstract-flat-stock-pick-order-base-dto.ts | 1 - .../model/abstract-user-dto.ts | 1 - .../model/branch-dto.ts | 1 - .../model/flat-stock-pick-order-dto.ts | 1 - .../model/internal-authenticated-user-dto.ts | 1 - .../model/remote-authenticated-user-dto.ts | 1 - .../models/AbstractUserDto.ts | 3 - .../self-import-issue/models/BranchDto.ts | 3 - .../models/InternalAuthenticatedUserDto.ts | 3 - .../models/RemoteAuthenticatedUserDto.ts | 3 - .../self-import-issue/runtime.ts | 1 - .../allOf-composition/apis/DefaultApi.ts | 1 - .../allOf-composition/models/Hero.ts | 1 - .../allOf-composition/models/Human.ts | 1 - .../allOf-composition/models/SuperBaby.ts | 1 - .../allOf-composition/models/SuperBoy.ts | 1 - .../allOf-composition/models/SuperMan.ts | 1 - .../allOf-composition/runtime.ts | 1 - .../main/default/classes/OASOrder.cls | 1 - .../force-app/main/default/classes/OASPet.cls | 1 - .../models/another_property_name_mapping.cr | 2 - .../src/petstore/models/api_response.cr | 2 - .../crystal/src/petstore/models/category.cr | 2 - .../src/petstore/models/format_test.cr | 2 - .../crystal/src/petstore/models/order.cr | 2 - .../crystal/src/petstore/models/pet.cr | 2 - .../crystal/src/petstore/models/tag.cr | 2 - .../crystal/src/petstore/models/user.cr | 2 - .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../src/Org.OpenAPITools/Api/APIKEYSApi.cs | 9 +- .../src/Org.OpenAPITools/Api/APIKeys0Api.cs | 9 +- .../src/Org.OpenAPITools/Api/ApiKeys1Api.cs | 9 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AllOf/src/Org.OpenAPITools/Model/Adult.cs | 14 +- .../AllOf/src/Org.OpenAPITools/Model/Child.cs | 23 +- .../src/Org.OpenAPITools/Model/Person.cs | 17 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AnyOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../AnyOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 6 +- .../Model/ChildCatAllOfPetType.cs | 1 - .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../Model/EnumArraysArrayEnumInner.cs | 1 - .../Model/EnumArraysJustSymbol.cs | 1 - .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 5 +- .../Model/EnumTestEnumInteger.cs | 1 - .../Model/EnumTestEnumIntegerOnly.cs | 1 - .../Model/EnumTestEnumString.cs | 1 - .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../FindPetsByStatusStatusParameterInner.cs | 1 - .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 5 +- .../Model/MapTestMapOfEnumStringValue.cs | 1 - .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 32 +- .../src/Org.OpenAPITools/Model/OrderStatus.cs | 1 - .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 17 +- .../src/Org.OpenAPITools/Model/PetStatus.cs | 1 - .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 184 +- ...iredClassRequiredNotnullableEnumInteger.cs | 1 - ...ClassRequiredNotnullableEnumIntegerOnly.cs | 1 - ...uiredClassRequiredNotnullableEnumString.cs | 1 - ...equiredClassRequiredNullableEnumInteger.cs | 1 - ...redClassRequiredNullableEnumIntegerOnly.cs | 1 - ...RequiredClassRequiredNullableEnumString.cs | 1 - .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...EnumParametersEnumHeaderStringParameter.cs | 1 - ...tEnumParametersEnumQueryDoubleParameter.cs | 1 - ...EnumParametersEnumQueryIntegerParameter.cs | 1 - ...TestEnumParametersRequestEnumFormString.cs | 1 - ...rametersRequestEnumFormStringArrayInner.cs | 1 - ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 10 +- .../src/Org.OpenAPITools/Model/ZebraType.cs | 1 - .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 5 +- .../Model/ZeroBasedEnumClassZeroBasedEnum.cs | 1 - .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../OneOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../OneOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 10 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 7 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 27 +- .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 6 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 33 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 18 +- .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 252 +- .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 11 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 6 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../Model/NowGet200Response.cs | 14 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AllOf/src/Org.OpenAPITools/Model/Adult.cs | 14 +- .../AllOf/src/Org.OpenAPITools/Model/Child.cs | 23 +- .../src/Org.OpenAPITools/Model/Person.cs | 17 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AnyOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../AnyOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 6 +- .../Model/ChildCatAllOfPetType.cs | 1 - .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../Model/EnumArraysArrayEnumInner.cs | 1 - .../Model/EnumArraysJustSymbol.cs | 1 - .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 5 +- .../Model/EnumTestEnumInteger.cs | 1 - .../Model/EnumTestEnumIntegerOnly.cs | 1 - .../Model/EnumTestEnumString.cs | 1 - .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../FindPetsByStatusStatusParameterInner.cs | 1 - .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 5 +- .../Model/MapTestMapOfEnumStringValue.cs | 1 - .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 32 +- .../src/Org.OpenAPITools/Model/OrderStatus.cs | 1 - .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 17 +- .../src/Org.OpenAPITools/Model/PetStatus.cs | 1 - .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 184 +- ...iredClassRequiredNotnullableEnumInteger.cs | 1 - ...ClassRequiredNotnullableEnumIntegerOnly.cs | 1 - ...uiredClassRequiredNotnullableEnumString.cs | 1 - ...equiredClassRequiredNullableEnumInteger.cs | 1 - ...redClassRequiredNullableEnumIntegerOnly.cs | 1 - ...RequiredClassRequiredNullableEnumString.cs | 1 - .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...EnumParametersEnumHeaderStringParameter.cs | 1 - ...tEnumParametersEnumQueryDoubleParameter.cs | 1 - ...EnumParametersEnumQueryIntegerParameter.cs | 1 - ...TestEnumParametersRequestEnumFormString.cs | 1 - ...rametersRequestEnumFormStringArrayInner.cs | 1 - ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 10 +- .../src/Org.OpenAPITools/Model/ZebraType.cs | 1 - .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 5 +- .../Model/ZeroBasedEnumClassZeroBasedEnum.cs | 1 - .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../OneOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../OneOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 10 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 7 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 27 +- .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 6 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 33 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 18 +- .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 252 +- .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 11 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 6 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../Model/NowGet200Response.cs | 14 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AllOf/src/Org.OpenAPITools/Model/Adult.cs | 14 +- .../AllOf/src/Org.OpenAPITools/Model/Child.cs | 23 +- .../src/Org.OpenAPITools/Model/Person.cs | 17 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../AnyOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../AnyOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 6 +- .../Model/ChildCatAllOfPetType.cs | 1 - .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../Model/EnumArraysArrayEnumInner.cs | 1 - .../Model/EnumArraysJustSymbol.cs | 1 - .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 5 +- .../Model/EnumTestEnumInteger.cs | 1 - .../Model/EnumTestEnumIntegerOnly.cs | 1 - .../Model/EnumTestEnumString.cs | 1 - .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../FindPetsByStatusStatusParameterInner.cs | 1 - .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 5 +- .../Model/MapTestMapOfEnumStringValue.cs | 1 - .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 32 +- .../src/Org.OpenAPITools/Model/OrderStatus.cs | 1 - .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 17 +- .../src/Org.OpenAPITools/Model/PetStatus.cs | 1 - .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 184 +- ...iredClassRequiredNotnullableEnumInteger.cs | 1 - ...ClassRequiredNotnullableEnumIntegerOnly.cs | 1 - ...uiredClassRequiredNotnullableEnumString.cs | 1 - ...equiredClassRequiredNullableEnumInteger.cs | 1 - ...redClassRequiredNullableEnumIntegerOnly.cs | 1 - ...RequiredClassRequiredNullableEnumString.cs | 1 - .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...EnumParametersEnumHeaderStringParameter.cs | 1 - ...tEnumParametersEnumQueryDoubleParameter.cs | 1 - ...EnumParametersEnumQueryIntegerParameter.cs | 1 - ...TestEnumParametersRequestEnumFormString.cs | 1 - ...rametersRequestEnumFormStringArrayInner.cs | 1 - ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 10 +- .../src/Org.OpenAPITools/Model/ZebraType.cs | 1 - .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 5 +- .../Model/ZeroBasedEnumClassZeroBasedEnum.cs | 1 - .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 10 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 7 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 27 +- .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 6 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 33 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 18 +- .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 252 +- .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 11 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 6 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../OneOf/src/Org.OpenAPITools/Model/Apple.cs | 9 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../OneOf/src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 10 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 7 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 27 +- .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 6 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 33 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 18 +- .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 252 +- .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 11 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 6 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateOnlyJsonConverter.cs | 1 - .../Client/DateOnlyNullableJsonConverter.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 6 +- .../ActivityOutputElementRepresentation.cs | 13 +- .../Model/AdditionalPropertiesClass.cs | 6 +- .../src/Org.OpenAPITools/Model/Animal.cs | 10 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 20 +- .../src/Org.OpenAPITools/Model/Apple.cs | 56 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 13 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 6 +- .../Model/ArrayOfNumberOnly.cs | 6 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 6 +- .../src/Org.OpenAPITools/Model/Banana.cs | 10 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 13 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 8 +- .../Org.OpenAPITools/Model/Capitalization.cs | 35 +- .../src/Org.OpenAPITools/Model/Cat.cs | 12 +- .../src/Org.OpenAPITools/Model/Category.cs | 13 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 11 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 10 +- .../Model/ComplexQuadrilateral.cs | 11 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 8 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 10 +- .../Model/DeprecatedObject.cs | 10 +- .../src/Org.OpenAPITools/Model/Dog.cs | 12 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 6 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 8 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 2 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 28 +- .../Model/EquilateralTriangle.cs | 11 +- .../src/Org.OpenAPITools/Model/File.cs | 10 +- .../Model/FileSchemaTestClass.cs | 6 +- .../src/Org.OpenAPITools/Model/Foo.cs | 10 +- .../Model/FooGetDefaultResponse.cs | 6 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 156 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 10 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 6 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 10 +- .../Model/GrandparentAnimal.cs | 6 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 15 +- .../Model/HealthCheckResult.cs | 16 +- .../Model/IsoscelesTriangle.cs | 11 +- .../src/Org.OpenAPITools/Model/List.cs | 10 +- .../Model/LiteralStringClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 6 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 7 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 167 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 6 +- .../Model/MixedAnyOfContent.cs | 6 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 6 +- .../Model/MixedOneOfContent.cs | 6 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 34 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 10 +- .../Model/Model200Response.cs | 15 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 10 +- .../src/Org.OpenAPITools/Model/Name.cs | 23 +- ...cationtestGetElementsV1ResponseMPayload.cs | 8 +- .../Org.OpenAPITools/Model/NullableClass.cs | 73 +- .../Model/NullableGuidClass.cs | 16 +- .../Org.OpenAPITools/Model/NullableShape.cs | 6 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 10 +- .../Model/ObjectWithDeprecatedFields.cs | 15 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 6 +- .../src/Org.OpenAPITools/Model/Order.cs | 34 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 20 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 2 - .../Model/OuterEnumDefaultValue.cs | 2 - .../Model/OuterEnumInteger.cs | 2 - .../Model/OuterEnumIntegerDefaultValue.cs | 2 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 2 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 - .../src/Org.OpenAPITools/Model/Pet.cs | 19 +- .../src/Org.OpenAPITools/Model/Pig.cs | 6 +- .../Model/PolymorphicProperty.cs | 6 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 6 +- .../Model/QuadrilateralInterface.cs | 8 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 15 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 253 +- .../src/Org.OpenAPITools/Model/Return.cs | 27 +- .../Model/RolesReportsHash.cs | 10 +- .../Model/RolesReportsHashRole.cs | 10 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 11 +- .../src/Org.OpenAPITools/Model/Shape.cs | 6 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 8 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 6 +- .../Model/SimpleQuadrilateral.cs | 11 +- .../Model/SpecialModelName.cs | 15 +- .../src/Org.OpenAPITools/Model/Tag.cs | 15 +- .../Model/TestCollectionEndingWithWordList.cs | 10 +- .../TestCollectionEndingWithWordListObject.cs | 6 +- ...lineFreeformAdditionalPropertiesRequest.cs | 10 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 6 +- .../Model/TriangleInterface.cs | 8 +- .../src/Org.OpenAPITools/Model/User.cs | 47 +- .../src/Org.OpenAPITools/Model/Whale.cs | 18 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 12 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 2 - .../Model/ZeroBasedEnumClass.cs | 7 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 15 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../Model/NowGet200Response.cs | 14 +- .../Org.OpenAPITools/Api/AnotherFakeApi.cs | 15 +- .../src/Org.OpenAPITools/Api/DefaultApi.cs | 65 +- .../src/Org.OpenAPITools/Api/FakeApi.cs | 215 +- .../Api/FakeClassnameTags123Api.cs | 15 +- .../src/Org.OpenAPITools/Api/PetApi.cs | 103 +- .../src/Org.OpenAPITools/Api/StoreApi.cs | 51 +- .../src/Org.OpenAPITools/Api/UserApi.cs | 83 +- .../Org.OpenAPITools/Client/ApiException.cs | 1 - .../Org.OpenAPITools/Client/ApiResponse`1.cs | 1 - .../Client/DateTimeJsonConverter.cs | 1 - .../Client/DateTimeNullableJsonConverter.cs | 1 - .../Client/HttpSigningConfiguration.cs | 1 - .../src/Org.OpenAPITools/Client/Option.cs | 1 - .../Client/RateLimitProvider`1.cs | 1 - .../Client/TokenProvider`1.cs | 1 - .../src/Org.OpenAPITools/Model/Activity.cs | 5 +- .../ActivityOutputElementRepresentation.cs | 12 +- .../Model/AdditionalPropertiesClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Animal.cs | 9 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 19 +- .../src/Org.OpenAPITools/Model/Apple.cs | 55 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 12 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 5 +- .../Model/ArrayOfNumberOnly.cs | 5 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 5 +- .../src/Org.OpenAPITools/Model/Banana.cs | 9 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 12 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 7 +- .../Org.OpenAPITools/Model/Capitalization.cs | 34 +- .../src/Org.OpenAPITools/Model/Cat.cs | 11 +- .../src/Org.OpenAPITools/Model/Category.cs | 12 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 10 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 9 +- .../Model/ComplexQuadrilateral.cs | 10 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 7 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 9 +- .../Model/DeprecatedObject.cs | 9 +- .../src/Org.OpenAPITools/Model/Dog.cs | 11 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 7 +- .../src/Org.OpenAPITools/Model/EnumClass.cs | 1 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 27 +- .../Model/EquilateralTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/File.cs | 9 +- .../Model/FileSchemaTestClass.cs | 5 +- .../src/Org.OpenAPITools/Model/Foo.cs | 9 +- .../Model/FooGetDefaultResponse.cs | 5 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 155 +- .../src/Org.OpenAPITools/Model/Fruit.cs | 9 +- .../src/Org.OpenAPITools/Model/FruitReq.cs | 5 +- .../src/Org.OpenAPITools/Model/GmFruit.cs | 9 +- .../Model/GrandparentAnimal.cs | 5 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 14 +- .../Model/HealthCheckResult.cs | 15 +- .../Model/IsoscelesTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/List.cs | 9 +- .../Model/LiteralStringClass.cs | 14 +- .../src/Org.OpenAPITools/Model/Mammal.cs | 5 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 6 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 166 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 5 +- .../Model/MixedAnyOfContent.cs | 5 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 5 +- .../Model/MixedOneOfContent.cs | 5 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 33 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 9 +- .../Model/Model200Response.cs | 14 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 9 +- .../src/Org.OpenAPITools/Model/Name.cs | 22 +- ...cationtestGetElementsV1ResponseMPayload.cs | 7 +- .../Org.OpenAPITools/Model/NullableClass.cs | 72 +- .../Model/NullableGuidClass.cs | 15 +- .../Org.OpenAPITools/Model/NullableShape.cs | 5 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 9 +- .../Model/ObjectWithDeprecatedFields.cs | 14 +- .../src/Org.OpenAPITools/Model/OneOfString.cs | 5 +- .../src/Org.OpenAPITools/Model/Order.cs | 33 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 19 +- .../src/Org.OpenAPITools/Model/OuterEnum.cs | 1 - .../Model/OuterEnumDefaultValue.cs | 1 - .../Model/OuterEnumInteger.cs | 1 - .../Model/OuterEnumIntegerDefaultValue.cs | 1 - .../Org.OpenAPITools/Model/OuterEnumTest.cs | 1 - .../src/Org.OpenAPITools/Model/ParentPet.cs | 2 - .../src/Org.OpenAPITools/Model/Pet.cs | 18 +- .../src/Org.OpenAPITools/Model/Pig.cs | 5 +- .../Model/PolymorphicProperty.cs | 5 +- .../Org.OpenAPITools/Model/Quadrilateral.cs | 5 +- .../Model/QuadrilateralInterface.cs | 7 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 14 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 252 +- .../src/Org.OpenAPITools/Model/Return.cs | 26 +- .../Model/RolesReportsHash.cs | 9 +- .../Model/RolesReportsHashRole.cs | 9 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 10 +- .../src/Org.OpenAPITools/Model/Shape.cs | 5 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/ShapeOrNull.cs | 5 +- .../Model/SimpleQuadrilateral.cs | 10 +- .../Model/SpecialModelName.cs | 14 +- .../src/Org.OpenAPITools/Model/Tag.cs | 14 +- .../Model/TestCollectionEndingWithWordList.cs | 9 +- .../TestCollectionEndingWithWordListObject.cs | 5 +- ...lineFreeformAdditionalPropertiesRequest.cs | 9 +- .../src/Org.OpenAPITools/Model/Triangle.cs | 5 +- .../Model/TriangleInterface.cs | 7 +- .../src/Org.OpenAPITools/Model/User.cs | 46 +- .../src/Org.OpenAPITools/Model/Whale.cs | 17 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 11 +- .../Org.OpenAPITools/Model/ZeroBasedEnum.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 6 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 13 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/Env.cs | 3 +- .../Model/PropertyNameMapping.cs | 3 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../Model/NowGet200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixLog.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/Activity.cs | 3 +- .../ActivityOutputElementRepresentation.cs | 3 +- .../Model/AdditionalPropertiesClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Animal.cs | 3 +- .../src/Org.OpenAPITools/Model/ApiResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/Apple.cs | 33 +- .../src/Org.OpenAPITools/Model/AppleReq.cs | 3 +- .../Model/ArrayOfArrayOfNumberOnly.cs | 3 +- .../Model/ArrayOfNumberOnly.cs | 3 +- .../src/Org.OpenAPITools/Model/ArrayTest.cs | 3 +- .../src/Org.OpenAPITools/Model/Banana.cs | 3 +- .../src/Org.OpenAPITools/Model/BananaReq.cs | 3 +- .../src/Org.OpenAPITools/Model/BasquePig.cs | 3 +- .../Org.OpenAPITools/Model/Capitalization.cs | 3 +- .../src/Org.OpenAPITools/Model/Cat.cs | 3 +- .../src/Org.OpenAPITools/Model/Category.cs | 3 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 4 +- .../src/Org.OpenAPITools/Model/ClassModel.cs | 3 +- .../Model/ComplexQuadrilateral.cs | 3 +- .../src/Org.OpenAPITools/Model/DanishPig.cs | 3 +- .../Org.OpenAPITools/Model/DateOnlyClass.cs | 3 +- .../Model/DeprecatedObject.cs | 3 +- .../src/Org.OpenAPITools/Model/Dog.cs | 3 +- .../src/Org.OpenAPITools/Model/Drawing.cs | 3 +- .../src/Org.OpenAPITools/Model/EnumArrays.cs | 5 +- .../src/Org.OpenAPITools/Model/EnumTest.cs | 8 +- .../Model/EquilateralTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/File.cs | 3 +- .../Model/FileSchemaTestClass.cs | 3 +- .../src/Org.OpenAPITools/Model/Foo.cs | 3 +- .../Model/FooGetDefaultResponse.cs | 3 +- .../src/Org.OpenAPITools/Model/FormatTest.cs | 43 +- .../Model/GrandparentAnimal.cs | 3 +- .../Org.OpenAPITools/Model/HasOnlyReadOnly.cs | 3 +- .../Model/HealthCheckResult.cs | 3 +- .../Model/IsoscelesTriangle.cs | 3 +- .../src/Org.OpenAPITools/Model/List.cs | 3 +- .../Model/LiteralStringClass.cs | 3 +- .../src/Org.OpenAPITools/Model/MapTest.cs | 4 +- .../src/Org.OpenAPITools/Model/MixedAnyOf.cs | 3 +- .../src/Org.OpenAPITools/Model/MixedOneOf.cs | 3 +- ...dPropertiesAndAdditionalPropertiesClass.cs | 13 +- .../src/Org.OpenAPITools/Model/MixedSubId.cs | 3 +- .../Model/Model200Response.cs | 3 +- .../src/Org.OpenAPITools/Model/ModelClient.cs | 3 +- .../src/Org.OpenAPITools/Model/Name.cs | 3 +- ...cationtestGetElementsV1ResponseMPayload.cs | 3 +- .../Org.OpenAPITools/Model/NullableClass.cs | 3 +- .../Model/NullableGuidClass.cs | 3 +- .../src/Org.OpenAPITools/Model/NumberOnly.cs | 3 +- .../Model/ObjectWithDeprecatedFields.cs | 3 +- .../src/Org.OpenAPITools/Model/Order.cs | 4 +- .../Org.OpenAPITools/Model/OuterComposite.cs | 3 +- .../src/Org.OpenAPITools/Model/ParentPet.cs | 3 +- .../src/Org.OpenAPITools/Model/Pet.cs | 4 +- .../Model/QuadrilateralInterface.cs | 3 +- .../Org.OpenAPITools/Model/ReadOnlyFirst.cs | 3 +- .../Org.OpenAPITools/Model/RequiredClass.cs | 15 +- .../src/Org.OpenAPITools/Model/Return.cs | 3 +- .../Model/RolesReportsHash.cs | 3 +- .../Model/RolesReportsHashRole.cs | 3 +- .../Org.OpenAPITools/Model/ScaleneTriangle.cs | 3 +- .../Org.OpenAPITools/Model/ShapeInterface.cs | 3 +- .../Model/SimpleQuadrilateral.cs | 3 +- .../Model/SpecialModelName.cs | 3 +- .../src/Org.OpenAPITools/Model/Tag.cs | 3 +- .../Model/TestCollectionEndingWithWordList.cs | 3 +- .../TestCollectionEndingWithWordListObject.cs | 3 +- ...lineFreeformAdditionalPropertiesRequest.cs | 3 +- .../Model/TriangleInterface.cs | 3 +- .../src/Org.OpenAPITools/Model/User.cs | 3 +- .../src/Org.OpenAPITools/Model/Whale.cs | 3 +- .../src/Org.OpenAPITools/Model/Zebra.cs | 4 +- .../Model/ZeroBasedEnumClass.cs | 4 +- .../src/Org.OpenAPITools/Model/ChildCat.cs | 1 - .../src/Org.OpenAPITools/Model/EnumArrays.cs | 2 - .../src/Org.OpenAPITools/Model/EnumTest.cs | 5 - .../src/Org.OpenAPITools/Model/MapTest.cs | 1 - .../src/Org.OpenAPITools/Model/Order.cs | 1 - .../src/Org.OpenAPITools/Model/Pet.cs | 1 - .../Org.OpenAPITools/Model/RequiredClass.cs | 12 - .../src/Org.OpenAPITools/Model/Zebra.cs | 1 - .../Model/ZeroBasedEnumClass.cs | 1 - samples/client/petstore/elm/src/Api/Data.elm | 4 - .../petstore/elm/src/Api/Request/Pet.elm | 2 - .../go/go-petstore/model_200_response.go | 1 - .../model_additional_properties_any_type.go | 1 - .../model_additional_properties_array.go | 1 - .../model_additional_properties_boolean.go | 1 - .../model_additional_properties_class.go | 1 - .../model_additional_properties_integer.go | 1 - .../model_additional_properties_number.go | 1 - .../model_additional_properties_object.go | 1 - .../model_additional_properties_string.go | 1 - .../petstore/go/go-petstore/model_animal.go | 1 - .../go/go-petstore/model_api_response.go | 1 - .../model_array_of_array_of_number_only.go | 1 - .../go-petstore/model_array_of_number_only.go | 1 - .../go/go-petstore/model_array_test_.go | 1 - .../petstore/go/go-petstore/model_big_cat.go | 1 - .../go/go-petstore/model_capitalization.go | 1 - .../petstore/go/go-petstore/model_cat.go | 1 - .../petstore/go/go-petstore/model_category.go | 1 - .../go/go-petstore/model_class_model.go | 1 - .../petstore/go/go-petstore/model_client.go | 1 - .../petstore/go/go-petstore/model_dog.go | 1 - .../go/go-petstore/model_enum_arrays.go | 1 - .../go/go-petstore/model_enum_class.go | 1 - .../go/go-petstore/model_enum_test_.go | 1 - .../petstore/go/go-petstore/model_file.go | 1 - .../model_file_schema_test_class.go | 1 - .../go/go-petstore/model_format_test_.go | 1 - .../go-petstore/model_has_only_read_only.go | 1 - .../petstore/go/go-petstore/model_list.go | 1 - .../go/go-petstore/model_map_test_.go | 1 - ...perties_and_additional_properties_class.go | 1 - .../petstore/go/go-petstore/model_name.go | 1 - .../go/go-petstore/model_number_only.go | 1 - .../petstore/go/go-petstore/model_order.go | 1 - .../go/go-petstore/model_outer_composite.go | 1 - .../go/go-petstore/model_outer_enum.go | 1 - .../petstore/go/go-petstore/model_pet.go | 1 - .../go/go-petstore/model_read_only_first.go | 1 - .../petstore/go/go-petstore/model_return.go | 1 - .../go-petstore/model_special_model_name.go | 1 - .../petstore/go/go-petstore/model_tag.go | 1 - .../go-petstore/model_type_holder_default.go | 1 - .../go-petstore/model_type_holder_example.go | 1 - .../petstore/go/go-petstore/model_user.go | 1 - .../petstore/go/go-petstore/model_xml_item.go | 1 - .../model/AdditionalPropertiesClass.java | 2 - .../client/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../client/model/ArrayOfNumberOnly.java | 2 - .../openapitools/client/model/ArrayTest.java | 2 - .../client/model/Capitalization.java | 2 - .../org/openapitools/client/model/Cat.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ChildWithNullable.java | 2 - .../openapitools/client/model/ClassModel.java | 2 - .../org/openapitools/client/model/Client.java | 2 - .../client/model/DeprecatedObject.java | 2 - .../org/openapitools/client/model/Dog.java | 2 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumClass.java | 1 - .../openapitools/client/model/EnumTest.java | 2 - .../model/FakeBigDecimalMap200Response.java | 2 - .../client/model/FileSchemaTestClass.java | 2 - .../org/openapitools/client/model/Foo.java | 2 - .../client/model/FooGetDefaultResponse.java | 2 - .../openapitools/client/model/FormatTest.java | 2 - .../client/model/HasOnlyReadOnly.java | 2 - .../client/model/HealthCheckResult.java | 2 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../openapitools/client/model/ModelFile.java | 2 - .../openapitools/client/model/ModelList.java | 2 - .../client/model/ModelReturn.java | 2 - .../org/openapitools/client/model/Name.java | 2 - .../client/model/NullableClass.java | 2 - .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 2 - .../openapitools/client/model/OuterEnum.java | 1 - .../client/model/OuterEnumDefaultValue.java | 1 - .../client/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SingleRefType.java | 1 - .../client/model/SpecialModelName.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../model/AdditionalPropertiesClass.java | 2 - .../client/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../client/model/ArrayOfNumberOnly.java | 2 - .../openapitools/client/model/ArrayTest.java | 2 - .../client/model/Capitalization.java | 2 - .../org/openapitools/client/model/Cat.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ChildWithNullable.java | 2 - .../openapitools/client/model/ClassModel.java | 2 - .../org/openapitools/client/model/Client.java | 2 - .../client/model/DeprecatedObject.java | 2 - .../org/openapitools/client/model/Dog.java | 2 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumClass.java | 1 - .../openapitools/client/model/EnumTest.java | 2 - .../model/FakeBigDecimalMap200Response.java | 2 - .../client/model/FileSchemaTestClass.java | 2 - .../org/openapitools/client/model/Foo.java | 2 - .../client/model/FooGetDefaultResponse.java | 2 - .../openapitools/client/model/FormatTest.java | 2 - .../client/model/HasOnlyReadOnly.java | 2 - .../client/model/HealthCheckResult.java | 2 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../openapitools/client/model/ModelFile.java | 2 - .../openapitools/client/model/ModelList.java | 2 - .../client/model/ModelReturn.java | 2 - .../org/openapitools/client/model/Name.java | 2 - .../client/model/NullableClass.java | 2 - .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 2 - .../openapitools/client/model/OuterEnum.java | 1 - .../client/model/OuterEnumDefaultValue.java | 1 - .../client/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SingleRefType.java | 1 - .../client/model/SpecialModelName.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../model/AdditionalPropertiesClass.java | 2 - .../client/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../client/model/ArrayOfNumberOnly.java | 2 - .../openapitools/client/model/ArrayTest.java | 2 - .../client/model/Capitalization.java | 2 - .../org/openapitools/client/model/Cat.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ChildWithNullable.java | 2 - .../openapitools/client/model/ClassModel.java | 2 - .../org/openapitools/client/model/Client.java | 2 - .../client/model/DeprecatedObject.java | 2 - .../org/openapitools/client/model/Dog.java | 2 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumClass.java | 1 - .../openapitools/client/model/EnumTest.java | 2 - .../model/FakeBigDecimalMap200Response.java | 2 - .../client/model/FileSchemaTestClass.java | 2 - .../org/openapitools/client/model/Foo.java | 2 - .../client/model/FooGetDefaultResponse.java | 2 - .../openapitools/client/model/FormatTest.java | 2 - .../client/model/HasOnlyReadOnly.java | 2 - .../client/model/HealthCheckResult.java | 2 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../openapitools/client/model/ModelFile.java | 2 - .../openapitools/client/model/ModelList.java | 2 - .../client/model/ModelReturn.java | 2 - .../org/openapitools/client/model/Name.java | 2 - .../client/model/NullableClass.java | 2 - .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 2 - .../openapitools/client/model/OuterEnum.java | 1 - .../client/model/OuterEnumDefaultValue.java | 1 - .../client/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SingleRefType.java | 1 - .../client/model/SpecialModelName.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../model/AdditionalPropertiesClass.java | 2 - .../client/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../client/model/ArrayOfNumberOnly.java | 2 - .../openapitools/client/model/ArrayTest.java | 2 - .../client/model/Capitalization.java | 2 - .../org/openapitools/client/model/Cat.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ChildWithNullable.java | 2 - .../openapitools/client/model/ClassModel.java | 2 - .../org/openapitools/client/model/Client.java | 2 - .../client/model/DeprecatedObject.java | 2 - .../org/openapitools/client/model/Dog.java | 2 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumClass.java | 1 - .../openapitools/client/model/EnumTest.java | 2 - .../model/FakeBigDecimalMap200Response.java | 2 - .../client/model/FileSchemaTestClass.java | 2 - .../org/openapitools/client/model/Foo.java | 2 - .../client/model/FooGetDefaultResponse.java | 2 - .../openapitools/client/model/FormatTest.java | 2 - .../client/model/HasOnlyReadOnly.java | 2 - .../client/model/HealthCheckResult.java | 2 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../openapitools/client/model/ModelFile.java | 2 - .../openapitools/client/model/ModelList.java | 2 - .../client/model/ModelReturn.java | 2 - .../org/openapitools/client/model/Name.java | 2 - .../client/model/NullableClass.java | 2 - .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 2 - .../openapitools/client/model/OuterEnum.java | 1 - .../client/model/OuterEnumDefaultValue.java | 1 - .../client/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SingleRefType.java | 1 - .../client/model/SpecialModelName.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 1 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../java/org/openapitools/model/Animal.java | 3 +- .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../openapitools/model/ArrayOfNumberOnly.java | 1 - .../org/openapitools/model/ArrayTest.java | 1 - .../java/org/openapitools/model/BigCat.java | 1 - .../openapitools/model/Capitalization.java | 1 - .../main/java/org/openapitools/model/Cat.java | 1 - .../java/org/openapitools/model/Category.java | 1 - .../org/openapitools/model/ClassModel.java | 1 - .../main/java/org/openapitools/model/Dog.java | 1 - .../org/openapitools/model/EnumArrays.java | 1 - .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 1 - .../model/FileSchemaTestClass.java | 1 - .../org/openapitools/model/FormatTest.java | 1 - .../openapitools/model/HasOnlyReadOnly.java | 1 - .../java/org/openapitools/model/MapTest.java | 1 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../openapitools/model/Model200Response.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../org/openapitools/model/ModelClient.java | 1 - .../org/openapitools/model/ModelFile.java | 1 - .../org/openapitools/model/ModelList.java | 1 - .../org/openapitools/model/ModelReturn.java | 1 - .../java/org/openapitools/model/Name.java | 1 - .../org/openapitools/model/NumberOnly.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../openapitools/model/OuterComposite.java | 1 - .../org/openapitools/model/OuterEnum.java | 1 - .../main/java/org/openapitools/model/Pet.java | 1 - .../org/openapitools/model/ReadOnlyFirst.java | 1 - .../openapitools/model/SpecialModelName.java | 1 - .../main/java/org/openapitools/model/Tag.java | 1 - .../openapitools/model/TypeHolderDefault.java | 1 - .../openapitools/model/TypeHolderExample.java | 1 - .../java/org/openapitools/model/User.java | 1 - .../java/org/openapitools/model/XmlItem.java | 1 - .../org/openapitools/client/model/Animal.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../client/model/ChildWithNullable.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../openapitools/client/model/EnumTest.java | 1 - .../client/model/HealthCheckResult.java | 1 - .../client/model/NullableClass.java | 10 - .../client/model/ParentWithNullable.java | 2 - .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 68 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../org/openapitools/client/model/Animal.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/BigCat.java | 9 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../openapitools/client/model/EnumTest.java | 36 +- .../org/openapitools/client/model/File.java | 8 +- .../client/model/FileSchemaTestClass.java | 14 +- .../openapitools/client/model/FormatTest.java | 86 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../org/openapitools/client/model/Pet.java | 39 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 14 +- .../client/model/TypeHolderDefault.java | 32 +- .../client/model/TypeHolderExample.java | 38 +- .../org/openapitools/client/model/User.java | 50 +- .../openapitools/client/model/XmlItem.java | 176 +- .../model/AdditionalPropertiesClass.java | 1 - .../client/model/AllOfWithSingleRef.java | 1 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 2 - .../openapitools/client/model/Category.java | 1 - .../client/model/ChildWithNullable.java | 2 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../client/model/DeprecatedObject.java | 1 - .../org/openapitools/client/model/Dog.java | 2 - .../openapitools/client/model/EnumArrays.java | 1 - .../openapitools/client/model/EnumTest.java | 2 - .../model/FakeBigDecimalMap200Response.java | 1 - .../org/openapitools/client/model/File.java | 1 - .../client/model/FileSchemaTestClass.java | 1 - .../org/openapitools/client/model/Foo.java | 1 - .../client/model/FooGetDefaultResponse.java | 1 - .../openapitools/client/model/FormatTest.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../client/model/HealthCheckResult.java | 2 - .../openapitools/client/model/MapTest.java | 1 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../client/model/Model200Response.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 1 - .../client/model/NullableClass.java | 11 - .../openapitools/client/model/NumberOnly.java | 1 - .../model/ObjectWithDeprecatedFields.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/OuterComposite.java | 1 - .../model/OuterObjectWithEnumProperty.java | 1 - .../client/model/ParentWithNullable.java | 3 - .../org/openapitools/client/model/Pet.java | 1 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - ...neFreeformAdditionalPropertiesRequest.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../model/AdditionalPropertiesAnyType.java | 7 +- .../model/AdditionalPropertiesArray.java | 7 +- .../model/AdditionalPropertiesBoolean.java | 7 +- .../model/AdditionalPropertiesClass.java | 67 +- .../model/AdditionalPropertiesInteger.java | 7 +- .../model/AdditionalPropertiesNumber.java | 7 +- .../model/AdditionalPropertiesObject.java | 7 +- .../model/AdditionalPropertiesString.java | 7 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../org/openapitools/client/model/BigCat.java | 8 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 35 +- .../client/model/FileSchemaTestClass.java | 13 +- .../openapitools/client/model/FormatTest.java | 85 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- .../client/model/TypeHolderDefault.java | 31 +- .../client/model/TypeHolderExample.java | 37 +- .../org/openapitools/client/model/User.java | 49 +- .../openapitools/client/model/XmlItem.java | 175 +- .../docs/AdditionalPropertiesAnyType.md | 1 - .../docs/AdditionalPropertiesArray.md | 1 - .../docs/AdditionalPropertiesBoolean.md | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../docs/AdditionalPropertiesInteger.md | 1 - .../docs/AdditionalPropertiesNumber.md | 1 - .../docs/AdditionalPropertiesObject.md | 1 - .../docs/AdditionalPropertiesString.md | 1 - .../docs/Animal.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../docs/ArrayOfNumberOnly.md | 1 - .../docs/ArrayTest.md | 1 - .../docs/BigCat.md | 1 - .../docs/Capitalization.md | 1 - .../jersey2-java8-localdatetime/docs/Cat.md | 1 - .../docs/Category.md | 1 - .../docs/ClassModel.md | 1 - .../docs/Client.md | 1 - .../jersey2-java8-localdatetime/docs/Dog.md | 1 - .../docs/EnumArrays.md | 1 - .../docs/EnumClass.md | 1 - .../docs/EnumTest.md | 1 - .../docs/FileSchemaTestClass.md | 1 - .../docs/FormatTest.md | 1 - .../docs/HasOnlyReadOnly.md | 1 - .../docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../docs/Model200Response.md | 1 - .../docs/ModelApiResponse.md | 1 - .../docs/ModelFile.md | 1 - .../docs/ModelList.md | 1 - .../docs/ModelReturn.md | 1 - .../jersey2-java8-localdatetime/docs/Name.md | 1 - .../docs/NumberOnly.md | 1 - .../jersey2-java8-localdatetime/docs/Order.md | 1 - .../docs/OuterComposite.md | 1 - .../docs/OuterEnum.md | 1 - .../jersey2-java8-localdatetime/docs/Pet.md | 1 - .../docs/ReadOnlyFirst.md | 1 - .../docs/SpecialModelName.md | 1 - .../jersey2-java8-localdatetime/docs/Tag.md | 1 - .../docs/TypeHolderDefault.md | 1 - .../docs/TypeHolderExample.md | 1 - .../jersey2-java8-localdatetime/docs/User.md | 1 - .../docs/XmlItem.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 1 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../org/openapitools/client/model/Animal.java | 3 +- .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 4 +- .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 3 +- .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../org/openapitools/client/model/Dog.java | 3 +- .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/FileSchemaTestClass.java | 1 - .../openapitools/client/model/FormatTest.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../client/model/Model200Response.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 1 - .../openapitools/client/model/NumberOnly.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - .../client/model/TypeHolderDefault.java | 1 - .../client/model/TypeHolderExample.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../openapitools/client/model/XmlItem.java | 1 - .../docs/AdditionalPropertiesAnyType.md | 1 - .../docs/AdditionalPropertiesArray.md | 1 - .../docs/AdditionalPropertiesBoolean.md | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../docs/AdditionalPropertiesInteger.md | 1 - .../docs/AdditionalPropertiesNumber.md | 1 - .../docs/AdditionalPropertiesObject.md | 1 - .../docs/AdditionalPropertiesString.md | 1 - .../java/jersey2-java8/docs/Animal.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../jersey2-java8/docs/ArrayOfNumberOnly.md | 1 - .../java/jersey2-java8/docs/ArrayTest.md | 1 - .../java/jersey2-java8/docs/BigCat.md | 1 - .../java/jersey2-java8/docs/Capitalization.md | 1 - .../petstore/java/jersey2-java8/docs/Cat.md | 1 - .../java/jersey2-java8/docs/Category.md | 1 - .../java/jersey2-java8/docs/ClassModel.md | 1 - .../java/jersey2-java8/docs/Client.md | 1 - .../petstore/java/jersey2-java8/docs/Dog.md | 1 - .../java/jersey2-java8/docs/EnumArrays.md | 1 - .../java/jersey2-java8/docs/EnumClass.md | 1 - .../java/jersey2-java8/docs/EnumTest.md | 1 - .../jersey2-java8/docs/FileSchemaTestClass.md | 1 - .../java/jersey2-java8/docs/FormatTest.md | 1 - .../jersey2-java8/docs/HasOnlyReadOnly.md | 1 - .../java/jersey2-java8/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../jersey2-java8/docs/Model200Response.md | 1 - .../jersey2-java8/docs/ModelApiResponse.md | 1 - .../java/jersey2-java8/docs/ModelFile.md | 1 - .../java/jersey2-java8/docs/ModelList.md | 1 - .../java/jersey2-java8/docs/ModelReturn.md | 1 - .../petstore/java/jersey2-java8/docs/Name.md | 1 - .../java/jersey2-java8/docs/NumberOnly.md | 1 - .../petstore/java/jersey2-java8/docs/Order.md | 1 - .../java/jersey2-java8/docs/OuterComposite.md | 1 - .../java/jersey2-java8/docs/OuterEnum.md | 1 - .../petstore/java/jersey2-java8/docs/Pet.md | 1 - .../java/jersey2-java8/docs/ReadOnlyFirst.md | 1 - .../jersey2-java8/docs/SpecialModelName.md | 1 - .../petstore/java/jersey2-java8/docs/Tag.md | 1 - .../jersey2-java8/docs/TypeHolderDefault.md | 1 - .../jersey2-java8/docs/TypeHolderExample.md | 1 - .../petstore/java/jersey2-java8/docs/User.md | 1 - .../java/jersey2-java8/docs/XmlItem.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 1 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../org/openapitools/client/model/Animal.java | 3 +- .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 4 +- .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 3 +- .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../org/openapitools/client/model/Dog.java | 3 +- .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/FileSchemaTestClass.java | 1 - .../openapitools/client/model/FormatTest.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../client/model/Model200Response.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 1 - .../openapitools/client/model/NumberOnly.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - .../client/model/TypeHolderDefault.java | 1 - .../client/model/TypeHolderExample.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../openapitools/client/model/XmlItem.java | 1 - .../java/jersey3-oneOf/docs/PostRequest.md | 1 - .../java/jersey3-oneOf/docs/SchemaA.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/PostRequest.java | 2 +- .../openapitools/client/model/SchemaA.java | 8 +- .../jersey3/docs/AdditionalPropertiesClass.md | 1 - .../petstore/java/jersey3/docs/Animal.md | 1 - .../petstore/java/jersey3/docs/Apple.md | 1 - .../petstore/java/jersey3/docs/AppleReq.md | 1 - .../jersey3/docs/ArrayOfArrayOfNumberOnly.md | 1 - .../java/jersey3/docs/ArrayOfNumberOnly.md | 1 - .../petstore/java/jersey3/docs/ArrayTest.md | 1 - .../petstore/java/jersey3/docs/Banana.md | 1 - .../petstore/java/jersey3/docs/BananaReq.md | 1 - .../petstore/java/jersey3/docs/BasquePig.md | 1 - .../java/jersey3/docs/Capitalization.md | 1 - .../client/petstore/java/jersey3/docs/Cat.md | 1 - .../petstore/java/jersey3/docs/Category.md | 1 - .../petstore/java/jersey3/docs/ChildCat.md | 1 - .../petstore/java/jersey3/docs/ClassModel.md | 1 - .../petstore/java/jersey3/docs/Client.md | 1 - .../java/jersey3/docs/ComplexQuadrilateral.md | 1 - .../petstore/java/jersey3/docs/DanishPig.md | 1 - .../java/jersey3/docs/DeprecatedObject.md | 1 - .../client/petstore/java/jersey3/docs/Dog.md | 1 - .../petstore/java/jersey3/docs/Drawing.md | 1 - .../petstore/java/jersey3/docs/EnumArrays.md | 1 - .../petstore/java/jersey3/docs/EnumClass.md | 1 - .../petstore/java/jersey3/docs/EnumTest.md | 1 - .../java/jersey3/docs/EquilateralTriangle.md | 1 - .../java/jersey3/docs/FileSchemaTestClass.md | 1 - .../client/petstore/java/jersey3/docs/Foo.md | 1 - .../jersey3/docs/FooGetDefaultResponse.md | 1 - .../petstore/java/jersey3/docs/FormatTest.md | 1 - .../petstore/java/jersey3/docs/Fruit.md | 1 - .../petstore/java/jersey3/docs/FruitReq.md | 1 - .../petstore/java/jersey3/docs/GmFruit.md | 1 - .../java/jersey3/docs/GrandparentAnimal.md | 1 - .../java/jersey3/docs/HasOnlyReadOnly.md | 1 - .../java/jersey3/docs/HealthCheckResult.md | 1 - .../java/jersey3/docs/IsoscelesTriangle.md | 1 - .../petstore/java/jersey3/docs/Mammal.md | 1 - .../petstore/java/jersey3/docs/MammalAnyof.md | 1 - .../petstore/java/jersey3/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../java/jersey3/docs/Model200Response.md | 1 - .../java/jersey3/docs/ModelApiResponse.md | 1 - .../petstore/java/jersey3/docs/ModelFile.md | 1 - .../petstore/java/jersey3/docs/ModelList.md | 1 - .../petstore/java/jersey3/docs/ModelReturn.md | 1 - .../client/petstore/java/jersey3/docs/Name.md | 1 - .../java/jersey3/docs/NullableClass.md | 1 - .../java/jersey3/docs/NullableShape.md | 1 - .../petstore/java/jersey3/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../petstore/java/jersey3/docs/Order.md | 1 - .../java/jersey3/docs/OuterComposite.md | 1 - .../petstore/java/jersey3/docs/OuterEnum.md | 1 - .../jersey3/docs/OuterEnumDefaultValue.md | 1 - .../java/jersey3/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../petstore/java/jersey3/docs/ParentPet.md | 1 - .../client/petstore/java/jersey3/docs/Pet.md | 1 - .../client/petstore/java/jersey3/docs/Pig.md | 1 - .../java/jersey3/docs/Quadrilateral.md | 1 - .../jersey3/docs/QuadrilateralInterface.md | 1 - .../java/jersey3/docs/ReadOnlyFirst.md | 1 - .../java/jersey3/docs/ScaleneTriangle.md | 1 - .../petstore/java/jersey3/docs/Shape.md | 1 - .../java/jersey3/docs/ShapeInterface.md | 1 - .../petstore/java/jersey3/docs/ShapeOrNull.md | 1 - .../java/jersey3/docs/SimpleQuadrilateral.md | 1 - .../java/jersey3/docs/SpecialModelName.md | 1 - .../client/petstore/java/jersey3/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../petstore/java/jersey3/docs/Triangle.md | 1 - .../java/jersey3/docs/TriangleInterface.md | 1 - .../client/petstore/java/jersey3/docs/User.md | 1 - .../petstore/java/jersey3/docs/Whale.md | 1 - .../petstore/java/jersey3/docs/Zebra.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesClass.java | 11 - .../org/openapitools/client/model/Animal.java | 4 - .../org/openapitools/client/model/Apple.java | 3 - .../openapitools/client/model/AppleReq.java | 3 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../client/model/ArrayOfNumberOnly.java | 2 - .../openapitools/client/model/ArrayTest.java | 4 - .../org/openapitools/client/model/Banana.java | 2 - .../openapitools/client/model/BananaReq.java | 3 - .../openapitools/client/model/BasquePig.java | 2 - .../client/model/Capitalization.java | 7 - .../org/openapitools/client/model/Cat.java | 3 - .../openapitools/client/model/Category.java | 3 - .../openapitools/client/model/ChildCat.java | 5 +- .../openapitools/client/model/ClassModel.java | 2 - .../org/openapitools/client/model/Client.java | 2 - .../client/model/ComplexQuadrilateral.java | 3 - .../openapitools/client/model/DanishPig.java | 2 - .../client/model/DeprecatedObject.java | 2 - .../org/openapitools/client/model/Dog.java | 3 - .../openapitools/client/model/Drawing.java | 9 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 12 - .../client/model/EquilateralTriangle.java | 3 - .../client/model/FileSchemaTestClass.java | 3 - .../org/openapitools/client/model/Foo.java | 2 - .../client/model/FooGetDefaultResponse.java | 2 - .../openapitools/client/model/FormatTest.java | 17 - .../org/openapitools/client/model/Fruit.java | 2 +- .../openapitools/client/model/FruitReq.java | 2 +- .../openapitools/client/model/GmFruit.java | 2 +- .../client/model/GrandparentAnimal.java | 3 - .../client/model/HasOnlyReadOnly.java | 3 - .../client/model/HealthCheckResult.java | 4 - .../client/model/IsoscelesTriangle.java | 3 - .../org/openapitools/client/model/Mammal.java | 2 +- .../client/model/MammalAnyof.java | 2 +- .../openapitools/client/model/MapTest.java | 5 - ...ropertiesAndAdditionalPropertiesClass.java | 4 - .../client/model/Model200Response.java | 3 - .../client/model/ModelApiResponse.java | 4 - .../openapitools/client/model/ModelFile.java | 2 - .../openapitools/client/model/ModelList.java | 2 - .../client/model/ModelReturn.java | 2 - .../org/openapitools/client/model/Name.java | 5 - .../client/model/NullableClass.java | 33 - .../client/model/NullableShape.java | 2 +- .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 5 - .../org/openapitools/client/model/Order.java | 7 - .../client/model/OuterComposite.java | 4 - .../openapitools/client/model/ParentPet.java | 2 - .../org/openapitools/client/model/Pet.java | 7 - .../org/openapitools/client/model/Pig.java | 2 +- .../client/model/Quadrilateral.java | 2 +- .../client/model/QuadrilateralInterface.java | 2 - .../client/model/ReadOnlyFirst.java | 3 - .../client/model/ScaleneTriangle.java | 3 - .../org/openapitools/client/model/Shape.java | 2 +- .../client/model/ShapeInterface.java | 2 - .../client/model/ShapeOrNull.java | 2 +- .../client/model/SimpleQuadrilateral.java | 3 - .../client/model/SpecialModelName.java | 3 - .../org/openapitools/client/model/Tag.java | 3 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../openapitools/client/model/Triangle.java | 2 +- .../client/model/TriangleInterface.java | 2 - .../org/openapitools/client/model/User.java | 19 - .../org/openapitools/client/model/Whale.java | 4 - .../org/openapitools/client/model/Zebra.java | 3 - .../openapitools/client/model/Category.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../org/openapitools/client/model/Cat.java | 2 - .../org/openapitools/client/model/Dog.java | 2 - .../org/openapitools/client/model/Status.java | 1 - .../openapitools/client/model/Category.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../openapitools/client/model/Category.java | 2 - .../client/model/ModelApiResponse.java | 2 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 2 - .../org/openapitools/client/model/User.java | 2 - .../docs/AdditionalPropertiesClass.md | 1 - .../petstore/java/native-async/docs/Animal.md | 1 - .../petstore/java/native-async/docs/Apple.md | 1 - .../java/native-async/docs/AppleReq.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../native-async/docs/ArrayOfNumberOnly.md | 1 - .../java/native-async/docs/ArrayTest.md | 1 - .../petstore/java/native-async/docs/Banana.md | 1 - .../java/native-async/docs/BananaReq.md | 1 - .../java/native-async/docs/BasquePig.md | 1 - .../java/native-async/docs/Capitalization.md | 1 - .../petstore/java/native-async/docs/Cat.md | 1 - .../java/native-async/docs/Category.md | 1 - .../java/native-async/docs/ChildCat.md | 1 - .../java/native-async/docs/ClassModel.md | 1 - .../petstore/java/native-async/docs/Client.md | 1 - .../native-async/docs/ComplexQuadrilateral.md | 1 - .../java/native-async/docs/DanishPig.md | 1 - .../native-async/docs/DeprecatedObject.md | 1 - .../petstore/java/native-async/docs/Dog.md | 1 - .../java/native-async/docs/Drawing.md | 1 - .../java/native-async/docs/EnumArrays.md | 1 - .../java/native-async/docs/EnumClass.md | 1 - .../java/native-async/docs/EnumTest.md | 1 - .../native-async/docs/EquilateralTriangle.md | 1 - .../docs/FakeBigDecimalMap200Response.md | 1 - .../native-async/docs/FileSchemaTestClass.md | 1 - .../petstore/java/native-async/docs/Foo.md | 1 - .../docs/FooGetDefaultResponse.md | 1 - .../java/native-async/docs/FormatTest.md | 1 - .../petstore/java/native-async/docs/Fruit.md | 1 - .../java/native-async/docs/FruitReq.md | 1 - .../java/native-async/docs/GmFruit.md | 1 - .../native-async/docs/GrandparentAnimal.md | 1 - .../java/native-async/docs/HasOnlyReadOnly.md | 1 - .../native-async/docs/HealthCheckResult.md | 1 - .../native-async/docs/IsoscelesTriangle.md | 1 - .../petstore/java/native-async/docs/Mammal.md | 1 - .../java/native-async/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../native-async/docs/Model200Response.md | 1 - .../native-async/docs/ModelApiResponse.md | 1 - .../java/native-async/docs/ModelFile.md | 1 - .../java/native-async/docs/ModelList.md | 1 - .../java/native-async/docs/ModelReturn.md | 1 - .../petstore/java/native-async/docs/Name.md | 1 - .../java/native-async/docs/NullableClass.md | 1 - .../java/native-async/docs/NullableShape.md | 1 - .../java/native-async/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../petstore/java/native-async/docs/Order.md | 1 - .../java/native-async/docs/OuterComposite.md | 1 - .../java/native-async/docs/OuterEnum.md | 1 - .../docs/OuterEnumDefaultValue.md | 1 - .../native-async/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../java/native-async/docs/ParentPet.md | 1 - .../petstore/java/native-async/docs/Pet.md | 1 - .../petstore/java/native-async/docs/Pig.md | 1 - .../java/native-async/docs/Quadrilateral.md | 1 - .../docs/QuadrilateralInterface.md | 1 - .../java/native-async/docs/ReadOnlyFirst.md | 1 - .../java/native-async/docs/ScaleneTriangle.md | 1 - .../petstore/java/native-async/docs/Shape.md | 1 - .../java/native-async/docs/ShapeInterface.md | 1 - .../java/native-async/docs/ShapeOrNull.md | 1 - .../native-async/docs/SimpleQuadrilateral.md | 1 - .../native-async/docs/SpecialModelName.md | 1 - .../petstore/java/native-async/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../java/native-async/docs/Triangle.md | 1 - .../native-async/docs/TriangleInterface.md | 1 - .../petstore/java/native-async/docs/User.md | 1 - .../petstore/java/native-async/docs/Whale.md | 1 - .../petstore/java/native-async/docs/Zebra.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesClass.java | 48 +- .../org/openapitools/client/model/Animal.java | 14 +- .../org/openapitools/client/model/Apple.java | 14 +- .../openapitools/client/model/AppleReq.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/Banana.java | 8 +- .../openapitools/client/model/BananaReq.java | 14 +- .../openapitools/client/model/BasquePig.java | 8 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ChildCat.java | 14 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../client/model/ComplexQuadrilateral.java | 14 +- .../openapitools/client/model/DanishPig.java | 8 +- .../client/model/DeprecatedObject.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/Drawing.java | 24 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../openapitools/client/model/EnumTest.java | 59 +- .../client/model/EquilateralTriangle.java | 14 +- .../model/FakeBigDecimalMap200Response.java | 14 +- .../client/model/FileSchemaTestClass.java | 14 +- .../org/openapitools/client/model/Foo.java | 8 +- .../client/model/FooGetDefaultResponse.java | 8 +- .../openapitools/client/model/FormatTest.java | 98 +- .../org/openapitools/client/model/Fruit.java | 2 +- .../openapitools/client/model/FruitReq.java | 2 +- .../openapitools/client/model/GmFruit.java | 2 +- .../client/model/GrandparentAnimal.java | 8 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../client/model/HealthCheckResult.java | 6 +- .../client/model/IsoscelesTriangle.java | 14 +- .../org/openapitools/client/model/Mammal.java | 2 +- .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../client/model/NullableClass.java | 54 +- .../client/model/NullableShape.java | 2 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../model/ObjectWithDeprecatedFields.java | 26 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../openapitools/client/model/ParentPet.java | 2 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Pig.java | 2 +- .../client/model/Quadrilateral.java | 2 +- .../client/model/QuadrilateralInterface.java | 8 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/ScaleneTriangle.java | 14 +- .../org/openapitools/client/model/Shape.java | 2 +- .../client/model/ShapeInterface.java | 8 +- .../client/model/ShapeOrNull.java | 2 +- .../client/model/SimpleQuadrilateral.java | 14 +- .../client/model/SpecialModelName.java | 14 +- .../org/openapitools/client/model/Tag.java | 14 +- ...neFreeformAdditionalPropertiesRequest.java | 8 +- .../openapitools/client/model/Triangle.java | 2 +- .../client/model/TriangleInterface.java | 8 +- .../org/openapitools/client/model/User.java | 68 +- .../org/openapitools/client/model/Whale.java | 20 +- .../org/openapitools/client/model/Zebra.java | 15 +- .../java/native-jakarta/docs/Category.md | 1 - .../native-jakarta/docs/ModelApiResponse.md | 1 - .../java/native-jakarta/docs/Order.md | 1 - .../petstore/java/native-jakarta/docs/Pet.md | 1 - .../petstore/java/native-jakarta/docs/Tag.md | 1 - .../petstore/java/native-jakarta/docs/User.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../native/docs/AdditionalPropertiesClass.md | 1 - .../petstore/java/native/docs/Animal.md | 1 - .../client/petstore/java/native/docs/Apple.md | 1 - .../petstore/java/native/docs/AppleReq.md | 1 - .../native/docs/ArrayOfArrayOfNumberOnly.md | 1 - .../java/native/docs/ArrayOfNumberOnly.md | 1 - .../petstore/java/native/docs/ArrayTest.md | 1 - .../petstore/java/native/docs/Banana.md | 1 - .../petstore/java/native/docs/BananaReq.md | 1 - .../petstore/java/native/docs/BasquePig.md | 1 - .../java/native/docs/Capitalization.md | 1 - .../client/petstore/java/native/docs/Cat.md | 1 - .../petstore/java/native/docs/Category.md | 1 - .../petstore/java/native/docs/ChildCat.md | 1 - .../petstore/java/native/docs/ClassModel.md | 1 - .../petstore/java/native/docs/Client.md | 1 - .../java/native/docs/ComplexQuadrilateral.md | 1 - .../petstore/java/native/docs/DanishPig.md | 1 - .../java/native/docs/DeprecatedObject.md | 1 - .../client/petstore/java/native/docs/Dog.md | 1 - .../petstore/java/native/docs/Drawing.md | 1 - .../petstore/java/native/docs/EnumArrays.md | 1 - .../petstore/java/native/docs/EnumClass.md | 1 - .../petstore/java/native/docs/EnumTest.md | 1 - .../java/native/docs/EquilateralTriangle.md | 1 - .../docs/FakeBigDecimalMap200Response.md | 1 - .../java/native/docs/FileSchemaTestClass.md | 1 - .../client/petstore/java/native/docs/Foo.md | 1 - .../java/native/docs/FooGetDefaultResponse.md | 1 - .../petstore/java/native/docs/FormatTest.md | 1 - .../client/petstore/java/native/docs/Fruit.md | 1 - .../petstore/java/native/docs/FruitReq.md | 1 - .../petstore/java/native/docs/GmFruit.md | 1 - .../java/native/docs/GrandparentAnimal.md | 1 - .../java/native/docs/HasOnlyReadOnly.md | 1 - .../java/native/docs/HealthCheckResult.md | 1 - .../java/native/docs/IsoscelesTriangle.md | 1 - .../petstore/java/native/docs/Mammal.md | 1 - .../petstore/java/native/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../java/native/docs/Model200Response.md | 1 - .../java/native/docs/ModelApiResponse.md | 1 - .../petstore/java/native/docs/ModelFile.md | 1 - .../petstore/java/native/docs/ModelList.md | 1 - .../petstore/java/native/docs/ModelReturn.md | 1 - .../client/petstore/java/native/docs/Name.md | 1 - .../java/native/docs/NullableClass.md | 1 - .../java/native/docs/NullableShape.md | 1 - .../petstore/java/native/docs/NumberOnly.md | 1 - .../native/docs/ObjectWithDeprecatedFields.md | 1 - .../client/petstore/java/native/docs/Order.md | 1 - .../java/native/docs/OuterComposite.md | 1 - .../petstore/java/native/docs/OuterEnum.md | 1 - .../java/native/docs/OuterEnumDefaultValue.md | 1 - .../java/native/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../petstore/java/native/docs/ParentPet.md | 1 - .../client/petstore/java/native/docs/Pet.md | 1 - .../client/petstore/java/native/docs/Pig.md | 1 - .../java/native/docs/Quadrilateral.md | 1 - .../native/docs/QuadrilateralInterface.md | 1 - .../java/native/docs/ReadOnlyFirst.md | 1 - .../java/native/docs/ScaleneTriangle.md | 1 - .../client/petstore/java/native/docs/Shape.md | 1 - .../java/native/docs/ShapeInterface.md | 1 - .../petstore/java/native/docs/ShapeOrNull.md | 1 - .../java/native/docs/SimpleQuadrilateral.md | 1 - .../java/native/docs/SpecialModelName.md | 1 - .../client/petstore/java/native/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../petstore/java/native/docs/Triangle.md | 1 - .../java/native/docs/TriangleInterface.md | 1 - .../client/petstore/java/native/docs/User.md | 1 - .../client/petstore/java/native/docs/Whale.md | 1 - .../client/petstore/java/native/docs/Zebra.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesClass.java | 48 +- .../org/openapitools/client/model/Animal.java | 15 +- .../org/openapitools/client/model/Apple.java | 14 +- .../openapitools/client/model/AppleReq.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/Banana.java | 8 +- .../openapitools/client/model/BananaReq.java | 14 +- .../openapitools/client/model/BasquePig.java | 8 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 9 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ChildCat.java | 16 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../client/model/ComplexQuadrilateral.java | 14 +- .../openapitools/client/model/DanishPig.java | 8 +- .../client/model/DeprecatedObject.java | 8 +- .../org/openapitools/client/model/Dog.java | 9 +- .../openapitools/client/model/Drawing.java | 24 +- .../openapitools/client/model/EnumArrays.java | 14 +- .../openapitools/client/model/EnumTest.java | 54 +- .../client/model/EquilateralTriangle.java | 14 +- .../model/FakeBigDecimalMap200Response.java | 14 +- .../client/model/FileSchemaTestClass.java | 14 +- .../org/openapitools/client/model/Foo.java | 8 +- .../client/model/FooGetDefaultResponse.java | 8 +- .../openapitools/client/model/FormatTest.java | 98 +- .../org/openapitools/client/model/Fruit.java | 2 +- .../openapitools/client/model/FruitReq.java | 2 +- .../openapitools/client/model/GmFruit.java | 2 +- .../client/model/GrandparentAnimal.java | 9 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../client/model/HealthCheckResult.java | 6 +- .../client/model/IsoscelesTriangle.java | 14 +- .../org/openapitools/client/model/Mammal.java | 2 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../client/model/NullableClass.java | 54 +- .../client/model/NullableShape.java | 2 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../model/ObjectWithDeprecatedFields.java | 26 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 20 +- .../openapitools/client/model/ParentPet.java | 3 - .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Pig.java | 2 +- .../client/model/Quadrilateral.java | 2 +- .../client/model/QuadrilateralInterface.java | 8 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/ScaleneTriangle.java | 14 +- .../org/openapitools/client/model/Shape.java | 2 +- .../client/model/ShapeInterface.java | 8 +- .../client/model/ShapeOrNull.java | 2 +- .../client/model/SimpleQuadrilateral.java | 14 +- .../client/model/SpecialModelName.java | 14 +- .../org/openapitools/client/model/Tag.java | 14 +- ...neFreeformAdditionalPropertiesRequest.java | 8 +- .../openapitools/client/model/Triangle.java | 2 +- .../client/model/TriangleInterface.java | 8 +- .../org/openapitools/client/model/User.java | 68 +- .../org/openapitools/client/model/Whale.java | 20 +- .../org/openapitools/client/model/Zebra.java | 14 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/AllOfSimpleModel.java | 8 +- .../org/openapitools/client/model/Animal.java | 14 +- .../client/model/AnyTypeTest.java | 20 +- .../client/model/ArrayOfSameRef.java | 20 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../client/model/CircularReference1.java | 8 +- .../client/model/CircularReference2.java | 8 +- .../client/model/CircularReference3.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../client/model/ModelApiResponse.java | 20 +- .../client/model/OneOfStringOrInt.java | 1 + .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- ...evelParameterOneofRefToOneofParameter.java | 1 + ...oRefParameterAnyofRefToAnyofParameter.java | 1 + .../SelfReferenceAdditionalProperties.java | 8 +- .../client/model/SelfReferenceAnyOf.java | 1 + .../client/model/SelfReferenceOneOf.java | 1 + .../model/SimpleModelWithArrayProperty.java | 8 +- .../client/model/StringOrInt.java | 1 + .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 68 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../org/openapitools/client/model/Animal.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/BigCat.java | 9 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../openapitools/client/model/EnumTest.java | 36 +- .../client/model/FileSchemaTestClass.java | 14 +- .../openapitools/client/model/FormatTest.java | 86 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../org/openapitools/client/model/Pet.java | 39 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 14 +- .../client/model/TypeHolderDefault.java | 32 +- .../client/model/TypeHolderExample.java | 38 +- .../org/openapitools/client/model/User.java | 50 +- .../openapitools/client/model/XmlItem.java | 176 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../model/PetWithRequiredNullableCases1.java | 39 +- .../model/PetWithRequiredNullableCases2.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 68 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../org/openapitools/client/model/Animal.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/BigCat.java | 9 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../openapitools/client/model/EnumTest.java | 36 +- .../client/model/FileSchemaTestClass.java | 14 +- .../openapitools/client/model/FormatTest.java | 86 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../org/openapitools/client/model/Pet.java | 39 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 14 +- .../client/model/TypeHolderDefault.java | 32 +- .../client/model/TypeHolderExample.java | 38 +- .../org/openapitools/client/model/User.java | 50 +- .../openapitools/client/model/XmlItem.java | 176 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../org/openapitools/client/model/Order.java | 39 +- .../org/openapitools/client/model/Pet.java | 39 +- .../org/openapitools/client/model/Tag.java | 14 +- .../org/openapitools/client/model/User.java | 50 +- .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesClass.java | 50 +- .../client/model/AllOfModelArrayAnyOf.java | 26 +- .../AllOfModelArrayAnyOfAllOfAttributes.java | 8 +- .../AllOfModelArrayAnyOfAllOfAttributesC.java | 1 + ...OfModelArrayAnyOfAllOfLinkListColumn1.java | 8 +- ...elArrayAnyOfAllOfLinkListColumn1Value.java | 1 + .../org/openapitools/client/model/Animal.java | 14 +- .../org/openapitools/client/model/Apple.java | 14 +- .../openapitools/client/model/AppleReq.java | 14 +- .../openapitools/client/model/ArrayAnyOf.java | 1 + .../client/model/ArrayDefault.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfInlineAllOf.java | 20 +- ...InlineAllOfArrayAllofDogPropertyInner.java | 14 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayOneOf.java | 1 + .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/Banana.java | 8 +- .../openapitools/client/model/BananaReq.java | 14 +- .../openapitools/client/model/BasquePig.java | 8 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../client/model/ComplexQuadrilateral.java | 14 +- .../openapitools/client/model/DanishPig.java | 8 +- .../client/model/DeprecatedObject.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/Drawing.java | 26 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../client/model/EnumStringDiscriminator.java | 9 +- .../openapitools/client/model/EnumTest.java | 61 +- .../client/model/EquilateralTriangle.java | 14 +- ...akeAnyOfWIthSameErasureGet200Response.java | 1 + ...akeOneOfWIthSameErasureGet200Response.java | 1 + .../model/FakeRefParameterPetIdParameter.java | 1 + .../client/model/FileSchemaTestClass.java | 14 +- .../org/openapitools/client/model/Foo.java | 8 +- .../client/model/FooGetDefaultResponse.java | 8 +- .../openapitools/client/model/FormatTest.java | 104 +- .../client/model/FreeFormObjectTestClass.java | 14 +- .../FreeFormObjectTestClassProperties.java | 1 + .../org/openapitools/client/model/Fruit.java | 1 + .../openapitools/client/model/FruitReq.java | 1 + .../openapitools/client/model/GmFruit.java | 1 + .../client/model/GrandparentAnimal.java | 8 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../client/model/HealthCheckResult.java | 8 +- .../client/model/IsoscelesTriangle.java | 14 +- .../org/openapitools/client/model/Mammal.java | 1 + .../client/model/MammalAnyof.java | 1 + .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../model/ModelWithOneOfAnyOfProperties.java | 14 +- .../org/openapitools/client/model/Name.java | 26 +- .../org/openapitools/client/model/NewPet.java | 57 +- .../model/NewPetCategoryInlineAllof.java | 20 +- ...etCategoryInlineAllofAllOfCategoryTag.java | 14 +- .../client/model/NullableClass.java | 74 +- .../client/model/NullableShape.java | 1 + .../openapitools/client/model/NumberOnly.java | 8 +- .../model/ObjectWithDeprecatedFields.java | 26 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../openapitools/client/model/ParentPet.java | 2 +- .../org/openapitools/client/model/Pet.java | 39 +- .../client/model/PetComposition.java | 39 +- .../org/openapitools/client/model/PetRef.java | 39 +- .../client/model/PetUsingAllOf.java | 39 +- .../client/model/PetWithRequiredTags.java | 39 +- .../org/openapitools/client/model/Pig.java | 1 + .../client/model/PropertyNameCollision.java | 20 +- .../client/model/Quadrilateral.java | 1 + .../client/model/QuadrilateralInterface.java | 8 +- .../client/model/ReadOnlyFirst.java | 14 +- .../org/openapitools/client/model/Scalar.java | 1 + .../client/model/ScalarAnyOf.java | 1 + .../client/model/ScaleneTriangle.java | 14 +- .../org/openapitools/client/model/Shape.java | 1 + .../client/model/ShapeInterface.java | 8 +- .../client/model/ShapeOrNull.java | 1 + .../client/model/SimpleQuadrilateral.java | 14 +- .../client/model/SpecialModelName.java | 14 +- .../org/openapitools/client/model/Tag.java | 14 +- ...neFreeformAdditionalPropertiesRequest.java | 8 +- .../openapitools/client/model/Triangle.java | 1 + .../client/model/TriangleInterface.java | 8 +- .../org/openapitools/client/model/User.java | 74 +- .../org/openapitools/client/model/Value.java | 1 + .../openapitools/client/model/Variable.java | 14 +- .../org/openapitools/client/model/Whale.java | 20 +- .../org/openapitools/client/model/Zebra.java | 15 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 78 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../org/openapitools/client/model/Animal.java | 15 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 22 +- .../org/openapitools/client/model/BigCat.java | 9 +- .../client/model/Capitalization.java | 43 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 15 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 17 +- .../openapitools/client/model/EnumTest.java | 40 +- .../client/model/FileSchemaTestClass.java | 15 +- .../openapitools/client/model/FormatTest.java | 103 +- .../client/model/HasOnlyReadOnly.java | 15 +- .../openapitools/client/model/MapTest.java | 30 +- ...ropertiesAndAdditionalPropertiesClass.java | 22 +- .../client/model/Model200Response.java | 15 +- .../client/model/ModelApiResponse.java | 22 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 29 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 44 +- .../client/model/OuterComposite.java | 22 +- .../org/openapitools/client/model/Pet.java | 44 +- .../client/model/ReadOnlyFirst.java | 15 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 15 +- .../client/model/TypeHolderDefault.java | 36 +- .../client/model/TypeHolderExample.java | 43 +- .../org/openapitools/client/model/User.java | 57 +- .../openapitools/client/model/XmlItem.java | 204 +- .../model/AdditionalPropertiesAnyType.java | 6 +- .../model/AdditionalPropertiesArray.java | 6 +- .../model/AdditionalPropertiesBoolean.java | 6 +- .../model/AdditionalPropertiesClass.java | 66 +- .../model/AdditionalPropertiesInteger.java | 6 +- .../model/AdditionalPropertiesNumber.java | 6 +- .../model/AdditionalPropertiesObject.java | 6 +- .../model/AdditionalPropertiesString.java | 6 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../org/openapitools/client/model/BigCat.java | 7 +- .../client/model/Capitalization.java | 31 +- .../org/openapitools/client/model/Cat.java | 6 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/ClassModel.java | 6 +- .../org/openapitools/client/model/Client.java | 6 +- .../org/openapitools/client/model/Dog.java | 6 +- .../openapitools/client/model/EnumArrays.java | 13 +- .../openapitools/client/model/EnumTest.java | 34 +- .../client/model/FileSchemaTestClass.java | 15 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 11 +- .../openapitools/client/model/MapTest.java | 24 +- ...ropertiesAndAdditionalPropertiesClass.java | 22 +- .../client/model/Model200Response.java | 11 +- .../client/model/ModelApiResponse.java | 16 +- .../openapitools/client/model/ModelFile.java | 6 +- .../openapitools/client/model/ModelList.java | 6 +- .../client/model/ModelReturn.java | 6 +- .../org/openapitools/client/model/Name.java | 23 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 34 +- .../client/model/OuterComposite.java | 18 +- .../org/openapitools/client/model/Pet.java | 40 +- .../client/model/ReadOnlyFirst.java | 11 +- .../client/model/SpecialModelName.java | 6 +- .../org/openapitools/client/model/Tag.java | 11 +- .../client/model/TypeHolderDefault.java | 36 +- .../client/model/TypeHolderExample.java | 43 +- .../org/openapitools/client/model/User.java | 41 +- .../openapitools/client/model/XmlItem.java | 156 +- .../client/model/ByteArrayObject.java | 33 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../org/openapitools/client/model/Order.java | 38 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Tag.java | 13 +- .../org/openapitools/client/model/User.java | 49 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../org/openapitools/client/model/Order.java | 38 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Tag.java | 13 +- .../org/openapitools/client/model/User.java | 49 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../org/openapitools/client/model/Order.java | 38 +- .../org/openapitools/client/model/Pet.java | 38 +- .../org/openapitools/client/model/Tag.java | 13 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 14 +- .../client/model/AllOfWithSingleRef.java | 14 +- .../org/openapitools/client/model/Animal.java | 14 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 20 +- .../client/model/Capitalization.java | 38 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 14 +- .../client/model/ChildWithNullable.java | 8 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../client/model/DeprecatedObject.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 16 +- .../openapitools/client/model/EnumTest.java | 55 +- .../model/FakeBigDecimalMap200Response.java | 14 +- .../client/model/FileSchemaTestClass.java | 14 +- .../org/openapitools/client/model/Foo.java | 8 +- .../client/model/FooGetDefaultResponse.java | 8 +- .../openapitools/client/model/FormatTest.java | 98 +- .../client/model/HasOnlyReadOnly.java | 14 +- .../client/model/HealthCheckResult.java | 9 +- .../openapitools/client/model/MapTest.java | 27 +- ...ropertiesAndAdditionalPropertiesClass.java | 20 +- .../client/model/Model200Response.java | 14 +- .../client/model/ModelApiResponse.java | 20 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 26 +- .../client/model/NullableClass.java | 84 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../model/ObjectWithDeprecatedFields.java | 26 +- .../org/openapitools/client/model/Order.java | 39 +- .../client/model/OuterComposite.java | 20 +- .../model/OuterObjectWithEnumProperty.java | 8 +- .../client/model/ParentWithNullable.java | 16 +- .../org/openapitools/client/model/Pet.java | 39 +- .../client/model/ReadOnlyFirst.java | 14 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 14 +- ...neFreeformAdditionalPropertiesRequest.java | 8 +- .../org/openapitools/client/model/User.java | 50 +- .../model/AdditionalPropertiesClass.java | 120 +- .../client/model/AllOfWithSingleRef.java | 120 +- .../org/openapitools/client/model/Animal.java | 120 +- .../model/ArrayOfArrayOfNumberOnly.java | 104 +- .../client/model/ArrayOfNumberOnly.java | 104 +- .../openapitools/client/model/ArrayTest.java | 136 +- .../client/model/Capitalization.java | 184 +- .../org/openapitools/client/model/Cat.java | 132 +- .../openapitools/client/model/Category.java | 120 +- .../client/model/ChildWithNullable.java | 140 +- .../openapitools/client/model/ClassModel.java | 104 +- .../org/openapitools/client/model/Client.java | 104 +- .../client/model/DeprecatedObject.java | 104 +- .../org/openapitools/client/model/Dog.java | 132 +- .../openapitools/client/model/EnumArrays.java | 122 +- .../openapitools/client/model/EnumTest.java | 229 +- .../model/FakeBigDecimalMap200Response.java | 120 +- .../client/model/FileSchemaTestClass.java | 120 +- .../org/openapitools/client/model/Foo.java | 104 +- .../client/model/FooGetDefaultResponse.java | 104 +- .../openapitools/client/model/FormatTest.java | 344 +- .../client/model/HasOnlyReadOnly.java | 120 +- .../client/model/HealthCheckResult.java | 113 +- .../openapitools/client/model/MapTest.java | 153 +- ...ropertiesAndAdditionalPropertiesClass.java | 136 +- .../client/model/Model200Response.java | 120 +- .../client/model/ModelApiResponse.java | 136 +- .../openapitools/client/model/ModelFile.java | 104 +- .../openapitools/client/model/ModelList.java | 104 +- .../client/model/ModelReturn.java | 104 +- .../org/openapitools/client/model/Name.java | 152 +- .../client/model/NullableClass.java | 370 +- .../openapitools/client/model/NumberOnly.java | 104 +- .../model/ObjectWithDeprecatedFields.java | 152 +- .../org/openapitools/client/model/Order.java | 185 +- .../client/model/OuterComposite.java | 136 +- .../model/OuterObjectWithEnumProperty.java | 104 +- .../client/model/ParentWithNullable.java | 130 +- .../org/openapitools/client/model/Pet.java | 185 +- .../client/model/ReadOnlyFirst.java | 120 +- .../client/model/SpecialModelName.java | 104 +- .../org/openapitools/client/model/Tag.java | 120 +- ...neFreeformAdditionalPropertiesRequest.java | 104 +- .../org/openapitools/client/model/User.java | 216 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 78 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../org/openapitools/client/model/Animal.java | 15 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../client/model/ArrayOfNumberOnly.java | 8 +- .../openapitools/client/model/ArrayTest.java | 22 +- .../org/openapitools/client/model/BigCat.java | 9 +- .../client/model/Capitalization.java | 43 +- .../org/openapitools/client/model/Cat.java | 8 +- .../openapitools/client/model/Category.java | 15 +- .../openapitools/client/model/ClassModel.java | 8 +- .../org/openapitools/client/model/Client.java | 8 +- .../org/openapitools/client/model/Dog.java | 8 +- .../openapitools/client/model/EnumArrays.java | 17 +- .../openapitools/client/model/EnumTest.java | 40 +- .../client/model/FileSchemaTestClass.java | 15 +- .../openapitools/client/model/FormatTest.java | 103 +- .../client/model/HasOnlyReadOnly.java | 15 +- .../openapitools/client/model/MapTest.java | 30 +- ...ropertiesAndAdditionalPropertiesClass.java | 22 +- .../client/model/Model200Response.java | 15 +- .../client/model/ModelApiResponse.java | 22 +- .../openapitools/client/model/ModelFile.java | 8 +- .../openapitools/client/model/ModelList.java | 8 +- .../client/model/ModelReturn.java | 8 +- .../org/openapitools/client/model/Name.java | 29 +- .../openapitools/client/model/NumberOnly.java | 8 +- .../org/openapitools/client/model/Order.java | 44 +- .../client/model/OuterComposite.java | 22 +- .../org/openapitools/client/model/Pet.java | 44 +- .../client/model/ReadOnlyFirst.java | 15 +- .../client/model/SpecialModelName.java | 8 +- .../org/openapitools/client/model/Tag.java | 15 +- .../client/model/TypeHolderDefault.java | 36 +- .../client/model/TypeHolderExample.java | 43 +- .../org/openapitools/client/model/User.java | 57 +- .../openapitools/client/model/XmlItem.java | 204 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 45 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../org/openapitools/client/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../client/model/ArrayOfNumberOnly.java | 5 +- .../openapitools/client/model/ArrayTest.java | 13 +- .../org/openapitools/client/model/BigCat.java | 6 +- .../client/model/Capitalization.java | 25 +- .../org/openapitools/client/model/Cat.java | 5 +- .../openapitools/client/model/Category.java | 9 +- .../openapitools/client/model/ClassModel.java | 5 +- .../org/openapitools/client/model/Client.java | 5 +- .../org/openapitools/client/model/Dog.java | 5 +- .../openapitools/client/model/EnumArrays.java | 11 +- .../openapitools/client/model/EnumTest.java | 25 +- .../client/model/FileSchemaTestClass.java | 9 +- .../openapitools/client/model/FormatTest.java | 57 +- .../client/model/HasOnlyReadOnly.java | 9 +- .../openapitools/client/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 13 +- .../client/model/Model200Response.java | 9 +- .../client/model/ModelApiResponse.java | 13 +- .../openapitools/client/model/ModelFile.java | 5 +- .../openapitools/client/model/ModelList.java | 5 +- .../client/model/ModelReturn.java | 5 +- .../org/openapitools/client/model/Name.java | 17 +- .../openapitools/client/model/NumberOnly.java | 5 +- .../org/openapitools/client/model/Order.java | 26 +- .../client/model/OuterComposite.java | 13 +- .../org/openapitools/client/model/Pet.java | 26 +- .../client/model/ReadOnlyFirst.java | 9 +- .../client/model/SpecialModelName.java | 5 +- .../org/openapitools/client/model/Tag.java | 9 +- .../client/model/TypeHolderDefault.java | 21 +- .../client/model/TypeHolderExample.java | 25 +- .../org/openapitools/client/model/User.java | 33 +- .../openapitools/client/model/XmlItem.java | 117 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 45 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../org/openapitools/client/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../client/model/ArrayOfNumberOnly.java | 5 +- .../openapitools/client/model/ArrayTest.java | 13 +- .../org/openapitools/client/model/BigCat.java | 6 +- .../client/model/Capitalization.java | 25 +- .../org/openapitools/client/model/Cat.java | 5 +- .../openapitools/client/model/Category.java | 9 +- .../openapitools/client/model/ClassModel.java | 5 +- .../org/openapitools/client/model/Client.java | 5 +- .../org/openapitools/client/model/Dog.java | 5 +- .../openapitools/client/model/EnumArrays.java | 11 +- .../openapitools/client/model/EnumTest.java | 25 +- .../client/model/FileSchemaTestClass.java | 9 +- .../openapitools/client/model/FormatTest.java | 57 +- .../client/model/HasOnlyReadOnly.java | 9 +- .../openapitools/client/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 13 +- .../client/model/Model200Response.java | 9 +- .../client/model/ModelApiResponse.java | 13 +- .../openapitools/client/model/ModelFile.java | 5 +- .../openapitools/client/model/ModelList.java | 5 +- .../client/model/ModelReturn.java | 5 +- .../org/openapitools/client/model/Name.java | 17 +- .../openapitools/client/model/NumberOnly.java | 5 +- .../org/openapitools/client/model/Order.java | 26 +- .../client/model/OuterComposite.java | 13 +- .../org/openapitools/client/model/Pet.java | 26 +- .../client/model/ReadOnlyFirst.java | 9 +- .../client/model/SpecialModelName.java | 5 +- .../org/openapitools/client/model/Tag.java | 9 +- .../client/model/TypeHolderDefault.java | 21 +- .../client/model/TypeHolderExample.java | 25 +- .../org/openapitools/client/model/User.java | 33 +- .../openapitools/client/model/XmlItem.java | 117 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 45 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../org/openapitools/client/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../client/model/ArrayOfNumberOnly.java | 5 +- .../openapitools/client/model/ArrayTest.java | 13 +- .../org/openapitools/client/model/BigCat.java | 6 +- .../client/model/Capitalization.java | 25 +- .../org/openapitools/client/model/Cat.java | 5 +- .../openapitools/client/model/Category.java | 9 +- .../openapitools/client/model/ClassModel.java | 5 +- .../org/openapitools/client/model/Client.java | 5 +- .../org/openapitools/client/model/Dog.java | 5 +- .../openapitools/client/model/EnumArrays.java | 11 +- .../openapitools/client/model/EnumTest.java | 25 +- .../client/model/FileSchemaTestClass.java | 9 +- .../openapitools/client/model/FormatTest.java | 57 +- .../client/model/HasOnlyReadOnly.java | 9 +- .../openapitools/client/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 13 +- .../client/model/Model200Response.java | 9 +- .../client/model/ModelApiResponse.java | 13 +- .../openapitools/client/model/ModelFile.java | 5 +- .../openapitools/client/model/ModelList.java | 5 +- .../client/model/ModelReturn.java | 5 +- .../org/openapitools/client/model/Name.java | 17 +- .../openapitools/client/model/NumberOnly.java | 5 +- .../org/openapitools/client/model/Order.java | 26 +- .../client/model/OuterComposite.java | 13 +- .../org/openapitools/client/model/Pet.java | 26 +- .../client/model/ReadOnlyFirst.java | 9 +- .../client/model/SpecialModelName.java | 5 +- .../org/openapitools/client/model/Tag.java | 9 +- .../client/model/TypeHolderDefault.java | 21 +- .../client/model/TypeHolderExample.java | 25 +- .../org/openapitools/client/model/User.java | 33 +- .../openapitools/client/model/XmlItem.java | 117 +- .../model/AdditionalPropertiesAnyType.java | 7 +- .../model/AdditionalPropertiesArray.java | 7 +- .../model/AdditionalPropertiesBoolean.java | 7 +- .../model/AdditionalPropertiesClass.java | 67 +- .../model/AdditionalPropertiesInteger.java | 7 +- .../model/AdditionalPropertiesNumber.java | 7 +- .../model/AdditionalPropertiesObject.java | 7 +- .../model/AdditionalPropertiesString.java | 7 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../org/openapitools/client/model/BigCat.java | 8 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 35 +- .../client/model/FileSchemaTestClass.java | 13 +- .../openapitools/client/model/FormatTest.java | 85 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- .../client/model/TypeHolderDefault.java | 31 +- .../client/model/TypeHolderExample.java | 37 +- .../org/openapitools/client/model/User.java | 49 +- .../openapitools/client/model/XmlItem.java | 175 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../client/model/ByteArrayObject.java | 33 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../model/AdditionalPropertiesClass.java | 13 +- .../client/model/AllOfWithSingleRef.java | 13 +- .../org/openapitools/client/model/Animal.java | 13 +- .../model/ArrayOfArrayOfNumberOnly.java | 7 +- .../client/model/ArrayOfNumberOnly.java | 7 +- .../openapitools/client/model/ArrayTest.java | 19 +- .../client/model/Capitalization.java | 37 +- .../org/openapitools/client/model/Cat.java | 7 +- .../openapitools/client/model/Category.java | 13 +- .../client/model/ChildWithNullable.java | 7 +- .../openapitools/client/model/ClassModel.java | 7 +- .../org/openapitools/client/model/Client.java | 7 +- .../client/model/DeprecatedObject.java | 7 +- .../org/openapitools/client/model/Dog.java | 7 +- .../openapitools/client/model/EnumArrays.java | 15 +- .../openapitools/client/model/EnumTest.java | 54 +- .../model/FakeBigDecimalMap200Response.java | 13 +- .../client/model/FileSchemaTestClass.java | 13 +- .../org/openapitools/client/model/Foo.java | 7 +- .../client/model/FooGetDefaultResponse.java | 7 +- .../openapitools/client/model/FormatTest.java | 97 +- .../client/model/HasOnlyReadOnly.java | 13 +- .../client/model/HealthCheckResult.java | 8 +- .../openapitools/client/model/MapTest.java | 26 +- ...ropertiesAndAdditionalPropertiesClass.java | 19 +- .../client/model/Model200Response.java | 13 +- .../client/model/ModelApiResponse.java | 19 +- .../openapitools/client/model/ModelFile.java | 7 +- .../openapitools/client/model/ModelList.java | 7 +- .../client/model/ModelReturn.java | 7 +- .../org/openapitools/client/model/Name.java | 25 +- .../client/model/NullableClass.java | 83 +- .../openapitools/client/model/NumberOnly.java | 7 +- .../model/ObjectWithDeprecatedFields.java | 25 +- .../org/openapitools/client/model/Order.java | 38 +- .../client/model/OuterComposite.java | 19 +- .../model/OuterObjectWithEnumProperty.java | 7 +- .../client/model/ParentWithNullable.java | 15 +- .../org/openapitools/client/model/Pet.java | 38 +- .../client/model/ReadOnlyFirst.java | 13 +- .../client/model/SpecialModelName.java | 7 +- .../org/openapitools/client/model/Tag.java | 13 +- ...neFreeformAdditionalPropertiesRequest.java | 7 +- .../org/openapitools/client/model/User.java | 49 +- .../src/model/AdditionalPropertiesClass.js | 1 - .../javascript-apollo/src/model/Animal.js | 1 - .../src/model/ApiResponse.js | 1 - .../src/model/ArrayOfArrayOfNumberOnly.js | 1 - .../src/model/ArrayOfNumberOnly.js | 1 - .../javascript-apollo/src/model/ArrayTest.js | 1 - .../javascript-apollo/src/model/BasquePig.js | 1 - .../src/model/Capitalization.js | 1 - .../javascript-apollo/src/model/Cat.js | 1 - .../javascript-apollo/src/model/Category.js | 1 - .../javascript-apollo/src/model/ClassModel.js | 1 - .../javascript-apollo/src/model/Client.js | 1 - .../javascript-apollo/src/model/Color.js | 1 - .../javascript-apollo/src/model/DanishPig.js | 1 - .../src/model/DeprecatedObject.js | 1 - .../javascript-apollo/src/model/Dog.js | 1 - .../javascript-apollo/src/model/EnumArrays.js | 3 - .../javascript-apollo/src/model/EnumClass.js | 1 - .../javascript-apollo/src/model/EnumTest.js | 5 - .../javascript-apollo/src/model/File.js | 1 - .../src/model/FileSchemaTestClass.js | 1 - .../javascript-apollo/src/model/Foo.js | 1 - .../src/model/FooGetDefaultResponse.js | 1 - .../javascript-apollo/src/model/FormatTest.js | 1 - .../src/model/HasOnlyReadOnly.js | 1 - .../src/model/HealthCheckResult.js | 1 - .../javascript-apollo/src/model/List.js | 1 - .../javascript-apollo/src/model/MapTest.js | 2 - ...dPropertiesAndAdditionalPropertiesClass.js | 1 - .../src/model/Model200Response.js | 1 - .../javascript-apollo/src/model/Name.js | 1 - .../src/model/NestedColor.js | 1 - .../src/model/NestedOneOf.js | 1 - .../src/model/NullableClass.js | 1 - .../javascript-apollo/src/model/NumberOnly.js | 1 - .../src/model/ObjectWithDeprecatedFields.js | 1 - .../javascript-apollo/src/model/Order.js | 2 - .../src/model/OuterComposite.js | 1 - .../javascript-apollo/src/model/OuterEnum.js | 1 - .../src/model/OuterEnumDefaultValue.js | 1 - .../src/model/OuterEnumInteger.js | 1 - .../src/model/OuterEnumIntegerDefaultValue.js | 1 - .../src/model/OuterObjectWithEnumProperty.js | 1 - .../javascript-apollo/src/model/Pet.js | 2 - .../javascript-apollo/src/model/Pig.js | 1 - .../src/model/ReadOnlyFirst.js | 1 - .../javascript-apollo/src/model/Return.js | 1 - .../src/model/SpecialModelName.js | 1 - .../src/model/StringOrBoolean.js | 1 - .../javascript-apollo/src/model/Tag.js | 1 - ...lineFreeformAdditionalPropertiesRequest.js | 1 - .../javascript-apollo/src/model/User.js | 1 - .../src/model/AdditionalPropertiesClass.js | 1 - .../javascript-es6/src/model/Animal.js | 1 - .../javascript-es6/src/model/ApiResponse.js | 1 - .../src/model/ArrayOfArrayOfNumberOnly.js | 1 - .../src/model/ArrayOfNumberOnly.js | 1 - .../javascript-es6/src/model/ArrayTest.js | 1 - .../javascript-es6/src/model/BasquePig.js | 1 - .../src/model/Capitalization.js | 1 - .../petstore/javascript-es6/src/model/Cat.js | 1 - .../javascript-es6/src/model/Category.js | 1 - .../javascript-es6/src/model/ClassModel.js | 1 - .../javascript-es6/src/model/Client.js | 1 - .../javascript-es6/src/model/Color.js | 1 - .../javascript-es6/src/model/DanishPig.js | 1 - .../src/model/DeprecatedObject.js | 1 - .../petstore/javascript-es6/src/model/Dog.js | 1 - .../javascript-es6/src/model/EnumArrays.js | 3 - .../javascript-es6/src/model/EnumClass.js | 1 - .../javascript-es6/src/model/EnumTest.js | 5 - .../petstore/javascript-es6/src/model/File.js | 1 - .../src/model/FileSchemaTestClass.js | 1 - .../petstore/javascript-es6/src/model/Foo.js | 1 - .../src/model/FooGetDefaultResponse.js | 1 - .../javascript-es6/src/model/FormatTest.js | 1 - .../src/model/HasOnlyReadOnly.js | 1 - .../src/model/HealthCheckStatus.js | 1 - .../petstore/javascript-es6/src/model/List.js | 1 - .../javascript-es6/src/model/MapTest.js | 2 - ...dPropertiesAndAdditionalPropertiesClass.js | 1 - .../src/model/Model200Response.js | 1 - .../petstore/javascript-es6/src/model/Name.js | 1 - .../javascript-es6/src/model/NestedColor.js | 1 - .../javascript-es6/src/model/NestedOneOf.js | 1 - .../javascript-es6/src/model/NullableClass.js | 1 - .../javascript-es6/src/model/NumberOnly.js | 1 - .../src/model/ObjectWithDeprecatedFields.js | 1 - .../javascript-es6/src/model/Order.js | 2 - .../src/model/OuterComposite.js | 1 - .../javascript-es6/src/model/OuterEnum.js | 1 - .../src/model/OuterEnumDefaultValue.js | 1 - .../src/model/OuterEnumInteger.js | 1 - .../src/model/OuterEnumIntegerDefaultValue.js | 1 - .../src/model/OuterObjectWithEnumProperty.js | 1 - .../petstore/javascript-es6/src/model/Pet.js | 2 - .../petstore/javascript-es6/src/model/Pig.js | 1 - .../javascript-es6/src/model/ReadOnlyFirst.js | 1 - .../javascript-es6/src/model/Return.js | 1 - .../src/model/SpecialModelName.js | 1 - .../src/model/StringOrBoolean.js | 1 - .../petstore/javascript-es6/src/model/Tag.js | 1 - ...lineFreeformAdditionalPropertiesRequest.js | 1 - .../petstore/javascript-es6/src/model/User.js | 1 - .../src/model/AdditionalPropertiesClass.js | 1 - .../src/model/Animal.js | 1 - .../src/model/ApiResponse.js | 1 - .../src/model/ArrayOfArrayOfNumberOnly.js | 1 - .../src/model/ArrayOfNumberOnly.js | 1 - .../src/model/ArrayTest.js | 1 - .../src/model/BasquePig.js | 1 - .../src/model/Capitalization.js | 1 - .../javascript-promise-es6/src/model/Cat.js | 1 - .../src/model/Category.js | 1 - .../src/model/ClassModel.js | 1 - .../src/model/Client.js | 1 - .../javascript-promise-es6/src/model/Color.js | 1 - .../src/model/DanishPig.js | 1 - .../src/model/DeprecatedObject.js | 1 - .../javascript-promise-es6/src/model/Dog.js | 1 - .../src/model/EnumArrays.js | 3 - .../src/model/EnumClass.js | 1 - .../src/model/EnumTest.js | 5 - .../javascript-promise-es6/src/model/File.js | 1 - .../src/model/FileSchemaTestClass.js | 1 - .../javascript-promise-es6/src/model/Foo.js | 1 - .../src/model/FooGetDefaultResponse.js | 1 - .../src/model/FormatTest.js | 1 - .../src/model/HasOnlyReadOnly.js | 1 - .../src/model/HealthCheckResult.js | 1 - .../javascript-promise-es6/src/model/List.js | 1 - .../src/model/MapTest.js | 2 - ...dPropertiesAndAdditionalPropertiesClass.js | 1 - .../src/model/Model200Response.js | 1 - .../javascript-promise-es6/src/model/Name.js | 1 - .../src/model/NestedColor.js | 1 - .../src/model/NestedOneOf.js | 1 - .../src/model/NullableClass.js | 1 - .../src/model/NumberOnly.js | 1 - .../src/model/ObjectWithDeprecatedFields.js | 1 - .../javascript-promise-es6/src/model/Order.js | 2 - .../src/model/OuterComposite.js | 1 - .../src/model/OuterEnum.js | 1 - .../src/model/OuterEnumDefaultValue.js | 1 - .../src/model/OuterEnumInteger.js | 1 - .../src/model/OuterEnumIntegerDefaultValue.js | 1 - .../src/model/OuterObjectWithEnumProperty.js | 1 - .../javascript-promise-es6/src/model/Pet.js | 2 - .../javascript-promise-es6/src/model/Pig.js | 1 - .../src/model/ReadOnlyFirst.js | 1 - .../src/model/Return.js | 1 - .../src/model/SpecialModelName.js | 1 - .../src/model/StringOrBoolean.js | 1 - .../javascript-promise-es6/src/model/Tag.js | 1 - ...lineFreeformAdditionalPropertiesRequest.js | 1 - .../javascript-promise-es6/src/model/User.js | 1 - .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../julia/src/models/model_ApiResponse.jl | 2 +- .../julia/src/models/model_Category.jl | 2 +- .../julia/src/models/model_MappedModel.jl | 2 +- .../petstore/julia/src/models/model_Order.jl | 2 +- .../petstore/julia/src/models/model_Pet.jl | 2 +- .../petstore/julia/src/models/model_Tag.jl | 2 +- .../petstore/julia/src/models/model_User.jl | 2 +- .../org/openapitools/client/models/Animal.kt | 1 - .../org/openapitools/client/models/Bird.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../org/openapitools/client/models/Apa.kt | 1 - .../models/ModelWithPropertyHavingDefault.kt | 1 - .../ModelWithEnumPropertyHavingDefault.kt | 1 - .../client/models/PropertyOfDay.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../client/request/RequestFactory.kt | 42 +- .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../client/models/ApiAnnotation.kt | 1 - .../client/models/ApiAnyOfUserOrPet.kt | 1 - .../models/ApiAnyOfUserOrPetOrArrayString.kt | 1 - .../client/models/ApiApiResponse.kt | 1 - .../openapitools/client/models/ApiCategory.kt | 1 - .../openapitools/client/models/ApiOrder.kt | 1 - .../org/openapitools/client/models/ApiPet.kt | 1 - .../org/openapitools/client/models/ApiTag.kt | 1 - .../org/openapitools/client/models/ApiUser.kt | 1 - .../client/models/ApiUserOrPet.kt | 1 - .../models/ApiUserOrPetOrArrayString.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../org/openapitools/client/apis/PetApi.kt | 2 - .../org/openapitools/client/apis/StoreApi.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../org/openapitools/client/apis/PetApi.kt | 2 - .../org/openapitools/client/apis/StoreApi.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Environment.kt | 1 - .../client/models/PropertyNameMapping.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../openapitools/client/models/Category.kt | 1 - .../client/models/ModelApiResponse.kt | 1 - .../org/openapitools/client/models/Order.kt | 1 - .../org/openapitools/client/models/Pet.kt | 1 - .../org/openapitools/client/models/Tag.kt | 1 - .../org/openapitools/client/models/User.kt | 1 - .../lua/petstore/model/api_response.lua | 1 - .../petstore/lua/petstore/model/category.lua | 1 - .../petstore/lua/petstore/model/order.lua | 1 - .../petstore/lua/petstore/model/pet.lua | 1 - .../petstore/lua/petstore/model/tag.lua | 1 - .../petstore/lua/petstore/model/user.lua | 1 - .../core-data/SwaggerClient/Api/SWGPetApi.h | 1 - .../core-data/SwaggerClient/Api/SWGStoreApi.h | 1 - .../core-data/SwaggerClient/Api/SWGUserApi.h | 1 - .../Core/JSONValueTransformer+ISO8601.h | 1 - .../core-data/SwaggerClient/Core/SWGApi.h | 1 - .../SwaggerClient/Core/SWGApiClient.h | 1 - .../SwaggerClient/Core/SWGConfiguration.h | 1 - .../Core/SWGDefaultConfiguration.h | 1 - .../Core/SWGJSONRequestSerializer.h | 1 - .../core-data/SwaggerClient/Core/SWGLogger.h | 1 - .../core-data/SwaggerClient/Core/SWGObject.h | 1 - .../Core/SWGQueryParamCollection.h | 1 - .../Core/SWGResponseDeserializer.h | 1 - .../SwaggerClient/Core/SWGSanitizer.h | 1 - .../SwaggerClient/Model/SWGCategory.h | 1 - .../Model/SWGCategoryManagedObject.h | 1 - .../Model/SWGCategoryManagedObjectBuilder.h | 1 - .../core-data/SwaggerClient/Model/SWGOrder.h | 1 - .../Model/SWGOrderManagedObject.h | 1 - .../Model/SWGOrderManagedObjectBuilder.h | 1 - .../core-data/SwaggerClient/Model/SWGPet.h | 1 - .../SwaggerClient/Model/SWGPetManagedObject.h | 1 - .../Model/SWGPetManagedObjectBuilder.h | 1 - .../core-data/SwaggerClient/Model/SWGTag.h | 1 - .../SwaggerClient/Model/SWGTagManagedObject.h | 1 - .../Model/SWGTagManagedObjectBuilder.h | 1 - .../core-data/SwaggerClient/Model/SWGUser.h | 1 - .../Model/SWGUserManagedObject.h | 1 - .../Model/SWGUserManagedObjectBuilder.h | 1 - .../default/SwaggerClient/Api/SWGPetApi.h | 1 - .../default/SwaggerClient/Api/SWGStoreApi.h | 1 - .../default/SwaggerClient/Api/SWGUserApi.h | 1 - .../Core/JSONValueTransformer+ISO8601.h | 1 - .../objc/default/SwaggerClient/Core/SWGApi.h | 1 - .../default/SwaggerClient/Core/SWGApiClient.h | 1 - .../SwaggerClient/Core/SWGConfiguration.h | 1 - .../Core/SWGDefaultConfiguration.h | 1 - .../Core/SWGJSONRequestSerializer.h | 1 - .../default/SwaggerClient/Core/SWGLogger.h | 1 - .../default/SwaggerClient/Core/SWGObject.h | 1 - .../Core/SWGQueryParamCollection.h | 1 - .../Core/SWGResponseDeserializer.h | 1 - .../default/SwaggerClient/Core/SWGSanitizer.h | 1 - .../default/SwaggerClient/Model/SWGCategory.h | 1 - .../default/SwaggerClient/Model/SWGOrder.h | 1 - .../objc/default/SwaggerClient/Model/SWGPet.h | 1 - .../objc/default/SwaggerClient/Model/SWGTag.h | 1 - .../default/SwaggerClient/Model/SWGUser.h | 1 - .../Object/AdditionalPropertiesClass.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Adult.pm | 1 - .../Object/AllOfWithSingleRef.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Animal.pm | 1 - .../WWW/OpenAPIClient/Object/ApiResponse.pm | 1 - .../Object/ArrayOfArrayOfNumberOnly.pm | 1 - .../OpenAPIClient/Object/ArrayOfNumberOnly.pm | 1 - .../lib/WWW/OpenAPIClient/Object/ArrayTest.pm | 1 - .../OpenAPIClient/Object/Capitalization.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Cat.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Category.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Child.pm | 1 - .../OpenAPIClient/Object/ChildWithNullable.pm | 1 - .../WWW/OpenAPIClient/Object/ClassModel.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Client.pm | 1 - .../OpenAPIClient/Object/DeprecatedModel.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Dog.pm | 1 - .../WWW/OpenAPIClient/Object/EnumArrays.pm | 1 - .../lib/WWW/OpenAPIClient/Object/EnumClass.pm | 1 - .../lib/WWW/OpenAPIClient/Object/EnumTest.pm | 1 - .../Object/FakeBigDecimalMap200Response.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/File.pm | 1 - .../Object/FileSchemaTestClass.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Foo.pm | 1 - .../Object/FooGetDefaultResponse.pm | 1 - .../WWW/OpenAPIClient/Object/FormatTest.pm | 1 - .../OpenAPIClient/Object/HasOnlyReadOnly.pm | 1 - .../OpenAPIClient/Object/HealthCheckResult.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Human.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/List.pm | 1 - .../lib/WWW/OpenAPIClient/Object/MapTest.pm | 1 - ...dPropertiesAndAdditionalPropertiesClass.pm | 1 - .../OpenAPIClient/Object/Model200Response.pm | 1 - .../WWW/OpenAPIClient/Object/ModelReturn.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Name.pm | 1 - .../WWW/OpenAPIClient/Object/NullableClass.pm | 1 - .../WWW/OpenAPIClient/Object/NumberOnly.pm | 1 - .../Object/ObjectWithDeprecatedFields.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Order.pm | 1 - .../OpenAPIClient/Object/OuterComposite.pm | 1 - .../lib/WWW/OpenAPIClient/Object/OuterEnum.pm | 1 - .../Object/OuterEnumDefaultValue.pm | 1 - .../OpenAPIClient/Object/OuterEnumInteger.pm | 1 - .../Object/OuterEnumIntegerDefaultValue.pm | 1 - .../Object/OuterObjectWithEnumProperty.pm | 1 - .../Object/ParentWithNullable.pm | 1 - .../lib/WWW/OpenAPIClient/Object/Person.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Pet.pm | 1 - .../WWW/OpenAPIClient/Object/ReadOnlyFirst.pm | 1 - .../WWW/OpenAPIClient/Object/SingleRefType.pm | 1 - .../OpenAPIClient/Object/SpecialModelName.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/Tag.pm | 1 - ...lineFreeformAdditionalPropertiesRequest.pm | 1 - .../perl/lib/WWW/OpenAPIClient/Object/User.pm | 1 - .../php-nextgen/OpenAPIClient-php/README.md | 1 - .../docs/Api/AnotherFakeApi.md | 1 - .../OpenAPIClient-php/docs/Api/DefaultApi.md | 1 - .../OpenAPIClient-php/docs/Api/FakeApi.md | 23 - .../docs/Api/FakeClassnameTags123Api.md | 1 - .../OpenAPIClient-php/docs/Api/PetApi.md | 9 - .../OpenAPIClient-php/docs/Api/StoreApi.md | 4 - .../OpenAPIClient-php/docs/Api/UserApi.md | 8 - .../src/Api/AnotherFakeApi.php | 1 - .../OpenAPIClient-php/src/Api/DefaultApi.php | 1 - .../OpenAPIClient-php/src/Api/FakeApi.php | 1 - .../src/Api/FakeClassnameTags123Api.php | 1 - .../OpenAPIClient-php/src/Api/PetApi.php | 1 - .../OpenAPIClient-php/src/Api/StoreApi.php | 1 - .../OpenAPIClient-php/src/Api/UserApi.php | 1 - .../OpenAPIClient-php/src/ApiException.php | 1 - .../OpenAPIClient-php/src/Configuration.php | 1 - .../OpenAPIClient-php/src/HeaderSelector.php | 1 - .../src/Model/AdditionalPropertiesClass.php | 1 - .../src/Model/AllOfWithSingleRef.php | 1 - .../OpenAPIClient-php/src/Model/Animal.php | 1 - .../src/Model/ApiResponse.php | 1 - .../src/Model/ArrayOfArrayOfNumberOnly.php | 1 - .../src/Model/ArrayOfNumberOnly.php | 1 - .../OpenAPIClient-php/src/Model/ArrayTest.php | 1 - .../src/Model/Capitalization.php | 1 - .../OpenAPIClient-php/src/Model/Cat.php | 1 - .../OpenAPIClient-php/src/Model/Category.php | 1 - .../src/Model/ChildWithNullable.php | 1 - .../src/Model/ClassModel.php | 1 - .../OpenAPIClient-php/src/Model/Client.php | 1 - .../src/Model/DeprecatedObject.php | 1 - .../OpenAPIClient-php/src/Model/Dog.php | 1 - .../src/Model/EnumArrays.php | 1 - .../OpenAPIClient-php/src/Model/EnumClass.php | 1 - .../OpenAPIClient-php/src/Model/EnumTest.php | 1 - .../src/Model/EnumWithNameAndDescription.php | 1 - .../Model/FakeBigDecimalMap200Response.php | 1 - .../OpenAPIClient-php/src/Model/File.php | 1 - .../src/Model/FileSchemaTestClass.php | 1 - .../OpenAPIClient-php/src/Model/Foo.php | 1 - .../src/Model/FooGetDefaultResponse.php | 1 - .../src/Model/FormatTest.php | 1 - .../src/Model/HasOnlyReadOnly.php | 1 - .../src/Model/HealthCheckResult.php | 1 - .../OpenAPIClient-php/src/Model/MapTest.php | 1 - ...PropertiesAndAdditionalPropertiesClass.php | 1 - .../src/Model/Model200Response.php | 1 - .../src/Model/ModelInterface.php | 1 - .../OpenAPIClient-php/src/Model/ModelList.php | 1 - .../src/Model/ModelReturn.php | 1 - .../OpenAPIClient-php/src/Model/Name.php | 1 - .../src/Model/NullableClass.php | 1 - .../src/Model/NumberOnly.php | 1 - .../src/Model/ObjectWithDeprecatedFields.php | 1 - .../OpenAPIClient-php/src/Model/Order.php | 1 - .../src/Model/OuterComposite.php | 1 - .../OpenAPIClient-php/src/Model/OuterEnum.php | 1 - .../src/Model/OuterEnumDefaultValue.php | 1 - .../src/Model/OuterEnumInteger.php | 1 - .../Model/OuterEnumIntegerDefaultValue.php | 1 - .../src/Model/OuterObjectWithEnumProperty.php | 1 - .../src/Model/ParentWithNullable.php | 1 - .../OpenAPIClient-php/src/Model/Pet.php | 1 - .../src/Model/ReadOnlyFirst.php | 1 - .../src/Model/SingleRefType.php | 1 - .../src/Model/SpecialModelName.php | 1 - .../OpenAPIClient-php/src/Model/Tag.php | 1 - ...ineFreeformAdditionalPropertiesRequest.php | 1 - .../OpenAPIClient-php/src/Model/User.php | 1 - .../src/ObjectSerializer.php | 1 - .../petstore/php/OpenAPIClient-php/README.md | 1 - .../docs/Api/AnotherFakeApi.md | 1 - .../OpenAPIClient-php/docs/Api/DefaultApi.md | 1 - .../php/OpenAPIClient-php/docs/Api/FakeApi.md | 23 - .../docs/Api/FakeClassnameTags123Api.md | 1 - .../php/OpenAPIClient-php/docs/Api/PetApi.md | 9 - .../OpenAPIClient-php/docs/Api/StoreApi.md | 4 - .../php/OpenAPIClient-php/docs/Api/UserApi.md | 8 - .../lib/Api/AnotherFakeApi.php | 1 - .../OpenAPIClient-php/lib/Api/DefaultApi.php | 1 - .../php/OpenAPIClient-php/lib/Api/FakeApi.php | 1 - .../lib/Api/FakeClassnameTags123Api.php | 1 - .../php/OpenAPIClient-php/lib/Api/PetApi.php | 1 - .../OpenAPIClient-php/lib/Api/StoreApi.php | 1 - .../php/OpenAPIClient-php/lib/Api/UserApi.php | 1 - .../OpenAPIClient-php/lib/ApiException.php | 1 - .../OpenAPIClient-php/lib/Configuration.php | 1 - .../OpenAPIClient-php/lib/HeaderSelector.php | 1 - .../lib/Model/AdditionalPropertiesClass.php | 1 - .../lib/Model/AllOfWithSingleRef.php | 1 - .../OpenAPIClient-php/lib/Model/Animal.php | 1 - .../lib/Model/ApiResponse.php | 1 - .../lib/Model/ArrayOfArrayOfNumberOnly.php | 1 - .../lib/Model/ArrayOfNumberOnly.php | 1 - .../OpenAPIClient-php/lib/Model/ArrayTest.php | 1 - .../lib/Model/Capitalization.php | 1 - .../php/OpenAPIClient-php/lib/Model/Cat.php | 1 - .../OpenAPIClient-php/lib/Model/Category.php | 1 - .../lib/Model/ClassModel.php | 1 - .../OpenAPIClient-php/lib/Model/Client.php | 1 - .../lib/Model/DeprecatedObject.php | 1 - .../php/OpenAPIClient-php/lib/Model/Dog.php | 1 - .../lib/Model/EnumArrays.php | 1 - .../OpenAPIClient-php/lib/Model/EnumClass.php | 1 - .../OpenAPIClient-php/lib/Model/EnumTest.php | 1 - .../lib/Model/EnumWithNameAndDescription.php | 1 - .../Model/FakeBigDecimalMap200Response.php | 1 - .../php/OpenAPIClient-php/lib/Model/File.php | 1 - .../lib/Model/FileSchemaTestClass.php | 1 - .../php/OpenAPIClient-php/lib/Model/Foo.php | 1 - .../lib/Model/FooGetDefaultResponse.php | 1 - .../lib/Model/FormatTest.php | 1 - .../lib/Model/HasOnlyReadOnly.php | 1 - .../lib/Model/HealthCheckResult.php | 1 - .../OpenAPIClient-php/lib/Model/MapTest.php | 1 - ...PropertiesAndAdditionalPropertiesClass.php | 1 - .../lib/Model/Model200Response.php | 1 - .../lib/Model/ModelInterface.php | 1 - .../OpenAPIClient-php/lib/Model/ModelList.php | 1 - .../lib/Model/ModelReturn.php | 1 - .../php/OpenAPIClient-php/lib/Model/Name.php | 1 - .../lib/Model/NullableClass.php | 1 - .../lib/Model/NumberOnly.php | 1 - .../lib/Model/ObjectWithDeprecatedFields.php | 1 - .../php/OpenAPIClient-php/lib/Model/Order.php | 1 - .../lib/Model/OuterComposite.php | 1 - .../OpenAPIClient-php/lib/Model/OuterEnum.php | 1 - .../lib/Model/OuterEnumDefaultValue.php | 1 - .../lib/Model/OuterEnumInteger.php | 1 - .../Model/OuterEnumIntegerDefaultValue.php | 1 - .../lib/Model/OuterObjectWithEnumProperty.php | 1 - .../php/OpenAPIClient-php/lib/Model/Pet.php | 1 - .../lib/Model/PropertyNameMapping.php | 1 - .../lib/Model/ReadOnlyFirst.php | 1 - .../lib/Model/SingleRefType.php | 1 - .../lib/Model/SpecialModelName.php | 1 - .../php/OpenAPIClient-php/lib/Model/Tag.php | 1 - ...ineFreeformAdditionalPropertiesRequest.php | 1 - .../php/OpenAPIClient-php/lib/Model/User.php | 1 - .../lib/ObjectSerializer.php | 1 - samples/client/petstore/php/psr-18/README.md | 1 - .../php/psr-18/docs/Api/AnotherFakeApi.md | 1 - .../php/psr-18/docs/Api/DefaultApi.md | 1 - .../petstore/php/psr-18/docs/Api/FakeApi.md | 23 - .../docs/Api/FakeClassnameTags123Api.md | 1 - .../petstore/php/psr-18/docs/Api/PetApi.md | 9 - .../petstore/php/psr-18/docs/Api/StoreApi.md | 4 - .../petstore/php/psr-18/docs/Api/UserApi.md | 8 - .../php/psr-18/lib/Api/AnotherFakeApi.php | 1 - .../php/psr-18/lib/Api/DefaultApi.php | 1 - .../petstore/php/psr-18/lib/Api/FakeApi.php | 1 - .../lib/Api/FakeClassnameTags123Api.php | 1 - .../petstore/php/psr-18/lib/Api/PetApi.php | 1 - .../petstore/php/psr-18/lib/Api/StoreApi.php | 1 - .../petstore/php/psr-18/lib/Api/UserApi.php | 1 - .../petstore/php/psr-18/lib/ApiException.php | 1 - .../petstore/php/psr-18/lib/Configuration.php | 1 - .../petstore/php/psr-18/lib/DebugPlugin.php | 1 - .../php/psr-18/lib/HeaderSelector.php | 1 - .../lib/Model/AdditionalPropertiesClass.php | 1 - .../psr-18/lib/Model/AllOfWithSingleRef.php | 1 - .../petstore/php/psr-18/lib/Model/Animal.php | 1 - .../php/psr-18/lib/Model/ApiResponse.php | 1 - .../lib/Model/ArrayOfArrayOfNumberOnly.php | 1 - .../psr-18/lib/Model/ArrayOfNumberOnly.php | 1 - .../php/psr-18/lib/Model/ArrayTest.php | 1 - .../php/psr-18/lib/Model/Capitalization.php | 1 - .../petstore/php/psr-18/lib/Model/Cat.php | 1 - .../php/psr-18/lib/Model/Category.php | 1 - .../php/psr-18/lib/Model/ClassModel.php | 1 - .../petstore/php/psr-18/lib/Model/Client.php | 1 - .../php/psr-18/lib/Model/DeprecatedObject.php | 1 - .../petstore/php/psr-18/lib/Model/Dog.php | 1 - .../php/psr-18/lib/Model/EnumArrays.php | 1 - .../php/psr-18/lib/Model/EnumClass.php | 1 - .../php/psr-18/lib/Model/EnumTest.php | 1 - .../lib/Model/EnumWithNameAndDescription.php | 1 - .../Model/FakeBigDecimalMap200Response.php | 1 - .../petstore/php/psr-18/lib/Model/File.php | 1 - .../psr-18/lib/Model/FileSchemaTestClass.php | 1 - .../petstore/php/psr-18/lib/Model/Foo.php | 1 - .../lib/Model/FooGetDefaultResponse.php | 1 - .../php/psr-18/lib/Model/FormatTest.php | 1 - .../php/psr-18/lib/Model/HasOnlyReadOnly.php | 1 - .../psr-18/lib/Model/HealthCheckResult.php | 1 - .../petstore/php/psr-18/lib/Model/MapTest.php | 1 - ...PropertiesAndAdditionalPropertiesClass.php | 1 - .../php/psr-18/lib/Model/Model200Response.php | 1 - .../php/psr-18/lib/Model/ModelInterface.php | 1 - .../php/psr-18/lib/Model/ModelList.php | 1 - .../php/psr-18/lib/Model/ModelReturn.php | 1 - .../petstore/php/psr-18/lib/Model/Name.php | 1 - .../php/psr-18/lib/Model/NullableClass.php | 1 - .../php/psr-18/lib/Model/NumberOnly.php | 1 - .../lib/Model/ObjectWithDeprecatedFields.php | 1 - .../petstore/php/psr-18/lib/Model/Order.php | 1 - .../php/psr-18/lib/Model/OuterComposite.php | 1 - .../php/psr-18/lib/Model/OuterEnum.php | 1 - .../lib/Model/OuterEnumDefaultValue.php | 1 - .../php/psr-18/lib/Model/OuterEnumInteger.php | 1 - .../Model/OuterEnumIntegerDefaultValue.php | 1 - .../lib/Model/OuterObjectWithEnumProperty.php | 1 - .../petstore/php/psr-18/lib/Model/Pet.php | 1 - .../psr-18/lib/Model/PropertyNameMapping.php | 1 - .../php/psr-18/lib/Model/ReadOnlyFirst.php | 1 - .../php/psr-18/lib/Model/SingleRefType.php | 1 - .../php/psr-18/lib/Model/SpecialModelName.php | 1 - .../petstore/php/psr-18/lib/Model/Tag.php | 1 - ...ineFreeformAdditionalPropertiesRequest.php | 1 - .../petstore/php/psr-18/lib/Model/User.php | 1 - .../php/psr-18/lib/ObjectSerializer.php | 1 - .../src/PSPetstore/Model/OuterEnum.ps1 | 1 - .../Model/OuterEnumDefaultValue.ps1 | 1 - .../src/PSPetstore/Model/OuterEnumInteger.ps1 | 1 - .../Model/OuterEnumIntegerDefaultValue.ps1 | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../ruby-autoload/docs/AllOfWithSingleRef.md | 1 - .../petstore/ruby-autoload/docs/Animal.md | 1 - .../ruby-autoload/docs/ApiResponse.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../ruby-autoload/docs/ArrayOfNumberOnly.md | 1 - .../petstore/ruby-autoload/docs/ArrayTest.md | 1 - .../ruby-autoload/docs/Capitalization.md | 1 - .../client/petstore/ruby-autoload/docs/Cat.md | 1 - .../petstore/ruby-autoload/docs/Category.md | 1 - .../ruby-autoload/docs/ChildWithNullable.md | 1 - .../petstore/ruby-autoload/docs/ClassModel.md | 1 - .../petstore/ruby-autoload/docs/Client.md | 1 - .../ruby-autoload/docs/DeprecatedObject.md | 1 - .../client/petstore/ruby-autoload/docs/Dog.md | 1 - .../petstore/ruby-autoload/docs/EnumArrays.md | 1 - .../petstore/ruby-autoload/docs/EnumClass.md | 1 - .../petstore/ruby-autoload/docs/EnumTest.md | 1 - .../docs/FakeBigDecimalMap200Response.md | 1 - .../petstore/ruby-autoload/docs/File.md | 1 - .../ruby-autoload/docs/FileSchemaTestClass.md | 1 - .../client/petstore/ruby-autoload/docs/Foo.md | 1 - .../docs/FooGetDefaultResponse.md | 1 - .../petstore/ruby-autoload/docs/FormatTest.md | 1 - .../ruby-autoload/docs/HasOnlyReadOnly.md | 1 - .../ruby-autoload/docs/HealthCheckResult.md | 1 - .../petstore/ruby-autoload/docs/List.md | 1 - .../petstore/ruby-autoload/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../ruby-autoload/docs/Model200Response.md | 1 - .../ruby-autoload/docs/ModelReturn.md | 1 - .../petstore/ruby-autoload/docs/Name.md | 1 - .../ruby-autoload/docs/NullableClass.md | 1 - .../petstore/ruby-autoload/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../petstore/ruby-autoload/docs/Order.md | 1 - .../ruby-autoload/docs/OuterComposite.md | 1 - .../petstore/ruby-autoload/docs/OuterEnum.md | 1 - .../docs/OuterEnumDefaultValue.md | 1 - .../ruby-autoload/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../docs/OuterObjectWithEnumProperty.md | 1 - .../ruby-autoload/docs/ParentWithNullable.md | 1 - .../client/petstore/ruby-autoload/docs/Pet.md | 1 - .../ruby-autoload/docs/ReadOnlyFirst.md | 1 - .../ruby-autoload/docs/SingleRefType.md | 1 - .../ruby-autoload/docs/SpecialModelName.md | 1 - .../client/petstore/ruby-autoload/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../petstore/ruby-autoload/docs/User.md | 1 - .../petstore/ruby-autoload/lib/petstore.rb | 1 - .../lib/petstore/api/another_fake_api.rb | 1 - .../lib/petstore/api/default_api.rb | 1 - .../lib/petstore/api/fake_api.rb | 1 - .../api/fake_classname_tags123_api.rb | 1 - .../ruby-autoload/lib/petstore/api/pet_api.rb | 1 - .../lib/petstore/api/store_api.rb | 1 - .../lib/petstore/api/user_api.rb | 1 - .../ruby-autoload/lib/petstore/api_client.rb | 2 - .../ruby-autoload/lib/petstore/api_error.rb | 1 - .../lib/petstore/configuration.rb | 2 - .../models/additional_properties_class.rb | 3 - .../petstore/models/all_of_with_single_ref.rb | 3 - .../lib/petstore/models/animal.rb | 3 - .../lib/petstore/models/api_response.rb | 3 - .../models/array_of_array_of_number_only.rb | 3 - .../petstore/models/array_of_number_only.rb | 3 - .../lib/petstore/models/array_test.rb | 3 - .../lib/petstore/models/capitalization.rb | 3 - .../ruby-autoload/lib/petstore/models/cat.rb | 3 - .../lib/petstore/models/category.rb | 3 - .../petstore/models/child_with_nullable.rb | 3 - .../lib/petstore/models/class_model.rb | 3 - .../lib/petstore/models/client.rb | 3 - .../lib/petstore/models/deprecated_object.rb | 3 - .../ruby-autoload/lib/petstore/models/dog.rb | 3 - .../lib/petstore/models/enum_arrays.rb | 3 - .../lib/petstore/models/enum_class.rb | 4 +- .../lib/petstore/models/enum_test.rb | 3 - .../fake_big_decimal_map200_response.rb | 3 - .../ruby-autoload/lib/petstore/models/file.rb | 3 - .../petstore/models/file_schema_test_class.rb | 3 - .../ruby-autoload/lib/petstore/models/foo.rb | 3 - .../models/foo_get_default_response.rb | 3 - .../lib/petstore/models/format_test.rb | 3 - .../lib/petstore/models/has_only_read_only.rb | 3 - .../petstore/models/health_check_result.rb | 3 - .../ruby-autoload/lib/petstore/models/list.rb | 3 - .../lib/petstore/models/map_test.rb | 3 - ...perties_and_additional_properties_class.rb | 3 - .../lib/petstore/models/model200_response.rb | 3 - .../lib/petstore/models/model_return.rb | 3 - .../ruby-autoload/lib/petstore/models/name.rb | 3 - .../lib/petstore/models/nullable_class.rb | 3 - .../lib/petstore/models/number_only.rb | 3 - .../models/object_with_deprecated_fields.rb | 3 - .../lib/petstore/models/order.rb | 3 - .../lib/petstore/models/outer_composite.rb | 3 - .../lib/petstore/models/outer_enum.rb | 4 +- .../models/outer_enum_default_value.rb | 4 +- .../lib/petstore/models/outer_enum_integer.rb | 4 +- .../outer_enum_integer_default_value.rb | 4 +- .../models/outer_object_with_enum_property.rb | 3 - .../petstore/models/parent_with_nullable.rb | 3 - .../ruby-autoload/lib/petstore/models/pet.rb | 3 - .../lib/petstore/models/read_only_first.rb | 3 - .../lib/petstore/models/single_ref_type.rb | 4 +- .../lib/petstore/models/special_model_name.rb | 3 - .../ruby-autoload/lib/petstore/models/tag.rb | 3 - ..._freeform_additional_properties_request.rb | 3 - .../ruby-autoload/lib/petstore/models/user.rb | 3 - .../ruby-autoload/lib/petstore/version.rb | 1 - .../petstore/ruby-autoload/petstore.gemspec | 1 - .../ruby-autoload/spec/spec_helper.rb | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../ruby-faraday/docs/AllOfWithSingleRef.md | 1 - .../petstore/ruby-faraday/docs/Animal.md | 1 - .../petstore/ruby-faraday/docs/ApiResponse.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../ruby-faraday/docs/ArrayOfNumberOnly.md | 1 - .../petstore/ruby-faraday/docs/ArrayTest.md | 1 - .../ruby-faraday/docs/Capitalization.md | 1 - .../client/petstore/ruby-faraday/docs/Cat.md | 1 - .../petstore/ruby-faraday/docs/Category.md | 1 - .../ruby-faraday/docs/ChildWithNullable.md | 1 - .../petstore/ruby-faraday/docs/ClassModel.md | 1 - .../petstore/ruby-faraday/docs/Client.md | 1 - .../ruby-faraday/docs/DeprecatedObject.md | 1 - .../client/petstore/ruby-faraday/docs/Dog.md | 1 - .../petstore/ruby-faraday/docs/EnumArrays.md | 1 - .../petstore/ruby-faraday/docs/EnumClass.md | 1 - .../petstore/ruby-faraday/docs/EnumTest.md | 1 - .../docs/FakeBigDecimalMap200Response.md | 1 - .../client/petstore/ruby-faraday/docs/File.md | 1 - .../ruby-faraday/docs/FileSchemaTestClass.md | 1 - .../client/petstore/ruby-faraday/docs/Foo.md | 1 - .../docs/FooGetDefaultResponse.md | 1 - .../petstore/ruby-faraday/docs/FormatTest.md | 1 - .../ruby-faraday/docs/HasOnlyReadOnly.md | 1 - .../ruby-faraday/docs/HealthCheckResult.md | 1 - .../client/petstore/ruby-faraday/docs/List.md | 1 - .../petstore/ruby-faraday/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../ruby-faraday/docs/Model200Response.md | 1 - .../petstore/ruby-faraday/docs/ModelReturn.md | 1 - .../client/petstore/ruby-faraday/docs/Name.md | 1 - .../ruby-faraday/docs/NullableClass.md | 1 - .../petstore/ruby-faraday/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../petstore/ruby-faraday/docs/Order.md | 1 - .../ruby-faraday/docs/OuterComposite.md | 1 - .../petstore/ruby-faraday/docs/OuterEnum.md | 1 - .../docs/OuterEnumDefaultValue.md | 1 - .../ruby-faraday/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../docs/OuterObjectWithEnumProperty.md | 1 - .../ruby-faraday/docs/ParentWithNullable.md | 1 - .../client/petstore/ruby-faraday/docs/Pet.md | 1 - .../ruby-faraday/docs/ReadOnlyFirst.md | 1 - .../ruby-faraday/docs/SingleRefType.md | 1 - .../ruby-faraday/docs/SpecialModelName.md | 1 - .../client/petstore/ruby-faraday/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../client/petstore/ruby-faraday/docs/User.md | 1 - .../petstore/ruby-faraday/lib/petstore.rb | 1 - .../lib/petstore/api/another_fake_api.rb | 1 - .../lib/petstore/api/default_api.rb | 1 - .../ruby-faraday/lib/petstore/api/fake_api.rb | 1 - .../api/fake_classname_tags123_api.rb | 1 - .../ruby-faraday/lib/petstore/api/pet_api.rb | 1 - .../lib/petstore/api/store_api.rb | 1 - .../ruby-faraday/lib/petstore/api/user_api.rb | 1 - .../ruby-faraday/lib/petstore/api_client.rb | 2 - .../ruby-faraday/lib/petstore/api_error.rb | 1 - .../lib/petstore/configuration.rb | 2 - .../models/additional_properties_class.rb | 3 - .../petstore/models/all_of_with_single_ref.rb | 3 - .../lib/petstore/models/animal.rb | 3 - .../lib/petstore/models/api_response.rb | 3 - .../models/array_of_array_of_number_only.rb | 3 - .../petstore/models/array_of_number_only.rb | 3 - .../lib/petstore/models/array_test.rb | 3 - .../lib/petstore/models/capitalization.rb | 3 - .../ruby-faraday/lib/petstore/models/cat.rb | 3 - .../lib/petstore/models/category.rb | 3 - .../petstore/models/child_with_nullable.rb | 3 - .../lib/petstore/models/class_model.rb | 3 - .../lib/petstore/models/client.rb | 3 - .../lib/petstore/models/deprecated_object.rb | 3 - .../ruby-faraday/lib/petstore/models/dog.rb | 3 - .../lib/petstore/models/enum_arrays.rb | 3 - .../lib/petstore/models/enum_class.rb | 4 +- .../lib/petstore/models/enum_test.rb | 3 - .../fake_big_decimal_map200_response.rb | 3 - .../ruby-faraday/lib/petstore/models/file.rb | 3 - .../petstore/models/file_schema_test_class.rb | 3 - .../ruby-faraday/lib/petstore/models/foo.rb | 3 - .../models/foo_get_default_response.rb | 3 - .../lib/petstore/models/format_test.rb | 3 - .../lib/petstore/models/has_only_read_only.rb | 3 - .../petstore/models/health_check_result.rb | 3 - .../ruby-faraday/lib/petstore/models/list.rb | 3 - .../lib/petstore/models/map_test.rb | 3 - ...perties_and_additional_properties_class.rb | 3 - .../lib/petstore/models/model200_response.rb | 3 - .../lib/petstore/models/model_return.rb | 3 - .../ruby-faraday/lib/petstore/models/name.rb | 3 - .../lib/petstore/models/nullable_class.rb | 3 - .../lib/petstore/models/number_only.rb | 3 - .../models/object_with_deprecated_fields.rb | 3 - .../ruby-faraday/lib/petstore/models/order.rb | 3 - .../lib/petstore/models/outer_composite.rb | 3 - .../lib/petstore/models/outer_enum.rb | 4 +- .../models/outer_enum_default_value.rb | 4 +- .../lib/petstore/models/outer_enum_integer.rb | 4 +- .../outer_enum_integer_default_value.rb | 4 +- .../models/outer_object_with_enum_property.rb | 3 - .../petstore/models/parent_with_nullable.rb | 3 - .../ruby-faraday/lib/petstore/models/pet.rb | 3 - .../lib/petstore/models/read_only_first.rb | 3 - .../lib/petstore/models/single_ref_type.rb | 4 +- .../lib/petstore/models/special_model_name.rb | 3 - .../ruby-faraday/lib/petstore/models/tag.rb | 3 - ..._freeform_additional_properties_request.rb | 3 - .../ruby-faraday/lib/petstore/models/user.rb | 3 - .../ruby-faraday/lib/petstore/version.rb | 1 - .../petstore/ruby-faraday/petstore.gemspec | 1 - .../petstore/ruby-faraday/spec/spec_helper.rb | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../ruby-httpx/docs/AllOfWithSingleRef.md | 1 - .../client/petstore/ruby-httpx/docs/Animal.md | 1 - .../petstore/ruby-httpx/docs/ApiResponse.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../ruby-httpx/docs/ArrayOfNumberOnly.md | 1 - .../petstore/ruby-httpx/docs/ArrayTest.md | 1 - .../ruby-httpx/docs/Capitalization.md | 1 - .../client/petstore/ruby-httpx/docs/Cat.md | 1 - .../petstore/ruby-httpx/docs/Category.md | 1 - .../petstore/ruby-httpx/docs/ClassModel.md | 1 - .../client/petstore/ruby-httpx/docs/Client.md | 1 - .../client/petstore/ruby-httpx/docs/Cow.md | 1 - .../ruby-httpx/docs/DeprecatedObject.md | 1 - .../client/petstore/ruby-httpx/docs/Dog.md | 1 - .../petstore/ruby-httpx/docs/EnumArrays.md | 1 - .../petstore/ruby-httpx/docs/EnumClass.md | 1 - .../petstore/ruby-httpx/docs/EnumTest.md | 1 - .../docs/FakeBigDecimalMap200Response.md | 1 - .../client/petstore/ruby-httpx/docs/File.md | 1 - .../ruby-httpx/docs/FileSchemaTestClass.md | 1 - .../client/petstore/ruby-httpx/docs/Foo.md | 1 - .../ruby-httpx/docs/FooGetDefaultResponse.md | 1 - .../petstore/ruby-httpx/docs/FormatTest.md | 1 - .../ruby-httpx/docs/HasOnlyReadOnly.md | 1 - .../ruby-httpx/docs/HealthCheckResult.md | 1 - .../client/petstore/ruby-httpx/docs/List.md | 1 - .../petstore/ruby-httpx/docs/MamalWithEnum.md | 1 - .../client/petstore/ruby-httpx/docs/Mammal.md | 1 - .../petstore/ruby-httpx/docs/MammalAnyof.md | 1 - .../docs/MammalWithoutDiscriminator.md | 1 - .../petstore/ruby-httpx/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../ruby-httpx/docs/Model200Response.md | 1 - .../petstore/ruby-httpx/docs/ModelReturn.md | 1 - .../client/petstore/ruby-httpx/docs/Name.md | 1 - .../petstore/ruby-httpx/docs/NullableClass.md | 1 - .../petstore/ruby-httpx/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../client/petstore/ruby-httpx/docs/Order.md | 1 - .../ruby-httpx/docs/OuterComposite.md | 1 - .../petstore/ruby-httpx/docs/OuterEnum.md | 1 - .../ruby-httpx/docs/OuterEnumDefaultValue.md | 1 - .../ruby-httpx/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../docs/OuterObjectWithEnumProperty.md | 1 - .../client/petstore/ruby-httpx/docs/Pet.md | 1 - .../ruby-httpx/docs/PropertyNameMapping.md | 1 - .../petstore/ruby-httpx/docs/ReadOnlyFirst.md | 1 - .../petstore/ruby-httpx/docs/SingleRefType.md | 1 - .../ruby-httpx/docs/SpecialModelName.md | 1 - .../client/petstore/ruby-httpx/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../client/petstore/ruby-httpx/docs/User.md | 1 - .../client/petstore/ruby-httpx/docs/Whale.md | 1 - .../client/petstore/ruby-httpx/docs/Zebra.md | 1 - .../petstore/ruby-httpx/lib/petstore.rb | 1 - .../lib/petstore/api/another_fake_api.rb | 1 - .../lib/petstore/api/default_api.rb | 1 - .../ruby-httpx/lib/petstore/api/fake_api.rb | 1 - .../api/fake_classname_tags123_api.rb | 1 - .../ruby-httpx/lib/petstore/api/pet_api.rb | 1 - .../ruby-httpx/lib/petstore/api/store_api.rb | 1 - .../ruby-httpx/lib/petstore/api/user_api.rb | 1 - .../ruby-httpx/lib/petstore/api_client.rb | 2 - .../ruby-httpx/lib/petstore/api_error.rb | 1 - .../ruby-httpx/lib/petstore/configuration.rb | 2 - .../models/additional_properties_class.rb | 3 - .../petstore/models/all_of_with_single_ref.rb | 3 - .../ruby-httpx/lib/petstore/models/animal.rb | 3 - .../lib/petstore/models/api_response.rb | 3 - .../models/array_of_array_of_number_only.rb | 3 - .../petstore/models/array_of_number_only.rb | 3 - .../lib/petstore/models/array_test.rb | 3 - .../lib/petstore/models/capitalization.rb | 3 - .../ruby-httpx/lib/petstore/models/cat.rb | 3 - .../lib/petstore/models/category.rb | 3 - .../lib/petstore/models/class_model.rb | 3 - .../ruby-httpx/lib/petstore/models/client.rb | 3 - .../ruby-httpx/lib/petstore/models/cow.rb | 4 +- .../lib/petstore/models/deprecated_object.rb | 3 - .../ruby-httpx/lib/petstore/models/dog.rb | 3 - .../lib/petstore/models/enum_arrays.rb | 3 - .../lib/petstore/models/enum_class.rb | 4 +- .../lib/petstore/models/enum_test.rb | 3 - .../fake_big_decimal_map200_response.rb | 3 - .../ruby-httpx/lib/petstore/models/file.rb | 3 - .../petstore/models/file_schema_test_class.rb | 3 - .../ruby-httpx/lib/petstore/models/foo.rb | 3 - .../models/foo_get_default_response.rb | 3 - .../lib/petstore/models/format_test.rb | 3 - .../lib/petstore/models/has_only_read_only.rb | 3 - .../petstore/models/health_check_result.rb | 3 - .../ruby-httpx/lib/petstore/models/list.rb | 3 - .../lib/petstore/models/mamal_with_enum.rb | 2 - .../ruby-httpx/lib/petstore/models/mammal.rb | 2 - .../lib/petstore/models/mammal_anyof.rb | 2 - .../models/mammal_without_discriminator.rb | 2 - .../lib/petstore/models/map_test.rb | 3 - ...perties_and_additional_properties_class.rb | 3 - .../lib/petstore/models/model200_response.rb | 3 - .../lib/petstore/models/model_return.rb | 3 - .../ruby-httpx/lib/petstore/models/name.rb | 3 - .../lib/petstore/models/nullable_class.rb | 3 - .../lib/petstore/models/number_only.rb | 3 - .../models/object_with_deprecated_fields.rb | 3 - .../ruby-httpx/lib/petstore/models/order.rb | 3 - .../lib/petstore/models/outer_composite.rb | 3 - .../lib/petstore/models/outer_enum.rb | 4 +- .../models/outer_enum_default_value.rb | 4 +- .../lib/petstore/models/outer_enum_integer.rb | 4 +- .../outer_enum_integer_default_value.rb | 4 +- .../models/outer_object_with_enum_property.rb | 3 - .../ruby-httpx/lib/petstore/models/pet.rb | 3 - .../petstore/models/property_name_mapping.rb | 3 - .../lib/petstore/models/read_only_first.rb | 3 - .../lib/petstore/models/single_ref_type.rb | 4 +- .../lib/petstore/models/special_model_name.rb | 3 - .../ruby-httpx/lib/petstore/models/tag.rb | 3 - ..._freeform_additional_properties_request.rb | 3 - .../ruby-httpx/lib/petstore/models/user.rb | 3 - .../ruby-httpx/lib/petstore/models/whale.rb | 3 - .../ruby-httpx/lib/petstore/models/zebra.rb | 3 - .../ruby-httpx/lib/petstore/version.rb | 1 - .../petstore/ruby-httpx/petstore.gemspec | 1 - .../petstore/ruby-httpx/spec/spec_helper.rb | 1 - .../ruby/docs/AdditionalPropertiesClass.md | 1 - .../petstore/ruby/docs/AllOfWithSingleRef.md | 1 - samples/client/petstore/ruby/docs/Animal.md | 1 - .../client/petstore/ruby/docs/ApiResponse.md | 1 - .../ruby/docs/ArrayOfArrayOfNumberOnly.md | 1 - .../petstore/ruby/docs/ArrayOfNumberOnly.md | 1 - .../client/petstore/ruby/docs/ArrayTest.md | 1 - .../petstore/ruby/docs/Capitalization.md | 1 - samples/client/petstore/ruby/docs/Cat.md | 1 - samples/client/petstore/ruby/docs/Category.md | 1 - .../client/petstore/ruby/docs/ClassModel.md | 1 - samples/client/petstore/ruby/docs/Client.md | 1 - samples/client/petstore/ruby/docs/Cow.md | 1 - .../petstore/ruby/docs/DeprecatedObject.md | 1 - samples/client/petstore/ruby/docs/Dog.md | 1 - .../client/petstore/ruby/docs/EnumArrays.md | 1 - .../client/petstore/ruby/docs/EnumClass.md | 1 - samples/client/petstore/ruby/docs/EnumTest.md | 1 - .../ruby/docs/FakeBigDecimalMap200Response.md | 1 - samples/client/petstore/ruby/docs/File.md | 1 - .../petstore/ruby/docs/FileSchemaTestClass.md | 1 - samples/client/petstore/ruby/docs/Foo.md | 1 - .../ruby/docs/FooGetDefaultResponse.md | 1 - .../client/petstore/ruby/docs/FormatTest.md | 1 - .../petstore/ruby/docs/HasOnlyReadOnly.md | 1 - .../petstore/ruby/docs/HealthCheckResult.md | 1 - samples/client/petstore/ruby/docs/List.md | 1 - .../petstore/ruby/docs/MamalWithEnum.md | 1 - samples/client/petstore/ruby/docs/Mammal.md | 1 - .../client/petstore/ruby/docs/MammalAnyof.md | 1 - .../ruby/docs/MammalWithoutDiscriminator.md | 1 - samples/client/petstore/ruby/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../petstore/ruby/docs/Model200Response.md | 1 - .../client/petstore/ruby/docs/ModelReturn.md | 1 - samples/client/petstore/ruby/docs/Name.md | 1 - .../petstore/ruby/docs/NullableClass.md | 1 - .../client/petstore/ruby/docs/NumberOnly.md | 1 - .../ruby/docs/ObjectWithDeprecatedFields.md | 1 - samples/client/petstore/ruby/docs/Order.md | 1 - .../petstore/ruby/docs/OuterComposite.md | 1 - .../client/petstore/ruby/docs/OuterEnum.md | 1 - .../ruby/docs/OuterEnumDefaultValue.md | 1 - .../petstore/ruby/docs/OuterEnumInteger.md | 1 - .../ruby/docs/OuterEnumIntegerDefaultValue.md | 1 - .../ruby/docs/OuterObjectWithEnumProperty.md | 1 - samples/client/petstore/ruby/docs/Pet.md | 1 - .../petstore/ruby/docs/PropertyNameMapping.md | 1 - .../petstore/ruby/docs/ReadOnlyFirst.md | 1 - .../petstore/ruby/docs/SingleRefType.md | 1 - .../petstore/ruby/docs/SpecialModelName.md | 1 - samples/client/petstore/ruby/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - samples/client/petstore/ruby/docs/User.md | 1 - samples/client/petstore/ruby/docs/Whale.md | 1 - samples/client/petstore/ruby/docs/Zebra.md | 1 - samples/client/petstore/ruby/lib/petstore.rb | 1 - .../ruby/lib/petstore/api/another_fake_api.rb | 1 - .../ruby/lib/petstore/api/default_api.rb | 1 - .../ruby/lib/petstore/api/fake_api.rb | 1 - .../api/fake_classname_tags123_api.rb | 1 - .../petstore/ruby/lib/petstore/api/pet_api.rb | 1 - .../ruby/lib/petstore/api/store_api.rb | 1 - .../ruby/lib/petstore/api/user_api.rb | 1 - .../petstore/ruby/lib/petstore/api_client.rb | 2 - .../petstore/ruby/lib/petstore/api_error.rb | 1 - .../ruby/lib/petstore/configuration.rb | 2 - .../models/additional_properties_class.rb | 3 - .../petstore/models/all_of_with_single_ref.rb | 3 - .../ruby/lib/petstore/models/animal.rb | 3 - .../ruby/lib/petstore/models/api_response.rb | 3 - .../models/array_of_array_of_number_only.rb | 3 - .../petstore/models/array_of_number_only.rb | 3 - .../ruby/lib/petstore/models/array_test.rb | 3 - .../lib/petstore/models/capitalization.rb | 3 - .../petstore/ruby/lib/petstore/models/cat.rb | 3 - .../ruby/lib/petstore/models/category.rb | 3 - .../ruby/lib/petstore/models/class_model.rb | 3 - .../ruby/lib/petstore/models/client.rb | 3 - .../petstore/ruby/lib/petstore/models/cow.rb | 4 +- .../lib/petstore/models/deprecated_object.rb | 3 - .../petstore/ruby/lib/petstore/models/dog.rb | 3 - .../ruby/lib/petstore/models/enum_arrays.rb | 3 - .../ruby/lib/petstore/models/enum_class.rb | 4 +- .../ruby/lib/petstore/models/enum_test.rb | 3 - .../fake_big_decimal_map200_response.rb | 3 - .../petstore/ruby/lib/petstore/models/file.rb | 3 - .../petstore/models/file_schema_test_class.rb | 3 - .../petstore/ruby/lib/petstore/models/foo.rb | 3 - .../models/foo_get_default_response.rb | 3 - .../ruby/lib/petstore/models/format_test.rb | 3 - .../lib/petstore/models/has_only_read_only.rb | 3 - .../petstore/models/health_check_result.rb | 3 - .../petstore/ruby/lib/petstore/models/list.rb | 3 - .../lib/petstore/models/mamal_with_enum.rb | 2 - .../ruby/lib/petstore/models/mammal.rb | 2 - .../ruby/lib/petstore/models/mammal_anyof.rb | 2 - .../models/mammal_without_discriminator.rb | 2 - .../ruby/lib/petstore/models/map_test.rb | 3 - ...perties_and_additional_properties_class.rb | 3 - .../lib/petstore/models/model200_response.rb | 3 - .../ruby/lib/petstore/models/model_return.rb | 3 - .../petstore/ruby/lib/petstore/models/name.rb | 3 - .../lib/petstore/models/nullable_class.rb | 3 - .../ruby/lib/petstore/models/number_only.rb | 3 - .../models/object_with_deprecated_fields.rb | 3 - .../ruby/lib/petstore/models/order.rb | 3 - .../lib/petstore/models/outer_composite.rb | 3 - .../ruby/lib/petstore/models/outer_enum.rb | 4 +- .../models/outer_enum_default_value.rb | 4 +- .../lib/petstore/models/outer_enum_integer.rb | 4 +- .../outer_enum_integer_default_value.rb | 4 +- .../models/outer_object_with_enum_property.rb | 3 - .../petstore/ruby/lib/petstore/models/pet.rb | 3 - .../petstore/models/property_name_mapping.rb | 3 - .../lib/petstore/models/read_only_first.rb | 3 - .../lib/petstore/models/single_ref_type.rb | 4 +- .../lib/petstore/models/special_model_name.rb | 3 - .../petstore/ruby/lib/petstore/models/tag.rb | 3 - ..._freeform_additional_properties_request.rb | 3 - .../petstore/ruby/lib/petstore/models/user.rb | 3 - .../ruby/lib/petstore/models/whale.rb | 3 - .../ruby/lib/petstore/models/zebra.rb | 3 - .../petstore/ruby/lib/petstore/version.rb | 1 - samples/client/petstore/ruby/petstore.gemspec | 1 - .../client/petstore/ruby/spec/spec_helper.rb | 1 - .../petstore/scala-akka/docs/ApiResponse.md | 1 - .../petstore/scala-akka/docs/Category.md | 1 - .../client/petstore/scala-akka/docs/Order.md | 1 - .../client/petstore/scala-akka/docs/Pet.md | 1 - .../client/petstore/scala-akka/docs/Tag.md | 1 - .../client/petstore/scala-akka/docs/User.md | 1 - .../org/openapitools/client/apis/PetApi.scala | 42 +- .../openapitools/client/apis/StoreApi.scala | 20 +- .../openapitools/client/apis/UserApi.scala | 34 +- .../petstore/scala-pekko/docs/ApiResponse.md | 1 - .../petstore/scala-pekko/docs/Category.md | 1 - .../client/petstore/scala-pekko/docs/Order.md | 1 - .../client/petstore/scala-pekko/docs/Pet.md | 1 - .../client/petstore/scala-pekko/docs/Tag.md | 1 - .../client/petstore/scala-pekko/docs/User.md | 1 - .../main/java/org/openapitools/model/Pet.java | 20 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../model/AdditionalPropertiesAnyType.java | 2 - .../model/AdditionalPropertiesArray.java | 2 - .../model/AdditionalPropertiesBoolean.java | 2 - .../model/AdditionalPropertiesClass.java | 2 - .../model/AdditionalPropertiesInteger.java | 2 - .../model/AdditionalPropertiesNumber.java | 2 - .../model/AdditionalPropertiesObject.java | 2 - .../model/AdditionalPropertiesString.java | 2 - .../java/org/openapitools/model/Animal.java | 3 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../openapitools/model/ArrayOfNumberOnly.java | 2 - .../org/openapitools/model/ArrayTest.java | 2 - .../java/org/openapitools/model/BigCat.java | 4 - .../openapitools/model/Capitalization.java | 2 - .../main/java/org/openapitools/model/Cat.java | 3 - .../java/org/openapitools/model/Category.java | 2 - .../openapitools/model/ChildWithNullable.java | 3 - .../org/openapitools/model/ClassModel.java | 2 - .../java/org/openapitools/model/Client.java | 2 - .../model/ContainerDefaultValue.java | 2 - .../main/java/org/openapitools/model/Dog.java | 3 - .../org/openapitools/model/EnumArrays.java | 4 - .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 6 - .../java/org/openapitools/model/File.java | 2 - .../model/FileSchemaTestClass.java | 2 - .../org/openapitools/model/FormatTest.java | 2 - .../openapitools/model/HasOnlyReadOnly.java | 2 - .../java/org/openapitools/model/MapTest.java | 3 - ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../openapitools/model/Model200Response.java | 2 - .../openapitools/model/ModelApiResponse.java | 2 - .../org/openapitools/model/ModelList.java | 2 - .../org/openapitools/model/ModelReturn.java | 2 - .../java/org/openapitools/model/Name.java | 2 - .../model/NullableMapProperty.java | 2 - .../org/openapitools/model/NumberOnly.java | 2 - .../java/org/openapitools/model/Order.java | 3 - .../openapitools/model/OuterComposite.java | 2 - .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 4 - .../main/java/org/openapitools/model/Pet.java | 3 - .../org/openapitools/model/ReadOnlyFirst.java | 2 - ...ResponseObjectWithDifferentFieldNames.java | 2 - .../openapitools/model/SpecialModelName.java | 2 - .../main/java/org/openapitools/model/Tag.java | 2 - .../openapitools/model/TypeHolderDefault.java | 2 - .../openapitools/model/TypeHolderExample.java | 2 - .../java/org/openapitools/model/User.java | 2 - .../java/org/openapitools/model/XmlItem.java | 2 - .../model/AdditionalPropertiesAnyTypeDto.java | 2 - .../model/AdditionalPropertiesArrayDto.java | 2 - .../model/AdditionalPropertiesBooleanDto.java | 2 - .../model/AdditionalPropertiesClassDto.java | 2 - .../model/AdditionalPropertiesIntegerDto.java | 2 - .../model/AdditionalPropertiesNumberDto.java | 2 - .../model/AdditionalPropertiesObjectDto.java | 2 - .../model/AdditionalPropertiesStringDto.java | 2 - .../org/openapitools/model/AnimalDto.java | 3 - .../openapitools/model/ApiResponseDto.java | 2 - .../model/ArrayOfArrayOfNumberOnlyDto.java | 2 - .../model/ArrayOfNumberOnlyDto.java | 2 - .../org/openapitools/model/ArrayTestDto.java | 2 - .../org/openapitools/model/BigCatDto.java | 4 - .../openapitools/model/CapitalizationDto.java | 2 - .../java/org/openapitools/model/CatDto.java | 3 - .../org/openapitools/model/CategoryDto.java | 2 - .../model/ChildWithNullableDto.java | 3 - .../org/openapitools/model/ClassModelDto.java | 2 - .../org/openapitools/model/ClientDto.java | 2 - .../model/ContainerDefaultValueDto.java | 2 - .../java/org/openapitools/model/DogDto.java | 3 - .../org/openapitools/model/EnumArraysDto.java | 4 - .../org/openapitools/model/EnumClassDto.java | 2 - .../org/openapitools/model/EnumTestDto.java | 6 - .../java/org/openapitools/model/FileDto.java | 2 - .../model/FileSchemaTestClassDto.java | 2 - .../org/openapitools/model/FormatTestDto.java | 2 - .../model/HasOnlyReadOnlyDto.java | 2 - .../java/org/openapitools/model/ListDto.java | 2 - .../org/openapitools/model/MapTestDto.java | 3 - ...ertiesAndAdditionalPropertiesClassDto.java | 2 - .../model/Model200ResponseDto.java | 2 - .../java/org/openapitools/model/NameDto.java | 2 - .../model/NullableMapPropertyDto.java | 2 - .../org/openapitools/model/NumberOnlyDto.java | 2 - .../java/org/openapitools/model/OrderDto.java | 3 - .../openapitools/model/OuterCompositeDto.java | 2 - .../org/openapitools/model/OuterEnumDto.java | 2 - .../model/ParentWithNullableDto.java | 4 - .../java/org/openapitools/model/PetDto.java | 3 - .../openapitools/model/ReadOnlyFirstDto.java | 2 - ...ponseObjectWithDifferentFieldNamesDto.java | 2 - .../org/openapitools/model/ReturnDto.java | 2 - .../model/SpecialModelNameDto.java | 2 - .../java/org/openapitools/model/TagDto.java | 2 - .../model/TypeHolderDefaultDto.java | 2 - .../model/TypeHolderExampleDto.java | 2 - .../java/org/openapitools/model/UserDto.java | 2 - .../org/openapitools/model/XmlItemDto.java | 2 - .../PetstoreOpenAPI/Sources/APIs/PetAPI.swift | 2 - .../Sources/Models/ApiResponse.swift | 2 +- .../Sources/Models/Category.swift | 2 +- .../Sources/Models/Order.swift | 5 +- .../PetstoreOpenAPI/Sources/Models/Pet.swift | 5 +- .../PetstoreOpenAPI/Sources/Models/Tag.swift | 2 +- .../PetstoreOpenAPI/Sources/Models/User.swift | 2 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/BigCat.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/BigCat.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../CombineLibrary/Models/EnumArrays.swift | 6 +- .../CombineLibrary/Models/EnumTest.swift | 12 +- .../CombineLibrary/Models/MapTest.swift | 3 +- .../Sources/CombineLibrary/Models/Order.swift | 3 +- .../Sources/CombineLibrary/Models/Pet.swift | 3 +- .../PetstoreClient/Models/BigCat.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../Classes/OpenAPIs/Models/EnumArrays.swift | 6 +- .../Classes/OpenAPIs/Models/EnumTest.swift | 12 +- .../Classes/OpenAPIs/Models/MapTest.swift | 3 +- .../Classes/OpenAPIs/Models/Order.swift | 3 +- .../Classes/OpenAPIs/Models/Pet.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../PetstoreClient/Models/BigCat.swift | 3 +- .../PetstoreClient/Models/EnumArrays.swift | 6 +- .../PetstoreClient/Models/EnumTest.swift | 12 +- .../PetstoreClient/Models/MapTest.swift | 3 +- .../Sources/PetstoreClient/Models/Order.swift | 3 +- .../Sources/PetstoreClient/Models/Pet.swift | 3 +- .../builds/composed-schemas/api.ts | 2 - .../builds/composed-schemas/base.ts | 1 - .../builds/composed-schemas/common.ts | 1 - .../builds/composed-schemas/configuration.ts | 1 - .../builds/composed-schemas/index.ts | 1 - .../typescript-axios/builds/default/api.ts | 4 - .../typescript-axios/builds/default/base.ts | 1 - .../typescript-axios/builds/default/common.ts | 1 - .../builds/default/configuration.ts | 1 - .../typescript-axios/builds/default/index.ts | 1 - .../typescript-axios/builds/es6-target/api.ts | 4 - .../builds/es6-target/base.ts | 1 - .../builds/es6-target/common.ts | 1 - .../builds/es6-target/configuration.ts | 1 - .../builds/es6-target/index.ts | 1 - .../builds/test-petstore/api.ts | 13 - .../builds/test-petstore/base.ts | 1 - .../builds/test-petstore/common.ts | 1 - .../builds/test-petstore/configuration.ts | 1 - .../builds/test-petstore/index.ts | 1 - .../builds/with-complex-headers/api.ts | 5 - .../builds/with-complex-headers/base.ts | 1 - .../builds/with-complex-headers/common.ts | 1 - .../with-complex-headers/configuration.ts | 1 - .../builds/with-complex-headers/index.ts | 1 - .../api.ts | 13 - .../base.ts | 1 - .../common.ts | 1 - .../configuration.ts | 1 - .../index.ts | 1 - .../api.ts | 4 - .../base.ts | 1 - .../common.ts | 1 - .../configuration.ts | 1 - .../index.ts | 1 - .../builds/with-interfaces/api.ts | 4 - .../builds/with-interfaces/base.ts | 1 - .../builds/with-interfaces/common.ts | 1 - .../builds/with-interfaces/configuration.ts | 1 - .../builds/with-interfaces/index.ts | 1 - .../builds/with-node-imports/api.ts | 4 - .../builds/with-node-imports/base.ts | 1 - .../builds/with-node-imports/common.ts | 1 - .../builds/with-node-imports/configuration.ts | 1 - .../builds/with-node-imports/index.ts | 1 - .../api.ts | 1 - .../api/another/level/pet-api.ts | 1 - .../api/another/level/store-api.ts | 1 - .../api/another/level/user-api.ts | 1 - .../base.ts | 1 - .../common.ts | 1 - .../configuration.ts | 1 - .../index.ts | 1 - .../model/some/levels/deep/api-response.ts | 1 - .../model/some/levels/deep/category.ts | 1 - .../model/some/levels/deep/order.ts | 1 - .../model/some/levels/deep/pet.ts | 1 - .../model/some/levels/deep/tag.ts | 1 - .../model/some/levels/deep/user.ts | 1 - .../builds/with-npm-version/api.ts | 4 - .../builds/with-npm-version/base.ts | 1 - .../builds/with-npm-version/common.ts | 1 - .../builds/with-npm-version/configuration.ts | 1 - .../builds/with-npm-version/index.ts | 1 - .../with-single-request-parameters/api.ts | 4 - .../with-single-request-parameters/base.ts | 1 - .../with-single-request-parameters/common.ts | 1 - .../configuration.ts | 1 - .../with-single-request-parameters/index.ts | 1 - .../builds/with-string-enums/api.ts | 4 - .../builds/with-string-enums/base.ts | 1 - .../builds/with-string-enums/common.ts | 1 - .../builds/with-string-enums/configuration.ts | 1 - .../builds/with-string-enums/index.ts | 1 - .../builds/allOf-nullable/apis/DefaultApi.ts | 1 - .../builds/allOf-nullable/models/Club.ts | 3 - .../builds/allOf-nullable/models/Owner.ts | 3 - .../builds/allOf-nullable/runtime.ts | 1 - .../builds/allOf-readonly/apis/DefaultApi.ts | 1 - .../builds/allOf-readonly/models/Club.ts | 3 - .../builds/allOf-readonly/models/Owner.ts | 3 - .../builds/allOf-readonly/runtime.ts | 1 - .../default-v3.0/apis/AnotherFakeApi.ts | 1 - .../builds/default-v3.0/apis/DefaultApi.ts | 1 - .../builds/default-v3.0/apis/FakeApi.ts | 1 - .../apis/FakeClassnameTags123Api.ts | 1 - .../builds/default-v3.0/apis/PetApi.ts | 1 - .../builds/default-v3.0/apis/StoreApi.ts | 1 - .../builds/default-v3.0/apis/UserApi.ts | 1 - .../models/AdditionalPropertiesClass.ts | 3 - .../default-v3.0/models/AllOfWithSingleRef.ts | 3 - .../builds/default-v3.0/models/Animal.ts | 3 - .../models/ArrayOfArrayOfNumberOnly.ts | 3 - .../default-v3.0/models/ArrayOfNumberOnly.ts | 3 - .../builds/default-v3.0/models/ArrayTest.ts | 3 - .../default-v3.0/models/Capitalization.ts | 3 - .../builds/default-v3.0/models/Cat.ts | 3 - .../builds/default-v3.0/models/Category.ts | 3 - .../default-v3.0/models/ChildWithNullable.ts | 3 - .../builds/default-v3.0/models/ClassModel.ts | 3 - .../builds/default-v3.0/models/Client.ts | 3 - .../default-v3.0/models/DeprecatedObject.ts | 3 - .../builds/default-v3.0/models/Dog.ts | 3 - .../builds/default-v3.0/models/EnumArrays.ts | 3 - .../builds/default-v3.0/models/EnumClass.ts | 2 - .../builds/default-v3.0/models/EnumTest.ts | 3 - .../models/FakeBigDecimalMap200Response.ts | 3 - .../models/FileSchemaTestClass.ts | 3 - .../builds/default-v3.0/models/Foo.ts | 3 - .../models/FooGetDefaultResponse.ts | 3 - .../builds/default-v3.0/models/FormatTest.ts | 3 - .../default-v3.0/models/HasOnlyReadOnly.ts | 3 - .../default-v3.0/models/HealthCheckResult.ts | 3 - .../builds/default-v3.0/models/List.ts | 3 - .../builds/default-v3.0/models/MapTest.ts | 3 - ...dPropertiesAndAdditionalPropertiesClass.ts | 3 - .../default-v3.0/models/Model200Response.ts | 3 - .../default-v3.0/models/ModelApiResponse.ts | 3 - .../builds/default-v3.0/models/ModelFile.ts | 3 - .../builds/default-v3.0/models/Name.ts | 3 - .../default-v3.0/models/NullableClass.ts | 3 - .../builds/default-v3.0/models/NumberOnly.ts | 3 - .../models/ObjectWithDeprecatedFields.ts | 3 - .../builds/default-v3.0/models/Order.ts | 3 - .../default-v3.0/models/OuterComposite.ts | 3 - .../builds/default-v3.0/models/OuterEnum.ts | 2 - .../models/OuterEnumDefaultValue.ts | 2 - .../default-v3.0/models/OuterEnumInteger.ts | 2 - .../models/OuterEnumIntegerDefaultValue.ts | 2 - .../models/OuterObjectWithEnumProperty.ts | 3 - .../default-v3.0/models/ParentWithNullable.ts | 3 - .../builds/default-v3.0/models/Pet.ts | 3 - .../default-v3.0/models/ReadOnlyFirst.ts | 3 - .../builds/default-v3.0/models/Return.ts | 3 - .../default-v3.0/models/SingleRefType.ts | 2 - .../default-v3.0/models/SpecialModelName.ts | 3 - .../builds/default-v3.0/models/Tag.ts | 3 - ...lineFreeformAdditionalPropertiesRequest.ts | 3 - .../builds/default-v3.0/models/User.ts | 3 - .../builds/default-v3.0/runtime.ts | 1 - .../builds/default/apis/PetApi.ts | 1 - .../builds/default/apis/StoreApi.ts | 1 - .../builds/default/apis/UserApi.ts | 1 - .../builds/default/models/Category.ts | 3 - .../builds/default/models/ModelApiResponse.ts | 3 - .../builds/default/models/Order.ts | 3 - .../builds/default/models/Pet.ts | 3 - .../builds/default/models/Tag.ts | 3 - .../builds/default/models/User.ts | 3 - .../builds/default/runtime.ts | 1 - .../builds/enum/apis/DefaultApi.ts | 1 - .../builds/enum/models/EnumPatternObject.ts | 3 - .../FakeEnumRequestGetInline200Response.ts | 3 - .../builds/enum/models/NumberEnum.ts | 2 - .../builds/enum/models/StringEnum.ts | 2 - .../typescript-fetch/builds/enum/runtime.ts | 1 - .../builds/es6-target/src/apis/PetApi.ts | 1 - .../builds/es6-target/src/apis/StoreApi.ts | 1 - .../builds/es6-target/src/apis/UserApi.ts | 1 - .../builds/es6-target/src/models/Category.ts | 3 - .../es6-target/src/models/ModelApiResponse.ts | 3 - .../builds/es6-target/src/models/Order.ts | 3 - .../builds/es6-target/src/models/Pet.ts | 3 - .../builds/es6-target/src/models/Tag.ts | 3 - .../builds/es6-target/src/models/User.ts | 3 - .../builds/es6-target/src/runtime.ts | 1 - .../builds/multiple-parameters/apis/PetApi.ts | 1 - .../multiple-parameters/apis/StoreApi.ts | 1 - .../multiple-parameters/apis/UserApi.ts | 1 - .../multiple-parameters/models/Category.ts | 3 - .../models/ModelApiResponse.ts | 3 - .../multiple-parameters/models/Order.ts | 3 - .../builds/multiple-parameters/models/Pet.ts | 3 - .../builds/multiple-parameters/models/Tag.ts | 3 - .../builds/multiple-parameters/models/User.ts | 3 - .../builds/multiple-parameters/runtime.ts | 1 - .../builds/oneOf/apis/DefaultApi.ts | 1 - .../builds/oneOf/models/TestA.ts | 3 - .../builds/oneOf/models/TestB.ts | 3 - .../builds/oneOf/models/TestResponse.ts | 3 - .../typescript-fetch/builds/oneOf/runtime.ts | 1 - .../src/apis/PetApi.ts | 1 - .../src/apis/StoreApi.ts | 1 - .../src/apis/UserApi.ts | 1 - .../src/models/Category.ts | 3 - .../src/models/ModelApiResponse.ts | 3 - .../src/models/Order.ts | 3 - .../src/models/Pet.ts | 3 - .../src/models/Tag.ts | 3 - .../src/models/User.ts | 3 - .../src/runtime.ts | 1 - .../sagas-and-records/src/apis/BehaviorApi.ts | 1 - .../src/apis/BehaviorApiSagas.ts | 1 - .../sagas-and-records/src/apis/PetApi.ts | 1 - .../sagas-and-records/src/apis/PetApiSagas.ts | 1 - .../sagas-and-records/src/apis/PetPartApi.ts | 1 - .../src/apis/PetPartApiSagas.ts | 1 - .../sagas-and-records/src/apis/StoreApi.ts | 1 - .../src/apis/StoreApiSagas.ts | 1 - .../sagas-and-records/src/apis/UserApi.ts | 1 - .../src/apis/UserApiSagas.ts | 1 - .../src/models/BehaviorType.ts | 2 - .../sagas-and-records/src/models/Category.ts | 3 - .../src/models/CategoryRecord.ts | 2 - .../src/models/DefaultMetaOnlyResponse.ts | 3 - .../models/DefaultMetaOnlyResponseRecord.ts | 2 - .../src/models/DeploymentRequestStatus.ts | 2 - .../sagas-and-records/src/models/ErrorCode.ts | 2 - .../src/models/FindPetsByStatusResponse.ts | 3 - .../models/FindPetsByStatusResponseRecord.ts | 2 - .../src/models/FindPetsByUserResponse.ts | 3 - .../models/FindPetsByUserResponseRecord.ts | 2 - .../models/GetBehaviorPermissionsResponse.ts | 3 - .../GetBehaviorPermissionsResponseRecord.ts | 2 - .../src/models/GetBehaviorTypeResponse.ts | 3 - .../models/GetBehaviorTypeResponseRecord.ts | 2 - .../src/models/GetMatchingPartsResponse.ts | 3 - .../models/GetMatchingPartsResponseRecord.ts | 2 - .../src/models/GetPetPartTypeResponse.ts | 3 - .../models/GetPetPartTypeResponseRecord.ts | 2 - .../sagas-and-records/src/models/ItemId.ts | 3 - .../src/models/ItemIdRecord.ts | 2 - .../src/models/MatchingParts.ts | 3 - .../src/models/MatchingPartsRecord.ts | 2 - .../src/models/ModelApiResponse.ts | 3 - .../src/models/ModelApiResponseRecord.ts | 2 - .../src/models/ModelError.ts | 3 - .../src/models/ModelErrorRecord.ts | 2 - .../sagas-and-records/src/models/Order.ts | 3 - .../src/models/OrderRecord.ts | 2 - .../sagas-and-records/src/models/Part.ts | 3 - .../src/models/PartRecord.ts | 2 - .../sagas-and-records/src/models/Pet.ts | 3 - .../src/models/PetPartType.ts | 2 - .../sagas-and-records/src/models/PetRecord.ts | 2 - .../src/models/PetRegionsResponse.ts | 3 - .../src/models/PetRegionsResponseRecord.ts | 2 - .../src/models/ResponseMeta.ts | 3 - .../src/models/ResponseMetaRecord.ts | 2 - .../sagas-and-records/src/models/Tag.ts | 3 - .../sagas-and-records/src/models/TagRecord.ts | 2 - .../sagas-and-records/src/models/User.ts | 3 - .../src/models/UserRecord.ts | 2 - .../src/models/WarningCode.ts | 2 - .../builds/sagas-and-records/src/runtime.ts | 1 - .../apis/AnotherFakeApi.ts | 1 - .../apis/DefaultApi.ts | 1 - .../snakecase-discriminator/apis/FakeApi.ts | 1 - .../apis/FakeClassnameTags123Api.ts | 1 - .../snakecase-discriminator/apis/PetApi.ts | 1 - .../snakecase-discriminator/apis/StoreApi.ts | 1 - .../snakecase-discriminator/apis/UserApi.ts | 1 - .../models/AdditionalPropertiesClass.ts | 3 - .../models/AllOfWithSingleRef.ts | 3 - .../snakecase-discriminator/models/Animal.ts | 3 - .../models/ArrayOfArrayOfNumberOnly.ts | 3 - .../models/ArrayOfNumberOnly.ts | 3 - .../models/ArrayTest.ts | 3 - .../models/Capitalization.ts | 3 - .../snakecase-discriminator/models/Cat.ts | 3 - .../models/Category.ts | 3 - .../models/ClassModel.ts | 3 - .../snakecase-discriminator/models/Client.ts | 3 - .../models/DeprecatedObject.ts | 3 - .../snakecase-discriminator/models/Dog.ts | 3 - .../models/EnumArrays.ts | 3 - .../models/EnumClass.ts | 2 - .../models/EnumTest.ts | 3 - .../models/FakeBigDecimalMap200Response.ts | 3 - .../models/FileSchemaTestClass.ts | 3 - .../snakecase-discriminator/models/Foo.ts | 3 - .../models/FooGetDefaultResponse.ts | 3 - .../models/FormatTest.ts | 3 - .../models/HasOnlyReadOnly.ts | 3 - .../models/HealthCheckResult.ts | 3 - .../snakecase-discriminator/models/List.ts | 3 - .../snakecase-discriminator/models/MapTest.ts | 3 - ...dPropertiesAndAdditionalPropertiesClass.ts | 3 - .../models/Model200Response.ts | 3 - .../models/ModelApiResponse.ts | 3 - .../models/ModelFile.ts | 3 - .../snakecase-discriminator/models/Name.ts | 3 - .../models/NullableClass.ts | 3 - .../models/NumberOnly.ts | 3 - .../models/ObjectWithDeprecatedFields.ts | 3 - .../snakecase-discriminator/models/Order.ts | 3 - .../models/OuterComposite.ts | 3 - .../models/OuterEnum.ts | 2 - .../models/OuterEnumDefaultValue.ts | 2 - .../models/OuterEnumInteger.ts | 2 - .../models/OuterEnumIntegerDefaultValue.ts | 2 - .../models/OuterObjectWithEnumProperty.ts | 3 - .../snakecase-discriminator/models/Pet.ts | 3 - .../models/ReadOnlyFirst.ts | 3 - .../snakecase-discriminator/models/Return.ts | 3 - .../models/SingleRefType.ts | 2 - .../models/SpecialModelName.ts | 3 - .../snakecase-discriminator/models/Tag.ts | 3 - .../snakecase-discriminator/models/User.ts | 3 - .../builds/snakecase-discriminator/runtime.ts | 1 - .../validation-attributes/apis/PetApi.ts | 1 - .../validation-attributes/apis/StoreApi.ts | 1 - .../validation-attributes/apis/UserApi.ts | 1 - .../validation-attributes/models/Category.ts | 3 - .../models/ModelApiResponse.ts | 3 - .../validation-attributes/models/Order.ts | 3 - .../validation-attributes/models/Pet.ts | 3 - .../validation-attributes/models/Tag.ts | 3 - .../validation-attributes/models/User.ts | 3 - .../builds/validation-attributes/runtime.ts | 1 - .../builds/with-interfaces/apis/PetApi.ts | 1 - .../builds/with-interfaces/apis/StoreApi.ts | 1 - .../builds/with-interfaces/apis/UserApi.ts | 1 - .../builds/with-interfaces/models/Category.ts | 3 - .../models/ModelApiResponse.ts | 3 - .../builds/with-interfaces/models/Order.ts | 3 - .../builds/with-interfaces/models/Pet.ts | 3 - .../builds/with-interfaces/models/Tag.ts | 3 - .../builds/with-interfaces/models/User.ts | 3 - .../builds/with-interfaces/runtime.ts | 1 - .../with-npm-version/src/apis/PetApi.ts | 1 - .../with-npm-version/src/apis/StoreApi.ts | 1 - .../with-npm-version/src/apis/UserApi.ts | 1 - .../with-npm-version/src/models/Category.ts | 3 - .../src/models/ModelApiResponse.ts | 3 - .../with-npm-version/src/models/Order.ts | 3 - .../builds/with-npm-version/src/models/Pet.ts | 3 - .../builds/with-npm-version/src/models/Tag.ts | 3 - .../with-npm-version/src/models/User.ts | 3 - .../builds/with-npm-version/src/runtime.ts | 1 - .../with-string-enums/apis/DefaultApi.ts | 1 - .../models/EnumPatternObject.ts | 3 - .../FakeEnumRequestGetInline200Response.ts | 3 - .../with-string-enums/models/NumberEnum.ts | 2 - .../with-string-enums/models/StringEnum.ts | 2 - .../builds/with-string-enums/runtime.ts | 1 - .../without-runtime-checks/src/apis/PetApi.ts | 1 - .../src/apis/StoreApi.ts | 1 - .../src/apis/UserApi.ts | 1 - .../src/models/index.ts | 13 +- .../without-runtime-checks/src/runtime.ts | 1 - .../with-npm-version/src/apis/PetApi.ts | 1 - .../with-npm-version/src/apis/StoreApi.ts | 1 - .../with-npm-version/src/apis/UserApi.ts | 1 - .../with-npm-version/src/models/Category.ts | 2 - .../src/models/ModelApiResponse.ts | 2 - .../with-npm-version/src/models/Order.ts | 2 - .../builds/with-npm-version/src/models/Pet.ts | 2 - .../builds/with-npm-version/src/models/Tag.ts | 2 - .../with-npm-version/src/models/User.ts | 2 - .../builds/with-npm-version/src/runtime.ts | 1 - .../builds/default/apis/PetApi.ts | 1 - .../builds/default/apis/StoreApi.ts | 1 - .../builds/default/apis/UserApi.ts | 1 - .../builds/default/models/ApiResponse.ts | 1 - .../builds/default/models/Category.ts | 1 - .../builds/default/models/Order.ts | 1 - .../builds/default/models/Pet.ts | 1 - .../builds/default/models/Tag.ts | 1 - .../builds/default/models/User.ts | 1 - .../typescript-rxjs/builds/default/runtime.ts | 1 - .../builds/es6-target/apis/PetApi.ts | 1 - .../builds/es6-target/apis/StoreApi.ts | 1 - .../builds/es6-target/apis/UserApi.ts | 1 - .../builds/es6-target/models/ApiResponse.ts | 1 - .../builds/es6-target/models/Category.ts | 1 - .../builds/es6-target/models/Order.ts | 1 - .../builds/es6-target/models/Pet.ts | 1 - .../builds/es6-target/models/Tag.ts | 1 - .../builds/es6-target/models/User.ts | 1 - .../builds/es6-target/runtime.ts | 1 - .../builds/with-npm-version/apis/PetApi.ts | 1 - .../builds/with-npm-version/apis/StoreApi.ts | 1 - .../builds/with-npm-version/apis/UserApi.ts | 1 - .../with-npm-version/models/ApiResponse.ts | 1 - .../with-npm-version/models/Category.ts | 1 - .../builds/with-npm-version/models/Order.ts | 1 - .../builds/with-npm-version/models/Pet.ts | 1 - .../builds/with-npm-version/models/Tag.ts | 1 - .../builds/with-npm-version/models/User.ts | 1 - .../builds/with-npm-version/runtime.ts | 1 - .../with-progress-subscriber/apis/PetApi.ts | 1 - .../with-progress-subscriber/apis/StoreApi.ts | 1 - .../with-progress-subscriber/apis/UserApi.ts | 1 - .../models/ApiResponse.ts | 1 - .../models/Category.ts | 1 - .../with-progress-subscriber/models/Order.ts | 1 - .../with-progress-subscriber/models/Pet.ts | 1 - .../with-progress-subscriber/models/Tag.ts | 1 - .../with-progress-subscriber/models/User.ts | 1 - .../with-progress-subscriber/runtime.ts | 1 - samples/documentation/html2/index.html | 6004 ++++++++--------- .../client/elm/src/Api/Request/Default.elm | 6 - .../client/model/AbstractOpenApiSchema.java | 1 - .../ruby-client/lib/x_auth_id_alias.rb | 1 - .../lib/x_auth_id_alias/api/usage_api.rb | 1 - .../lib/x_auth_id_alias/api_client.rb | 2 - .../lib/x_auth_id_alias/api_error.rb | 1 - .../lib/x_auth_id_alias/configuration.rb | 2 - .../lib/x_auth_id_alias/version.rb | 1 - .../ruby-client/spec/spec_helper.rb | 1 - .../ruby-client/x_auth_id_alias.gemspec | 1 - .../ruby/dynamic_servers.gemspec | 1 - .../ruby/lib/dynamic_servers.rb | 1 - .../ruby/lib/dynamic_servers/api/usage_api.rb | 1 - .../ruby/lib/dynamic_servers/api_client.rb | 2 - .../ruby/lib/dynamic_servers/api_error.rb | 1 - .../ruby/lib/dynamic_servers/configuration.rb | 2 - .../ruby/lib/dynamic_servers/version.rb | 1 - .../dynamic-servers/ruby/spec/spec_helper.rb | 1 - .../ruby-client/docs/ArrayAlias.md | 1 - .../ruby-client/docs/MapAlias.md | 1 - .../ruby-client/lib/petstore.rb | 1 - .../ruby-client/lib/petstore/api/usage_api.rb | 1 - .../ruby-client/lib/petstore/api_client.rb | 2 - .../ruby-client/lib/petstore/api_error.rb | 1 - .../ruby-client/lib/petstore/configuration.rb | 2 - .../lib/petstore/models/array_alias.rb | 3 - .../lib/petstore/models/map_alias.rb | 3 - .../ruby-client/lib/petstore/version.rb | 1 - .../ruby-client/petstore.gemspec | 1 - .../ruby-client/spec/spec_helper.rb | 1 - .../lib/src/model/bar_ref_or_value.dart | 1 - .../lib/src/model/entity.dart | 1 - .../lib/src/model/entity_ref.dart | 1 - .../lib/src/model/foo_ref_or_value.dart | 1 - .../lib/src/model/fruit.dart | 1 - .../lib/src/model/pizza.dart | 1 - .../lib/src/model/child_with_nullable.dart | 1 - .../lib/src/model/enum_arrays.dart | 2 - .../lib/src/model/enum_test.dart | 4 - .../lib/src/model/map_test.dart | 1 - .../lib/src/model/order.dart | 1 - .../lib/src/model/parent_with_nullable.dart | 1 - .../lib/src/model/pet.dart | 1 - .../lib/src/model/animal.dart | 1 - .../lib/src/model/child_with_nullable.dart | 1 - .../lib/src/model/enum_arrays.dart | 2 - .../lib/src/model/enum_test.dart | 4 - .../lib/src/model/map_test.dart | 1 - .../lib/src/model/order.dart | 1 - .../lib/src/model/parent_with_nullable.dart | 2 - .../lib/src/model/pet.dart | 1 - .../lib/model/api_response.dart | 1 - .../lib/model/category.dart | 1 - .../petstore_client_lib/lib/model/order.dart | 2 - .../petstore_client_lib/lib/model/pet.dart | 2 - .../petstore_client_lib/lib/model/tag.dart | 1 - .../petstore_client_lib/lib/model/user.dart | 1 - .../model/additional_properties_class.dart | 1 - .../lib/model/all_of_with_single_ref.dart | 1 - .../lib/model/animal.dart | 1 - .../lib/model/api_response.dart | 1 - .../model/array_of_array_of_number_only.dart | 1 - .../lib/model/array_of_number_only.dart | 1 - .../lib/model/array_test.dart | 1 - .../lib/model/capitalization.dart | 1 - .../lib/model/cat.dart | 1 - .../lib/model/category.dart | 1 - .../lib/model/child_with_nullable.dart | 2 - .../lib/model/class_model.dart | 1 - .../lib/model/deprecated_object.dart | 1 - .../lib/model/dog.dart | 1 - .../lib/model/enum_arrays.dart | 3 - .../lib/model/enum_class.dart | 1 - .../lib/model/enum_test.dart | 5 - .../fake_big_decimal_map200_response.dart | 1 - .../lib/model/file_schema_test_class.dart | 1 - .../lib/model/foo.dart | 1 - .../lib/model/foo_get_default_response.dart | 1 - .../lib/model/format_test.dart | 1 - .../lib/model/has_only_read_only.dart | 1 - .../lib/model/health_check_result.dart | 1 - .../lib/model/map_test.dart | 2 - ...rties_and_additional_properties_class.dart | 1 - .../lib/model/model200_response.dart | 1 - .../lib/model/model_client.dart | 1 - .../lib/model/model_file.dart | 1 - .../lib/model/model_list.dart | 1 - .../lib/model/model_return.dart | 1 - .../lib/model/name.dart | 1 - .../lib/model/nullable_class.dart | 1 - .../lib/model/number_only.dart | 1 - .../model/object_with_deprecated_fields.dart | 1 - .../lib/model/order.dart | 2 - .../lib/model/outer_composite.dart | 1 - .../lib/model/outer_enum.dart | 1 - .../lib/model/outer_enum_default_value.dart | 1 - .../lib/model/outer_enum_integer.dart | 1 - .../outer_enum_integer_default_value.dart | 1 - .../outer_object_with_enum_property.dart | 1 - .../lib/model/parent_with_nullable.dart | 2 - .../lib/model/pet.dart | 2 - .../lib/model/read_only_first.dart | 1 - .../lib/model/single_ref_type.dart | 1 - .../lib/model/special_model_name.dart | 1 - .../lib/model/tag.dart | 1 - ...reeform_additional_properties_request.dart | 1 - .../lib/model/user.dart | 1 - .../model_category.go | 1 - .../model_pet.go | 1 - .../model_tag.go | 1 - .../go/go-petstore/model_200_response.go | 1 - .../model__foo_get_default_response.go | 1 - .../go-petstore/model__special_model_name_.go | 1 - .../model_additional_properties_class.go | 1 - .../model_all_of_primitive_types.go | 1 - .../petstore/go/go-petstore/model_animal.go | 1 - .../model_any_of_primitive_type.go | 1 - .../go/go-petstore/model_api_response.go | 1 - .../petstore/go/go-petstore/model_apple.go | 1 - .../go/go-petstore/model_apple_req.go | 1 - .../model_array_of_array_of_number_only.go | 1 - .../go-petstore/model_array_of_number_only.go | 1 - .../go/go-petstore/model_array_test_.go | 1 - .../petstore/go/go-petstore/model_banana.go | 1 - .../go/go-petstore/model_banana_req.go | 1 - .../go/go-petstore/model_capitalization.go | 1 - .../petstore/go/go-petstore/model_cat.go | 1 - .../petstore/go/go-petstore/model_category.go | 1 - .../go/go-petstore/model_class_model.go | 1 - .../petstore/go/go-petstore/model_client.go | 1 - .../petstore/go/go-petstore/model_dog.go | 1 - .../model_duplicated_prop_child.go | 1 - .../model_duplicated_prop_parent.go | 1 - .../go/go-petstore/model_enum_arrays.go | 1 - .../go/go-petstore/model_enum_class.go | 1 - .../go/go-petstore/model_enum_test_.go | 1 - .../petstore/go/go-petstore/model_file.go | 1 - .../model_file_schema_test_class.go | 1 - .../go/go-petstore/model_filter_any.go | 1 - .../go/go-petstore/model_filter_type_range.go | 1 - .../go/go-petstore/model_filter_type_regex.go | 1 - .../petstore/go/go-petstore/model_foo.go | 1 - .../go/go-petstore/model_format_test_.go | 1 - .../petstore/go/go-petstore/model_fruit.go | 1 - .../go/go-petstore/model_fruit_req.go | 1 - .../petstore/go/go-petstore/model_gm_fruit.go | 1 - .../go-petstore/model_has_only_read_only.go | 1 - .../go-petstore/model_health_check_result.go | 1 - .../go/go-petstore/model_ids_wrapper.go | 1 - .../go/go-petstore/model_incident_data.go | 1 - .../petstore/go/go-petstore/model_list.go | 1 - .../petstore/go/go-petstore/model_mammal.go | 1 - .../go/go-petstore/model_map_of_file_test_.go | 1 - .../go/go-petstore/model_map_test_.go | 1 - ...perties_and_additional_properties_class.go | 1 - .../petstore/go/go-petstore/model_name.go | 1 - .../go/go-petstore/model_nullable_all_of.go | 1 - .../model_nullable_all_of_child.go | 1 - .../go/go-petstore/model_nullable_class.go | 1 - .../go/go-petstore/model_number_only.go | 1 - .../model_one_of_primitive_type.go | 1 - .../model_one_of_primitive_type_child.go | 1 - .../model_one_of_primitive_types.go | 1 - .../model_one_of_with_complex_type.go | 1 - .../petstore/go/go-petstore/model_order.go | 1 - .../go/go-petstore/model_outer_composite.go | 1 - .../go/go-petstore/model_outer_enum.go | 1 - .../model_outer_enum_default_value.go | 1 - .../go-petstore/model_outer_enum_integer.go | 1 - .../model_outer_enum_integer_default_value.go | 1 - .../petstore/go/go-petstore/model_pet.go | 1 - .../model_property_name_mapping.go | 1 - .../go/go-petstore/model_read_only_first.go | 1 - .../model_read_only_with_default.go | 1 - .../petstore/go/go-petstore/model_return.go | 1 - ...odel_some_ops_requiring_ref_int_request.go | 1 - .../petstore/go/go-petstore/model_tag.go | 1 - ..._freeform_additional_properties_request.go | 1 - .../petstore/go/go-petstore/model_user.go | 1 - .../petstore/go/go-petstore/model_whale.go | 1 - .../petstore/go/go-petstore/model_zebra.go | 1 - .../docs/ChildSchema.md | 1 - .../docs/MySchemaNameCharacters.md | 1 - .../docs/Parent.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../client/model/ChildSchema.java | 3 +- .../client/model/MySchemaNameCharacters.java | 3 +- .../org/openapitools/client/model/Parent.java | 3 +- .../jersey2-java8-swagger1/docs/Category.md | 1 - .../docs/ModelApiResponse.md | 1 - .../java/jersey2-java8-swagger1/docs/Order.md | 1 - .../java/jersey2-java8-swagger1/docs/Pet.md | 1 - .../java/jersey2-java8-swagger1/docs/Tag.md | 1 - .../java/jersey2-java8-swagger1/docs/User.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../jersey2-java8-swagger2/docs/Category.md | 1 - .../docs/ModelApiResponse.md | 1 - .../java/jersey2-java8-swagger2/docs/Order.md | 1 - .../java/jersey2-java8-swagger2/docs/Pet.md | 1 - .../java/jersey2-java8-swagger2/docs/Tag.md | 1 - .../java/jersey2-java8-swagger2/docs/User.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../openapitools/client/model/Category.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../docs/AdditionalPropertiesClass.md | 1 - .../java/jersey2-java8/docs/Animal.md | 1 - .../petstore/java/jersey2-java8/docs/Apple.md | 1 - .../java/jersey2-java8/docs/AppleReq.md | 1 - .../docs/ArrayOfArrayOfNumberOnly.md | 1 - .../jersey2-java8/docs/ArrayOfNumberOnly.md | 1 - .../java/jersey2-java8/docs/ArrayTest.md | 1 - .../java/jersey2-java8/docs/Banana.md | 1 - .../java/jersey2-java8/docs/BananaReq.md | 1 - .../java/jersey2-java8/docs/BasquePig.md | 1 - .../java/jersey2-java8/docs/Capitalization.md | 1 - .../petstore/java/jersey2-java8/docs/Cat.md | 1 - .../java/jersey2-java8/docs/Category.md | 1 - .../java/jersey2-java8/docs/ChildCat.md | 1 - .../java/jersey2-java8/docs/ClassModel.md | 1 - .../java/jersey2-java8/docs/Client.md | 1 - .../docs/ComplexQuadrilateral.md | 1 - .../java/jersey2-java8/docs/DanishPig.md | 1 - .../jersey2-java8/docs/DeprecatedObject.md | 1 - .../petstore/java/jersey2-java8/docs/Dog.md | 1 - .../java/jersey2-java8/docs/Drawing.md | 1 - .../java/jersey2-java8/docs/EnumArrays.md | 1 - .../java/jersey2-java8/docs/EnumClass.md | 1 - .../java/jersey2-java8/docs/EnumTest.md | 1 - .../jersey2-java8/docs/EquilateralTriangle.md | 1 - .../jersey2-java8/docs/FileSchemaTestClass.md | 1 - .../petstore/java/jersey2-java8/docs/Foo.md | 1 - .../docs/FooGetDefaultResponse.md | 1 - .../java/jersey2-java8/docs/FormatTest.md | 1 - .../petstore/java/jersey2-java8/docs/Fruit.md | 1 - .../java/jersey2-java8/docs/FruitReq.md | 1 - .../java/jersey2-java8/docs/GmFruit.md | 1 - .../jersey2-java8/docs/GrandparentAnimal.md | 1 - .../jersey2-java8/docs/HasOnlyReadOnly.md | 1 - .../jersey2-java8/docs/HealthCheckResult.md | 1 - .../jersey2-java8/docs/IsoscelesTriangle.md | 1 - .../java/jersey2-java8/docs/Mammal.md | 1 - .../java/jersey2-java8/docs/MammalAnyof.md | 1 - .../java/jersey2-java8/docs/MapTest.md | 1 - ...dPropertiesAndAdditionalPropertiesClass.md | 1 - .../jersey2-java8/docs/Model200Response.md | 1 - .../jersey2-java8/docs/ModelApiResponse.md | 1 - .../java/jersey2-java8/docs/ModelFile.md | 1 - .../java/jersey2-java8/docs/ModelList.md | 1 - .../java/jersey2-java8/docs/ModelReturn.md | 1 - .../petstore/java/jersey2-java8/docs/Name.md | 1 - .../java/jersey2-java8/docs/NullableClass.md | 1 - .../java/jersey2-java8/docs/NullableShape.md | 1 - .../java/jersey2-java8/docs/NumberOnly.md | 1 - .../docs/ObjectWithDeprecatedFields.md | 1 - .../petstore/java/jersey2-java8/docs/Order.md | 1 - .../java/jersey2-java8/docs/OuterComposite.md | 1 - .../java/jersey2-java8/docs/OuterEnum.md | 1 - .../docs/OuterEnumDefaultValue.md | 1 - .../jersey2-java8/docs/OuterEnumInteger.md | 1 - .../docs/OuterEnumIntegerDefaultValue.md | 1 - .../java/jersey2-java8/docs/ParentPet.md | 1 - .../petstore/java/jersey2-java8/docs/Pet.md | 1 - .../petstore/java/jersey2-java8/docs/Pig.md | 1 - .../java/jersey2-java8/docs/Quadrilateral.md | 1 - .../docs/QuadrilateralInterface.md | 1 - .../java/jersey2-java8/docs/ReadOnlyFirst.md | 1 - .../jersey2-java8/docs/ScaleneTriangle.md | 1 - .../petstore/java/jersey2-java8/docs/Shape.md | 1 - .../java/jersey2-java8/docs/ShapeInterface.md | 1 - .../java/jersey2-java8/docs/ShapeOrNull.md | 1 - .../jersey2-java8/docs/SimpleQuadrilateral.md | 1 - .../jersey2-java8/docs/SpecialModelName.md | 1 - .../petstore/java/jersey2-java8/docs/Tag.md | 1 - ...lineFreeformAdditionalPropertiesRequest.md | 1 - .../java/jersey2-java8/docs/Triangle.md | 1 - .../jersey2-java8/docs/TriangleInterface.md | 1 - .../petstore/java/jersey2-java8/docs/User.md | 1 - .../petstore/java/jersey2-java8/docs/Whale.md | 1 - .../petstore/java/jersey2-java8/docs/Zebra.md | 1 - .../client/model/AbstractOpenApiSchema.java | 1 - .../model/AdditionalPropertiesClass.java | 3 - .../org/openapitools/client/model/Animal.java | 3 +- .../org/openapitools/client/model/Apple.java | 1 - .../openapitools/client/model/AppleReq.java | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/Banana.java | 1 - .../openapitools/client/model/BananaReq.java | 1 - .../openapitools/client/model/BasquePig.java | 1 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 3 +- .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/ChildCat.java | 3 +- .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../client/model/ComplexQuadrilateral.java | 1 - .../openapitools/client/model/DanishPig.java | 1 - .../client/model/DeprecatedObject.java | 1 - .../org/openapitools/client/model/Dog.java | 3 +- .../openapitools/client/model/Drawing.java | 5 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 8 - .../client/model/EquilateralTriangle.java | 1 - .../client/model/FileSchemaTestClass.java | 1 - .../org/openapitools/client/model/Foo.java | 1 - .../client/model/FooGetDefaultResponse.java | 1 - .../openapitools/client/model/FormatTest.java | 1 - .../org/openapitools/client/model/Fruit.java | 2 +- .../openapitools/client/model/FruitReq.java | 2 +- .../openapitools/client/model/GmFruit.java | 2 +- .../client/model/GrandparentAnimal.java | 3 +- .../client/model/HasOnlyReadOnly.java | 1 - .../client/model/HealthCheckResult.java | 3 - .../client/model/IsoscelesTriangle.java | 1 - .../org/openapitools/client/model/Mammal.java | 2 +- .../client/model/MammalAnyof.java | 2 +- .../openapitools/client/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../client/model/Model200Response.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 1 - .../client/model/NullableClass.java | 21 - .../client/model/NullableShape.java | 2 +- .../openapitools/client/model/NumberOnly.java | 1 - .../model/ObjectWithDeprecatedFields.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../client/model/OuterComposite.java | 1 - .../openapitools/client/model/ParentPet.java | 3 +- .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Pig.java | 2 +- .../client/model/Quadrilateral.java | 2 +- .../client/model/QuadrilateralInterface.java | 1 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/ScaleneTriangle.java | 1 - .../org/openapitools/client/model/Shape.java | 2 +- .../client/model/ShapeInterface.java | 1 - .../client/model/ShapeOrNull.java | 2 +- .../client/model/SimpleQuadrilateral.java | 1 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - ...neFreeformAdditionalPropertiesRequest.java | 1 - .../openapitools/client/model/Triangle.java | 2 +- .../client/model/TriangleInterface.java | 1 - .../org/openapitools/client/model/User.java | 7 - .../org/openapitools/client/model/Whale.java | 1 - .../org/openapitools/client/model/Zebra.java | 2 - .../client/petstore/python-aiohttp/README.md | 2 - .../python-aiohttp/docs/AnotherFakeApi.md | 2 - .../python-aiohttp/docs/DefaultApi.md | 2 - .../petstore/python-aiohttp/docs/FakeApi.md | 74 - .../docs/FakeClassnameTags123Api.md | 2 - .../docs/ImportTestDatetimeApi.md | 2 - .../petstore/python-aiohttp/docs/PetApi.md | 18 - .../petstore/python-aiohttp/docs/StoreApi.md | 8 - .../petstore/python-aiohttp/docs/UserApi.md | 16 - .../python-aiohttp/petstore_api/__init__.py | 1 - .../petstore_api/api/another_fake_api.py | 1 - .../petstore_api/api/default_api.py | 1 - .../petstore_api/api/fake_api.py | 1 - .../api/fake_classname_tags123_api.py | 1 - .../api/import_test_datetime_api.py | 1 - .../petstore_api/api/pet_api.py | 1 - .../petstore_api/api/store_api.py | 1 - .../petstore_api/api/user_api.py | 1 - .../python-aiohttp/petstore_api/api_client.py | 1 - .../petstore_api/configuration.py | 1 - .../python-aiohttp/petstore_api/exceptions.py | 1 - .../petstore_api/models/__init__.py | 1 - .../models/additional_properties_any_type.py | 1 - .../models/additional_properties_class.py | 1 - .../models/additional_properties_object.py | 1 - ...tional_properties_with_description_only.py | 1 - .../petstore_api/models/all_of_super_model.py | 1 - .../models/all_of_with_single_ref.py | 1 - .../petstore_api/models/animal.py | 1 - .../petstore_api/models/any_of_color.py | 1 - .../petstore_api/models/any_of_pig.py | 1 - .../models/array_of_array_of_model.py | 1 - .../models/array_of_array_of_number_only.py | 1 - .../models/array_of_number_only.py | 1 - .../petstore_api/models/array_test.py | 1 - .../petstore_api/models/base_discriminator.py | 1 - .../petstore_api/models/basque_pig.py | 1 - .../petstore_api/models/bathing.py | 1 - .../petstore_api/models/capitalization.py | 1 - .../python-aiohttp/petstore_api/models/cat.py | 1 - .../petstore_api/models/category.py | 1 - .../models/circular_all_of_ref.py | 1 - .../models/circular_reference_model.py | 1 - .../petstore_api/models/class_model.py | 1 - .../petstore_api/models/client.py | 1 - .../petstore_api/models/color.py | 1 - .../petstore_api/models/creature.py | 1 - .../petstore_api/models/creature_info.py | 1 - .../petstore_api/models/danish_pig.py | 1 - .../petstore_api/models/deprecated_object.py | 1 - .../models/discriminator_all_of_sub.py | 1 - .../models/discriminator_all_of_super.py | 1 - .../python-aiohttp/petstore_api/models/dog.py | 1 - .../petstore_api/models/dummy_model.py | 1 - .../petstore_api/models/enum_arrays.py | 1 - .../petstore_api/models/enum_class.py | 2 - .../petstore_api/models/enum_string1.py | 2 - .../petstore_api/models/enum_string2.py | 2 - .../petstore_api/models/enum_test.py | 1 - .../petstore_api/models/feeding.py | 1 - .../petstore_api/models/file.py | 1 - .../models/file_schema_test_class.py | 1 - .../petstore_api/models/first_ref.py | 1 - .../python-aiohttp/petstore_api/models/foo.py | 1 - .../models/foo_get_default_response.py | 1 - .../petstore_api/models/format_test.py | 1 - .../petstore_api/models/has_only_read_only.py | 1 - .../models/health_check_result.py | 1 - .../petstore_api/models/info.py | 1 - .../models/inner_dict_with_property.py | 1 - .../petstore_api/models/input_all_of.py | 1 - .../petstore_api/models/int_or_string.py | 1 - .../petstore_api/models/list_class.py | 1 - .../models/map_of_array_of_model.py | 1 - .../petstore_api/models/map_test.py | 1 - ...perties_and_additional_properties_class.py | 1 - .../petstore_api/models/model200_response.py | 1 - .../petstore_api/models/model_api_response.py | 1 - .../petstore_api/models/model_field.py | 1 - .../petstore_api/models/model_return.py | 1 - .../petstore_api/models/multi_arrays.py | 1 - .../petstore_api/models/name.py | 1 - .../petstore_api/models/nullable_class.py | 1 - .../petstore_api/models/nullable_property.py | 1 - .../petstore_api/models/number_only.py | 1 - .../object_to_test_additional_properties.py | 1 - .../models/object_with_deprecated_fields.py | 1 - .../petstore_api/models/one_of_enum_string.py | 1 - .../petstore_api/models/order.py | 1 - .../petstore_api/models/outer_composite.py | 1 - .../petstore_api/models/outer_enum.py | 2 - .../models/outer_enum_default_value.py | 2 - .../petstore_api/models/outer_enum_integer.py | 2 - .../outer_enum_integer_default_value.py | 2 - .../models/outer_object_with_enum_property.py | 1 - .../petstore_api/models/parent.py | 1 - .../models/parent_with_optional_dict.py | 1 - .../python-aiohttp/petstore_api/models/pet.py | 1 - .../python-aiohttp/petstore_api/models/pig.py | 1 - .../petstore_api/models/poop_cleaning.py | 1 - .../petstore_api/models/primitive_string.py | 1 - .../petstore_api/models/property_map.py | 1 - .../models/property_name_collision.py | 1 - .../petstore_api/models/read_only_first.py | 1 - .../models/second_circular_all_of_ref.py | 1 - .../petstore_api/models/second_ref.py | 1 - .../models/self_reference_model.py | 1 - .../petstore_api/models/single_ref_type.py | 2 - .../models/special_character_enum.py | 2 - .../petstore_api/models/special_model_name.py | 1 - .../petstore_api/models/special_name.py | 1 - .../python-aiohttp/petstore_api/models/tag.py | 1 - .../petstore_api/models/task.py | 1 - .../petstore_api/models/task_activity.py | 1 - .../petstore_api/models/test_enum.py | 2 - .../models/test_enum_with_default.py | 2 - ..._error_responses_with_model400_response.py | 1 - ..._error_responses_with_model404_response.py | 1 - ..._freeform_additional_properties_request.py | 1 - .../models/test_model_with_enum_default.py | 1 - ...t_for_multipart_requests_request_marker.py | 1 - .../petstore_api/models/tiger.py | 1 - ...t_with_additional_model_list_properties.py | 1 - ..._with_additional_string_list_properties.py | 1 - ...th_additional_properties_request_object.py | 1 - .../petstore_api/models/user.py | 1 - .../petstore_api/models/with_nested_one_of.py | 1 - .../python-aiohttp/petstore_api/rest.py | 1 - .../client/petstore/python-aiohttp/setup.py | 1 - .../python-pydantic-v1-aiohttp/README.md | 2 - .../docs/AnotherFakeApi.md | 2 - .../docs/DefaultApi.md | 2 - .../docs/FakeApi.md | 74 - .../docs/FakeClassnameTags123Api.md | 2 - .../docs/ImportTestDatetimeApi.md | 2 - .../python-pydantic-v1-aiohttp/docs/PetApi.md | 18 - .../docs/StoreApi.md | 8 - .../docs/UserApi.md | 16 - .../petstore_api/__init__.py | 1 - .../petstore_api/api/another_fake_api.py | 1 - .../petstore_api/api/default_api.py | 1 - .../petstore_api/api/fake_api.py | 1 - .../api/fake_classname_tags123_api.py | 1 - .../api/import_test_datetime_api.py | 1 - .../petstore_api/api/pet_api.py | 1 - .../petstore_api/api/store_api.py | 1 - .../petstore_api/api/user_api.py | 1 - .../petstore_api/api_client.py | 1 - .../petstore_api/configuration.py | 1 - .../petstore_api/exceptions.py | 1 - .../petstore_api/models/__init__.py | 1 - .../models/additional_properties_any_type.py | 1 - .../models/additional_properties_class.py | 1 - .../models/additional_properties_object.py | 1 - ...tional_properties_with_description_only.py | 1 - .../petstore_api/models/all_of_super_model.py | 1 - .../models/all_of_with_single_ref.py | 1 - .../petstore_api/models/animal.py | 1 - .../petstore_api/models/any_of_color.py | 1 - .../petstore_api/models/any_of_pig.py | 1 - .../petstore_api/models/api_response.py | 1 - .../models/array_of_array_of_model.py | 1 - .../models/array_of_array_of_number_only.py | 1 - .../models/array_of_number_only.py | 1 - .../petstore_api/models/array_test.py | 1 - .../petstore_api/models/base_discriminator.py | 1 - .../petstore_api/models/basque_pig.py | 1 - .../petstore_api/models/bathing.py | 1 - .../petstore_api/models/capitalization.py | 1 - .../petstore_api/models/cat.py | 1 - .../petstore_api/models/category.py | 1 - .../models/circular_all_of_ref.py | 1 - .../models/circular_reference_model.py | 1 - .../petstore_api/models/class_model.py | 1 - .../petstore_api/models/client.py | 1 - .../petstore_api/models/color.py | 1 - .../petstore_api/models/creature.py | 1 - .../petstore_api/models/creature_info.py | 1 - .../petstore_api/models/danish_pig.py | 1 - .../petstore_api/models/deprecated_object.py | 1 - .../models/discriminator_all_of_sub.py | 1 - .../models/discriminator_all_of_super.py | 1 - .../petstore_api/models/dog.py | 1 - .../petstore_api/models/dummy_model.py | 1 - .../petstore_api/models/enum_arrays.py | 1 - .../petstore_api/models/enum_class.py | 2 - .../petstore_api/models/enum_string1.py | 2 - .../petstore_api/models/enum_string2.py | 2 - .../petstore_api/models/enum_test.py | 1 - .../petstore_api/models/feeding.py | 1 - .../petstore_api/models/field.py | 1 - .../petstore_api/models/file.py | 1 - .../models/file_schema_test_class.py | 1 - .../petstore_api/models/first_ref.py | 1 - .../petstore_api/models/foo.py | 1 - .../models/foo_get_default_response.py | 1 - .../petstore_api/models/format_test.py | 1 - .../petstore_api/models/has_only_read_only.py | 1 - .../models/health_check_result.py | 1 - .../petstore_api/models/info.py | 1 - .../models/inner_dict_with_property.py | 1 - .../petstore_api/models/input_all_of.py | 1 - .../petstore_api/models/int_or_string.py | 1 - .../petstore_api/models/list_class.py | 1 - .../models/map_of_array_of_model.py | 1 - .../petstore_api/models/map_test.py | 1 - ...perties_and_additional_properties_class.py | 1 - .../petstore_api/models/model200_response.py | 1 - .../petstore_api/models/model_return.py | 1 - .../petstore_api/models/multi_arrays.py | 1 - .../petstore_api/models/name.py | 1 - .../petstore_api/models/nullable_class.py | 1 - .../petstore_api/models/nullable_property.py | 1 - .../petstore_api/models/number_only.py | 1 - .../object_to_test_additional_properties.py | 1 - .../models/object_with_deprecated_fields.py | 1 - .../petstore_api/models/one_of_enum_string.py | 1 - .../petstore_api/models/order.py | 1 - .../petstore_api/models/outer_composite.py | 1 - .../petstore_api/models/outer_enum.py | 2 - .../models/outer_enum_default_value.py | 2 - .../petstore_api/models/outer_enum_integer.py | 2 - .../outer_enum_integer_default_value.py | 2 - .../models/outer_object_with_enum_property.py | 1 - .../petstore_api/models/parent.py | 1 - .../models/parent_with_optional_dict.py | 1 - .../petstore_api/models/pet.py | 1 - .../petstore_api/models/pig.py | 1 - .../petstore_api/models/poop_cleaning.py | 1 - .../petstore_api/models/primitive_string.py | 1 - .../petstore_api/models/property_map.py | 1 - .../models/property_name_collision.py | 1 - .../petstore_api/models/read_only_first.py | 1 - .../models/second_circular_all_of_ref.py | 1 - .../petstore_api/models/second_ref.py | 1 - .../models/self_reference_model.py | 1 - .../petstore_api/models/single_ref_type.py | 2 - .../models/special_character_enum.py | 2 - .../petstore_api/models/special_model_name.py | 1 - .../petstore_api/models/special_name.py | 1 - .../petstore_api/models/tag.py | 1 - .../petstore_api/models/task.py | 1 - .../petstore_api/models/task_activity.py | 1 - .../petstore_api/models/test_enum.py | 2 - .../models/test_enum_with_default.py | 2 - ..._error_responses_with_model400_response.py | 1 - ..._error_responses_with_model404_response.py | 1 - ..._freeform_additional_properties_request.py | 1 - .../models/test_model_with_enum_default.py | 1 - ...t_for_multipart_requests_request_marker.py | 1 - .../petstore_api/models/tiger.py | 1 - ...t_with_additional_model_list_properties.py | 1 - ..._with_additional_string_list_properties.py | 1 - ...th_additional_properties_request_object.py | 1 - .../petstore_api/models/user.py | 1 - .../petstore_api/models/with_nested_one_of.py | 1 - .../petstore_api/rest.py | 1 - .../python-pydantic-v1-aiohttp/setup.py | 1 - .../petstore/python-pydantic-v1/README.md | 2 - .../python-pydantic-v1/docs/AnotherFakeApi.md | 2 - .../python-pydantic-v1/docs/DefaultApi.md | 2 - .../python-pydantic-v1/docs/FakeApi.md | 74 - .../docs/FakeClassnameTags123Api.md | 2 - .../docs/ImportTestDatetimeApi.md | 2 - .../python-pydantic-v1/docs/PetApi.md | 18 - .../python-pydantic-v1/docs/StoreApi.md | 8 - .../python-pydantic-v1/docs/UserApi.md | 16 - .../petstore_api/__init__.py | 1 - .../petstore_api/api/another_fake_api.py | 1 - .../petstore_api/api/default_api.py | 1 - .../petstore_api/api/fake_api.py | 1 - .../api/fake_classname_tags123_api.py | 1 - .../api/import_test_datetime_api.py | 1 - .../petstore_api/api/pet_api.py | 1 - .../petstore_api/api/store_api.py | 1 - .../petstore_api/api/user_api.py | 1 - .../petstore_api/api_client.py | 1 - .../petstore_api/configuration.py | 1 - .../petstore_api/exceptions.py | 1 - .../petstore_api/models/__init__.py | 1 - .../models/additional_properties_any_type.py | 1 - .../models/additional_properties_class.py | 1 - .../models/additional_properties_object.py | 1 - ...tional_properties_with_description_only.py | 1 - .../petstore_api/models/all_of_super_model.py | 1 - .../models/all_of_with_single_ref.py | 1 - .../petstore_api/models/animal.py | 1 - .../petstore_api/models/any_of_color.py | 1 - .../petstore_api/models/any_of_pig.py | 1 - .../petstore_api/models/api_response.py | 1 - .../models/array_of_array_of_model.py | 1 - .../models/array_of_array_of_number_only.py | 1 - .../models/array_of_number_only.py | 1 - .../petstore_api/models/array_test.py | 1 - .../petstore_api/models/base_discriminator.py | 1 - .../petstore_api/models/basque_pig.py | 1 - .../petstore_api/models/bathing.py | 1 - .../petstore_api/models/capitalization.py | 1 - .../petstore_api/models/cat.py | 1 - .../petstore_api/models/category.py | 1 - .../models/circular_all_of_ref.py | 1 - .../models/circular_reference_model.py | 1 - .../petstore_api/models/class_model.py | 1 - .../petstore_api/models/client.py | 1 - .../petstore_api/models/color.py | 1 - .../petstore_api/models/creature.py | 1 - .../petstore_api/models/creature_info.py | 1 - .../petstore_api/models/danish_pig.py | 1 - .../petstore_api/models/deprecated_object.py | 1 - .../models/discriminator_all_of_sub.py | 1 - .../models/discriminator_all_of_super.py | 1 - .../petstore_api/models/dog.py | 1 - .../petstore_api/models/dummy_model.py | 1 - .../petstore_api/models/enum_arrays.py | 1 - .../petstore_api/models/enum_class.py | 2 - .../petstore_api/models/enum_string1.py | 2 - .../petstore_api/models/enum_string2.py | 2 - .../petstore_api/models/enum_test.py | 1 - .../petstore_api/models/feeding.py | 1 - .../petstore_api/models/field.py | 1 - .../petstore_api/models/file.py | 1 - .../models/file_schema_test_class.py | 1 - .../petstore_api/models/first_ref.py | 1 - .../petstore_api/models/foo.py | 1 - .../models/foo_get_default_response.py | 1 - .../petstore_api/models/format_test.py | 1 - .../petstore_api/models/has_only_read_only.py | 1 - .../models/health_check_result.py | 1 - .../petstore_api/models/info.py | 1 - .../models/inner_dict_with_property.py | 1 - .../petstore_api/models/input_all_of.py | 1 - .../petstore_api/models/int_or_string.py | 1 - .../petstore_api/models/list_class.py | 1 - .../models/map_of_array_of_model.py | 1 - .../petstore_api/models/map_test.py | 1 - ...perties_and_additional_properties_class.py | 1 - .../petstore_api/models/model200_response.py | 1 - .../petstore_api/models/model_return.py | 1 - .../petstore_api/models/multi_arrays.py | 1 - .../petstore_api/models/name.py | 1 - .../petstore_api/models/nullable_class.py | 1 - .../petstore_api/models/nullable_property.py | 1 - .../petstore_api/models/number_only.py | 1 - .../object_to_test_additional_properties.py | 1 - .../models/object_with_deprecated_fields.py | 1 - .../petstore_api/models/one_of_enum_string.py | 1 - .../petstore_api/models/order.py | 1 - .../petstore_api/models/outer_composite.py | 1 - .../petstore_api/models/outer_enum.py | 2 - .../models/outer_enum_default_value.py | 2 - .../petstore_api/models/outer_enum_integer.py | 2 - .../outer_enum_integer_default_value.py | 2 - .../models/outer_object_with_enum_property.py | 1 - .../petstore_api/models/parent.py | 1 - .../models/parent_with_optional_dict.py | 1 - .../petstore_api/models/pet.py | 1 - .../petstore_api/models/pig.py | 1 - .../petstore_api/models/poop_cleaning.py | 1 - .../petstore_api/models/primitive_string.py | 1 - .../petstore_api/models/property_map.py | 1 - .../models/property_name_collision.py | 1 - .../petstore_api/models/read_only_first.py | 1 - .../models/second_circular_all_of_ref.py | 1 - .../petstore_api/models/second_ref.py | 1 - .../models/self_reference_model.py | 1 - .../petstore_api/models/single_ref_type.py | 2 - .../models/special_character_enum.py | 2 - .../petstore_api/models/special_model_name.py | 1 - .../petstore_api/models/special_name.py | 1 - .../petstore_api/models/tag.py | 1 - .../petstore_api/models/task.py | 1 - .../petstore_api/models/task_activity.py | 1 - .../petstore_api/models/test_enum.py | 2 - .../models/test_enum_with_default.py | 2 - ..._error_responses_with_model400_response.py | 1 - ..._error_responses_with_model404_response.py | 1 - ..._freeform_additional_properties_request.py | 1 - .../models/test_model_with_enum_default.py | 1 - ...t_for_multipart_requests_request_marker.py | 1 - .../petstore_api/models/tiger.py | 1 - ...t_with_additional_model_list_properties.py | 1 - ..._with_additional_string_list_properties.py | 1 - ...th_additional_properties_request_object.py | 1 - .../petstore_api/models/user.py | 1 - .../petstore_api/models/with_nested_one_of.py | 1 - .../python-pydantic-v1/petstore_api/rest.py | 1 - .../petstore/python-pydantic-v1/setup.py | 1 - .../openapi3/client/petstore/python/README.md | 2 - .../petstore/python/docs/AnotherFakeApi.md | 2 - .../client/petstore/python/docs/DefaultApi.md | 2 - .../client/petstore/python/docs/FakeApi.md | 74 - .../python/docs/FakeClassnameTags123Api.md | 2 - .../python/docs/ImportTestDatetimeApi.md | 2 - .../client/petstore/python/docs/PetApi.md | 18 - .../client/petstore/python/docs/StoreApi.md | 8 - .../client/petstore/python/docs/UserApi.md | 16 - .../petstore/python/petstore_api/__init__.py | 1 - .../petstore_api/api/another_fake_api.py | 1 - .../python/petstore_api/api/default_api.py | 1 - .../python/petstore_api/api/fake_api.py | 1 - .../api/fake_classname_tags123_api.py | 1 - .../api/import_test_datetime_api.py | 1 - .../python/petstore_api/api/pet_api.py | 1 - .../python/petstore_api/api/store_api.py | 1 - .../python/petstore_api/api/user_api.py | 1 - .../python/petstore_api/api_client.py | 1 - .../python/petstore_api/configuration.py | 1 - .../python/petstore_api/exceptions.py | 1 - .../python/petstore_api/models/__init__.py | 1 - .../models/additional_properties_any_type.py | 1 - .../models/additional_properties_class.py | 1 - .../models/additional_properties_object.py | 1 - ...tional_properties_with_description_only.py | 1 - .../petstore_api/models/all_of_super_model.py | 1 - .../models/all_of_with_single_ref.py | 1 - .../python/petstore_api/models/animal.py | 1 - .../petstore_api/models/any_of_color.py | 1 - .../python/petstore_api/models/any_of_pig.py | 1 - .../models/array_of_array_of_model.py | 1 - .../models/array_of_array_of_number_only.py | 1 - .../models/array_of_number_only.py | 1 - .../python/petstore_api/models/array_test.py | 1 - .../petstore_api/models/base_discriminator.py | 1 - .../python/petstore_api/models/basque_pig.py | 1 - .../python/petstore_api/models/bathing.py | 1 - .../petstore_api/models/capitalization.py | 1 - .../python/petstore_api/models/cat.py | 1 - .../python/petstore_api/models/category.py | 1 - .../models/circular_all_of_ref.py | 1 - .../models/circular_reference_model.py | 1 - .../python/petstore_api/models/class_model.py | 1 - .../python/petstore_api/models/client.py | 1 - .../python/petstore_api/models/color.py | 1 - .../python/petstore_api/models/creature.py | 1 - .../petstore_api/models/creature_info.py | 1 - .../python/petstore_api/models/danish_pig.py | 1 - .../petstore_api/models/deprecated_object.py | 1 - .../models/discriminator_all_of_sub.py | 1 - .../models/discriminator_all_of_super.py | 1 - .../python/petstore_api/models/dog.py | 1 - .../python/petstore_api/models/dummy_model.py | 1 - .../python/petstore_api/models/enum_arrays.py | 1 - .../python/petstore_api/models/enum_class.py | 2 - .../petstore_api/models/enum_string1.py | 2 - .../petstore_api/models/enum_string2.py | 2 - .../python/petstore_api/models/enum_test.py | 1 - .../python/petstore_api/models/feeding.py | 1 - .../python/petstore_api/models/file.py | 1 - .../models/file_schema_test_class.py | 1 - .../python/petstore_api/models/first_ref.py | 1 - .../python/petstore_api/models/foo.py | 1 - .../models/foo_get_default_response.py | 1 - .../python/petstore_api/models/format_test.py | 1 - .../petstore_api/models/has_only_read_only.py | 1 - .../models/health_check_result.py | 1 - .../python/petstore_api/models/info.py | 1 - .../models/inner_dict_with_property.py | 1 - .../petstore_api/models/input_all_of.py | 1 - .../petstore_api/models/int_or_string.py | 1 - .../python/petstore_api/models/list_class.py | 1 - .../models/map_of_array_of_model.py | 1 - .../python/petstore_api/models/map_test.py | 1 - ...perties_and_additional_properties_class.py | 1 - .../petstore_api/models/model200_response.py | 1 - .../petstore_api/models/model_api_response.py | 1 - .../python/petstore_api/models/model_field.py | 1 - .../petstore_api/models/model_return.py | 1 - .../petstore_api/models/multi_arrays.py | 1 - .../python/petstore_api/models/name.py | 1 - .../petstore_api/models/nullable_class.py | 1 - .../petstore_api/models/nullable_property.py | 1 - .../python/petstore_api/models/number_only.py | 1 - .../object_to_test_additional_properties.py | 1 - .../models/object_with_deprecated_fields.py | 1 - .../petstore_api/models/one_of_enum_string.py | 1 - .../python/petstore_api/models/order.py | 1 - .../petstore_api/models/outer_composite.py | 1 - .../python/petstore_api/models/outer_enum.py | 2 - .../models/outer_enum_default_value.py | 2 - .../petstore_api/models/outer_enum_integer.py | 2 - .../outer_enum_integer_default_value.py | 2 - .../models/outer_object_with_enum_property.py | 1 - .../python/petstore_api/models/parent.py | 1 - .../models/parent_with_optional_dict.py | 1 - .../python/petstore_api/models/pet.py | 1 - .../python/petstore_api/models/pig.py | 1 - .../petstore_api/models/poop_cleaning.py | 1 - .../petstore_api/models/primitive_string.py | 1 - .../petstore_api/models/property_map.py | 1 - .../models/property_name_collision.py | 1 - .../petstore_api/models/read_only_first.py | 1 - .../models/second_circular_all_of_ref.py | 1 - .../python/petstore_api/models/second_ref.py | 1 - .../models/self_reference_model.py | 1 - .../petstore_api/models/single_ref_type.py | 2 - .../models/special_character_enum.py | 2 - .../petstore_api/models/special_model_name.py | 1 - .../petstore_api/models/special_name.py | 1 - .../python/petstore_api/models/tag.py | 1 - .../python/petstore_api/models/task.py | 1 - .../petstore_api/models/task_activity.py | 1 - .../python/petstore_api/models/test_enum.py | 2 - .../models/test_enum_with_default.py | 2 - ..._error_responses_with_model400_response.py | 1 - ..._error_responses_with_model404_response.py | 1 - ..._freeform_additional_properties_request.py | 1 - .../models/test_model_with_enum_default.py | 1 - ...t_for_multipart_requests_request_marker.py | 1 - .../python/petstore_api/models/tiger.py | 1 - ...t_with_additional_model_list_properties.py | 1 - ..._with_additional_string_list_properties.py | 1 - ...th_additional_properties_request_object.py | 1 - .../python/petstore_api/models/user.py | 1 - .../petstore_api/models/with_nested_one_of.py | 1 - .../petstore/python/petstore_api/rest.py | 1 - .../openapi3/client/petstore/python/setup.py | 1 - .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../main/java/org/openapitools/model/Pet.java | 20 +- .../java/org/openapitools/model/Category.java | 8 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/api/BarApi.java | 23 +- .../java/org/openapitools/api/FooApi.java | 46 +- .../org/openapitools/model/Addressable.java | 127 +- .../java/org/openapitools/model/Apple.java | 127 +- .../java/org/openapitools/model/Banana.java | 127 +- .../main/java/org/openapitools/model/Bar.java | 212 +- .../org/openapitools/model/BarCreate.java | 209 +- .../java/org/openapitools/model/BarRef.java | 188 +- .../org/openapitools/model/BarRefOrValue.java | 1 - .../java/org/openapitools/model/Entity.java | 173 +- .../org/openapitools/model/EntityRef.java | 203 +- .../org/openapitools/model/Extensible.java | 142 +- .../main/java/org/openapitools/model/Foo.java | 194 +- .../java/org/openapitools/model/FooRef.java | 203 +- .../org/openapitools/model/FooRefOrValue.java | 1 - .../java/org/openapitools/model/Fruit.java | 1 - .../org/openapitools/model/FruitType.java | 2 - .../java/org/openapitools/model/Pasta.java | 179 +- .../java/org/openapitools/model/Pizza.java | 179 +- .../org/openapitools/model/PizzaSpeziale.java | 191 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 130 +- .../openapitools/model/ModelApiResponse.java | 145 +- .../java/org/openapitools/model/Order.java | 191 +- .../main/java/org/openapitools/model/Pet.java | 193 +- .../main/java/org/openapitools/model/Tag.java | 130 +- .../java/org/openapitools/model/User.java | 220 +- .../api/AnotherFakeApiDelegate.java | 1 - .../org/openapitools/api/FakeApiDelegate.java | 18 - .../api/FakeClassnameTestApiDelegate.java | 1 - .../org/openapitools/api/PetApiDelegate.java | 8 - .../openapitools/api/StoreApiDelegate.java | 4 - .../org/openapitools/api/UserApiDelegate.java | 8 - .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../database/models/ApiResponse.kt | 5 +- .../openapitools/database/models/Category.kt | 4 +- .../org/openapitools/database/models/Order.kt | 8 +- .../org/openapitools/database/models/Pet.kt | 6 +- .../org/openapitools/database/models/Tag.kt | 4 +- .../org/openapitools/database/models/User.kt | 10 +- .../openapitools/server/model/FormatTest.java | 2 - .../openapitools/server/model/FormatTest.java | 2 - .../org/openapitools/server/models/Stuff.kt | 1 - .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools.Models/Animal.cs | 2 +- .../Org.OpenAPITools.Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools.Models/Cat.cs | 2 +- .../src/Org.OpenAPITools.Models/Category.cs | 2 +- .../src/Org.OpenAPITools.Models/Dog.cs | 2 +- .../src/Org.OpenAPITools.Models/Order.cs | 3 +- .../src/Org.OpenAPITools.Models/Pet.cs | 3 +- .../src/Org.OpenAPITools.Models/Tag.cs | 2 +- .../src/Org.OpenAPITools.Models/TestEnum.cs | 3 +- .../Org.OpenAPITools.Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools.Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools.Models/Animal.cs | 2 +- .../Org.OpenAPITools.Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools.Models/Cat.cs | 2 +- .../src/Org.OpenAPITools.Models/Category.cs | 2 +- .../src/Org.OpenAPITools.Models/Dog.cs | 2 +- .../src/Org.OpenAPITools.Models/Order.cs | 3 +- .../src/Org.OpenAPITools.Models/Pet.cs | 3 +- .../src/Org.OpenAPITools.Models/Tag.cs | 2 +- .../src/Org.OpenAPITools.Models/TestEnum.cs | 3 +- .../Org.OpenAPITools.Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools.Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 3 +- .../src/Org.OpenAPITools/Models/Pet.cs | 3 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Animal.cs | 2 +- .../Org.OpenAPITools/Models/ApiResponse.cs | 2 +- .../src/Org.OpenAPITools/Models/Cat.cs | 2 +- .../src/Org.OpenAPITools/Models/Category.cs | 2 +- .../src/Org.OpenAPITools/Models/Dog.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 2 +- .../src/Org.OpenAPITools/Models/Pet.cs | 2 +- .../src/Org.OpenAPITools/Models/Tag.cs | 2 +- .../src/Org.OpenAPITools/Models/TestEnum.cs | 3 +- .../Org.OpenAPITools/Models/TestNullable.cs | 2 +- .../src/Org.OpenAPITools/Models/User.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../model/Category.cpp | 3 +- .../cpp-pistache-everything/model/Pet.cpp | 12 +- .../model/Pet_vaccinationBook.cpp | 3 +- .../petstore/cpp-pistache/model/Pet.cpp | 6 +- .../generated/3_0/api/AnotherFakeApi.cpp | 1 - .../generated/3_0/api/DefaultApi.cpp | 1 - .../cpp-restbed/generated/3_0/api/FakeApi.cpp | 22 - .../3_0/api/FakeClassnameTags123Api.cpp | 1 - .../cpp-restbed/generated/3_0/api/PetApi.cpp | 9 - .../generated/3_0/api/StoreApi.cpp | 4 - .../cpp-restbed/generated/3_0/api/UserApi.cpp | 8 - .../java/org/openapitools/model/Category.java | 12 +- .../openapitools/model/ModelApiResponse.java | 15 +- .../java/org/openapitools/model/Order.java | 25 +- .../main/java/org/openapitools/model/Pet.java | 25 +- .../main/java/org/openapitools/model/Tag.java | 12 +- .../java/org/openapitools/model/User.java | 30 +- .../model/AdditionalPropertiesClass.java | 2 - .../server/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/server/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../server/model/ArrayOfNumberOnly.java | 2 - .../openapitools/server/model/ArrayTest.java | 2 - .../server/model/Capitalization.java | 2 - .../org/openapitools/server/model/Cat.java | 2 - .../openapitools/server/model/Category.java | 2 - .../server/model/ChildWithNullable.java | 2 - .../openapitools/server/model/ClassModel.java | 2 - .../org/openapitools/server/model/Client.java | 2 - .../server/model/DeprecatedObject.java | 2 - .../org/openapitools/server/model/Dog.java | 2 - .../openapitools/server/model/EnumArrays.java | 4 +- .../openapitools/server/model/EnumClass.java | 1 - .../openapitools/server/model/EnumTest.java | 6 +- .../model/FakeBigDecimalMap200Response.java | 2 - .../server/model/FileSchemaTestClass.java | 2 - .../org/openapitools/server/model/Foo.java | 2 - .../server/model/FooGetDefaultResponse.java | 2 - .../openapitools/server/model/FormatTest.java | 2 - .../server/model/HasOnlyReadOnly.java | 2 - .../server/model/HealthCheckResult.java | 2 - .../openapitools/server/model/MapTest.java | 3 +- ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../server/model/Model200Response.java | 2 - .../server/model/ModelApiResponse.java | 2 - .../openapitools/server/model/ModelFile.java | 2 - .../openapitools/server/model/ModelList.java | 2 - .../server/model/ModelReturn.java | 2 - .../org/openapitools/server/model/Name.java | 2 - .../server/model/NullableClass.java | 2 - .../openapitools/server/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/server/model/Order.java | 3 +- .../server/model/OuterComposite.java | 2 - .../openapitools/server/model/OuterEnum.java | 1 - .../server/model/OuterEnumDefaultValue.java | 1 - .../server/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../server/model/ParentWithNullable.java | 3 +- .../org/openapitools/server/model/Pet.java | 3 +- .../server/model/ReadOnlyFirst.java | 2 - .../server/model/SingleRefType.java | 1 - .../server/model/SpecialModelName.java | 2 - .../org/openapitools/server/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/server/model/User.java | 2 - .../model/AdditionalPropertiesClass.java | 2 - .../server/model/AllOfWithSingleRef.java | 2 - .../org/openapitools/server/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 2 - .../server/model/ArrayOfNumberOnly.java | 2 - .../openapitools/server/model/ArrayTest.java | 2 - .../server/model/Capitalization.java | 2 - .../org/openapitools/server/model/Cat.java | 2 - .../openapitools/server/model/Category.java | 2 - .../server/model/ChildWithNullable.java | 2 - .../openapitools/server/model/ClassModel.java | 2 - .../org/openapitools/server/model/Client.java | 2 - .../server/model/DeprecatedObject.java | 2 - .../org/openapitools/server/model/Dog.java | 2 - .../openapitools/server/model/EnumArrays.java | 4 +- .../openapitools/server/model/EnumClass.java | 1 - .../openapitools/server/model/EnumTest.java | 6 +- .../model/FakeBigDecimalMap200Response.java | 2 - .../server/model/FileSchemaTestClass.java | 2 - .../org/openapitools/server/model/Foo.java | 2 - .../server/model/FooGetDefaultResponse.java | 2 - .../openapitools/server/model/FormatTest.java | 2 - .../server/model/HasOnlyReadOnly.java | 2 - .../server/model/HealthCheckResult.java | 2 - .../openapitools/server/model/MapTest.java | 3 +- ...ropertiesAndAdditionalPropertiesClass.java | 2 - .../server/model/Model200Response.java | 2 - .../server/model/ModelApiResponse.java | 2 - .../openapitools/server/model/ModelFile.java | 2 - .../openapitools/server/model/ModelList.java | 2 - .../server/model/ModelReturn.java | 2 - .../org/openapitools/server/model/Name.java | 2 - .../server/model/NullableClass.java | 2 - .../openapitools/server/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 2 - .../org/openapitools/server/model/Order.java | 3 +- .../server/model/OuterComposite.java | 2 - .../openapitools/server/model/OuterEnum.java | 1 - .../server/model/OuterEnumDefaultValue.java | 1 - .../server/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/OuterObjectWithEnumProperty.java | 2 - .../server/model/ParentWithNullable.java | 3 +- .../org/openapitools/server/model/Pet.java | 3 +- .../server/model/ReadOnlyFirst.java | 2 - .../server/model/SingleRefType.java | 1 - .../server/model/SpecialModelName.java | 2 - .../org/openapitools/server/model/Tag.java | 2 - ...neFreeformAdditionalPropertiesRequest.java | 2 - .../org/openapitools/server/model/User.java | 2 - .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../main/java/org/openapitools/model/Pet.java | 1 - .../main/java/org/openapitools/model/Tag.java | 1 - .../java/org/openapitools/model/User.java | 1 - .../openapitools/server/model/Category.java | 2 - .../server/model/ModelApiResponse.java | 2 - .../org/openapitools/server/model/Order.java | 2 - .../org/openapitools/server/model/Pet.java | 2 - .../org/openapitools/server/model/Tag.java | 2 - .../org/openapitools/server/model/User.java | 2 - .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 1 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../java/org/openapitools/model/Animal.java | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../openapitools/model/ArrayOfNumberOnly.java | 1 - .../org/openapitools/model/ArrayTest.java | 1 - .../java/org/openapitools/model/BigCat.java | 2 - .../openapitools/model/Capitalization.java | 1 - .../gen/java/org/openapitools/model/Cat.java | 1 - .../java/org/openapitools/model/Category.java | 1 - .../org/openapitools/model/ClassModel.java | 1 - .../java/org/openapitools/model/Client.java | 1 - .../gen/java/org/openapitools/model/Dog.java | 1 - .../org/openapitools/model/EnumArrays.java | 3 - .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 5 - .../model/FileSchemaTestClass.java | 1 - .../org/openapitools/model/FormatTest.java | 1 - .../openapitools/model/HasOnlyReadOnly.java | 1 - .../java/org/openapitools/model/MapTest.java | 2 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../openapitools/model/Model200Response.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../org/openapitools/model/ModelFile.java | 1 - .../org/openapitools/model/ModelList.java | 1 - .../org/openapitools/model/ModelReturn.java | 1 - .../gen/java/org/openapitools/model/Name.java | 1 - .../org/openapitools/model/NumberOnly.java | 1 - .../java/org/openapitools/model/Order.java | 2 - .../openapitools/model/OuterComposite.java | 1 - .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 2 - .../org/openapitools/model/ReadOnlyFirst.java | 1 - .../openapitools/model/SpecialModelName.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../openapitools/model/TypeHolderDefault.java | 1 - .../openapitools/model/TypeHolderExample.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../java/org/openapitools/model/XmlItem.java | 1 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../apis/PetApiControllerImpInterface.java | 8 - .../apis/StoreApiControllerImpInterface.java | 4 - .../apis/UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 3 - .../AdditionalPropertiesAnyType.java | 1 - .../apimodels/AdditionalPropertiesArray.java | 1 - .../AdditionalPropertiesBoolean.java | 1 - .../apimodels/AdditionalPropertiesClass.java | 1 - .../AdditionalPropertiesInteger.java | 1 - .../apimodels/AdditionalPropertiesNumber.java | 1 - .../apimodels/AdditionalPropertiesObject.java | 1 - .../apimodels/AdditionalPropertiesString.java | 1 - .../app/apimodels/Animal.java | 1 - .../apimodels/ArrayOfArrayOfNumberOnly.java | 1 - .../app/apimodels/ArrayOfNumberOnly.java | 1 - .../app/apimodels/ArrayTest.java | 1 - .../app/apimodels/BigCat.java | 1 - .../app/apimodels/Capitalization.java | 1 - .../app/apimodels/Cat.java | 1 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ClassModel.java | 1 - .../app/apimodels/Client.java | 1 - .../app/apimodels/Dog.java | 1 - .../app/apimodels/EnumArrays.java | 1 - .../app/apimodels/EnumClass.java | 1 - .../app/apimodels/EnumTest.java | 1 - .../app/apimodels/FileSchemaTestClass.java | 1 - .../app/apimodels/FormatTest.java | 1 - .../app/apimodels/HasOnlyReadOnly.java | 1 - .../app/apimodels/MapTest.java | 1 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../app/apimodels/Model200Response.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/ModelFile.java | 1 - .../app/apimodels/ModelList.java | 1 - .../app/apimodels/ModelReturn.java | 1 - .../app/apimodels/Name.java | 1 - .../app/apimodels/NumberOnly.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/OuterComposite.java | 1 - .../app/apimodels/OuterEnum.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/ReadOnlyFirst.java | 1 - .../app/apimodels/SpecialModelName.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/TypeHolderDefault.java | 1 - .../app/apimodels/TypeHolderExample.java | 1 - .../app/apimodels/User.java | 1 - .../app/apimodels/XmlItem.java | 1 - .../AnotherFakeApiControllerImpInterface.java | 1 - .../FakeApiControllerImpInterface.java | 14 - ...snameTags123ApiControllerImpInterface.java | 1 - .../PetApiControllerImpInterface.java | 9 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 3 +- .../app/apimodels/ModelApiResponse.java | 4 +- .../app/apimodels/Order.java | 7 +- .../app/apimodels/Pet.java | 7 +- .../app/apimodels/Tag.java | 3 +- .../app/apimodels/User.java | 9 +- .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../app/controllers/PetApiController.java | 176 +- .../app/controllers/StoreApiController.java | 60 +- .../app/controllers/UserApiController.java | 74 +- .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 1 - .../app/apimodels/Pet.java | 1 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../PetApiControllerImpInterface.java | 8 - .../StoreApiControllerImpInterface.java | 4 - .../UserApiControllerImpInterface.java | 8 - .../java/org/openapitools/model/Category.java | 1 + .../openapitools/model/ModelApiResponse.java | 1 + .../java/org/openapitools/model/Order.java | 1 + .../main/java/org/openapitools/model/Pet.java | 1 + .../main/java/org/openapitools/model/Tag.java | 1 + .../java/org/openapitools/model/User.java | 1 + .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../gen/java/org/openapitools/api/PetApi.java | 1 - .../org/openapitools/api/PetApiService.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 1 - .../org/openapitools/api/StoreApiService.java | 3 +- .../java/org/openapitools/api/TestApi.java | 1 - .../org/openapitools/api/TestApiService.java | 3 +- .../java/org/openapitools/api/UserApi.java | 1 - .../org/openapitools/api/UserApiService.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/TestApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 1 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../java/org/openapitools/model/Animal.java | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../openapitools/model/ArrayOfNumberOnly.java | 1 - .../org/openapitools/model/ArrayTest.java | 1 - .../java/org/openapitools/model/BigCat.java | 1 - .../openapitools/model/Capitalization.java | 1 - .../gen/java/org/openapitools/model/Cat.java | 1 - .../java/org/openapitools/model/Category.java | 1 - .../org/openapitools/model/ClassModel.java | 1 - .../java/org/openapitools/model/Client.java | 1 - .../gen/java/org/openapitools/model/Dog.java | 1 - .../org/openapitools/model/EnumArrays.java | 1 - .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 1 - .../model/FileSchemaTestClass.java | 1 - .../org/openapitools/model/FormatTest.java | 1 - .../openapitools/model/HasOnlyReadOnly.java | 1 - .../java/org/openapitools/model/MapTest.java | 1 - ...ropertiesAndAdditionalPropertiesClass.java | 1 - .../openapitools/model/Model200Response.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../org/openapitools/model/ModelFile.java | 1 - .../org/openapitools/model/ModelList.java | 1 - .../org/openapitools/model/ModelReturn.java | 1 - .../gen/java/org/openapitools/model/Name.java | 1 - .../org/openapitools/model/NumberOnly.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../openapitools/model/OuterComposite.java | 1 - .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../org/openapitools/model/ReadOnlyFirst.java | 1 - .../openapitools/model/SpecialModelName.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../openapitools/model/TypeHolderDefault.java | 1 - .../openapitools/model/TypeHolderExample.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../java/org/openapitools/model/XmlItem.java | 1 - .../java/org/openapitools/model/Animal.java | 4 +- .../java/org/openapitools/model/BigCat.java | 1 - .../org/openapitools/model/EnumArrays.java | 2 - .../java/org/openapitools/model/EnumTest.java | 4 - .../java/org/openapitools/model/MapTest.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../java/org/openapitools/model/Animal.java | 4 +- .../org/openapitools/model/EnumArrays.java | 2 - .../java/org/openapitools/model/EnumTest.java | 4 - .../java/org/openapitools/model/MapTest.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../model/ParentWithNullable.java | 5 +- .../gen/java/org/openapitools/model/Pet.java | 1 - .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../openapitools/api/NotFoundException.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiService.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../org/openapitools/api/StoreApiService.java | 3 +- .../java/org/openapitools/api/StringUtil.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiService.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../openapitools/api/NotFoundException.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiService.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../org/openapitools/api/StoreApiService.java | 3 +- .../java/org/openapitools/api/StringUtil.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiService.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../openapitools/api/NotFoundException.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiService.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../org/openapitools/api/StoreApiService.java | 3 +- .../java/org/openapitools/api/StringUtil.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiService.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../gen/java/org/openapitools/model/Tag.java | 1 - .../gen/java/org/openapitools/model/User.java | 1 - .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/BigCat.java | 91 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/BigCat.java | 91 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/BigCat.java | 91 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/BigCat.java | 91 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/FooApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../model/OuterEnumDefaultValue.java | 1 - .../openapitools/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/ParentWithNullable.java | 91 +- .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/model/SingleRefType.java | 1 - .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../gen/java/org/openapitools/api/FooApi.java | 3 +- .../gen/java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/model/EnumArrays.java | 182 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 364 +- .../FakeTestsDefaultsDefaultResponse.java | 182 +- .../org/openapitools/model/IntegerEnum.java | 1 - .../java/org/openapitools/model/MapTest.java | 91 +- .../java/org/openapitools/model/Order.java | 91 +- .../org/openapitools/model/OuterEnum.java | 1 - .../model/OuterEnumDefaultValue.java | 1 - .../openapitools/model/OuterEnumInteger.java | 1 - .../model/OuterEnumIntegerDefaultValue.java | 1 - .../model/ParentWithNullable.java | 91 +- .../gen/java/org/openapitools/model/Pet.java | 91 +- .../org/openapitools/model/SingleRefType.java | 1 - .../org/openapitools/model/StringEnum.java | 1 - .../java/org/openapitools/model/Animal.java | 4 +- .../java/org/openapitools/model/BigCat.java | 1 - .../org/openapitools/model/EnumArrays.java | 2 - .../java/org/openapitools/model/EnumTest.java | 4 - .../java/org/openapitools/model/MapTest.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../java/org/openapitools/model/Animal.java | 4 +- .../java/org/openapitools/model/BigCat.java | 1 - .../org/openapitools/model/EnumArrays.java | 2 - .../java/org/openapitools/model/EnumTest.java | 4 - .../java/org/openapitools/model/MapTest.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../java/org/openapitools/model/Animal.java | 4 +- .../org/openapitools/model/EnumArrays.java | 2 - .../java/org/openapitools/model/EnumTest.java | 4 - .../java/org/openapitools/model/MapTest.java | 1 - .../java/org/openapitools/model/Order.java | 1 - .../model/ParentWithNullable.java | 5 +- .../gen/java/org/openapitools/model/Pet.java | 1 - .../julia/src/models/model_AnotherModel.jl | 2 +- .../julia/src/models/model_ApiResponse.jl | 2 +- .../julia/src/models/model_Category.jl | 2 +- .../petstore/julia/src/models/model_Order.jl | 2 +- .../petstore/julia/src/models/model_Pet.jl | 2 +- .../petstore/julia/src/models/model_Tag.jl | 2 +- .../petstore/julia/src/models/model_User.jl | 2 +- .../org/openapitools/server/apis/PetApi.kt | 8 - .../org/openapitools/server/apis/StoreApi.kt | 3 - .../org/openapitools/server/apis/UserApi.kt | 1 - .../openapitools/server/models/Category.kt | 1 - .../server/models/ModelApiResponse.kt | 1 - .../org/openapitools/server/models/Order.kt | 1 - .../org/openapitools/server/models/Pet.kt | 1 - .../org/openapitools/server/models/Tag.kt | 1 - .../org/openapitools/server/models/User.kt | 1 - .../openapitools/server/models/Category.kt | 1 - .../server/models/ModelApiResponse.kt | 1 - .../org/openapitools/server/models/Order.kt | 1 - .../org/openapitools/server/models/Pet.kt | 1 - .../org/openapitools/server/models/Tag.kt | 1 - .../org/openapitools/server/models/User.kt | 1 - .../org/openapitools/server/apis/PetApi.kt | 8 - .../org/openapitools/server/apis/StoreApi.kt | 3 - .../org/openapitools/server/apis/UserApi.kt | 1 - .../org/openapitools/api/PetApiDelegate.kt | 8 - .../org/openapitools/api/StoreApiDelegate.kt | 4 - .../org/openapitools/api/UserApiDelegate.kt | 8 - .../kotlin/org/openapitools/model/Animal.kt | 10 +- .../php-flight/Api/AbstractPetApi.php | 1 - .../php-flight/Api/AbstractStoreApi.php | 1 - .../php-flight/Api/AbstractUserApi.php | 1 - .../petstore/php-flight/Model/ApiResponse.php | 1 - .../petstore/php-flight/Model/Category.php | 1 - .../FindPetsByStatusStatusParameterInner.php | 1 - .../petstore/php-flight/Model/Order.php | 1 - .../petstore/php-flight/Model/OrderStatus.php | 1 - .../server/petstore/php-flight/Model/Pet.php | 1 - .../petstore/php-flight/Model/PetStatus.php | 1 - .../server/petstore/php-flight/Model/Tag.php | 1 - .../server/petstore/php-flight/Model/User.php | 1 - .../petstore/php-flight/RegisterRoutes.php | 1 - .../php-flight/Test/RegisterRoutesTest.php | 1 - .../Controllers/AnotherFakeController.php | 1 - .../Http/Controllers/DefaultController.php | 1 - .../FakeClassnameTags123Controller.php | 1 - .../app/Http/Controllers/FakeController.php | 1 - .../app/Http/Controllers/PetController.php | 1 - .../app/Http/Controllers/StoreController.php | 1 - .../app/Http/Controllers/UserController.php | 1 - .../petstore/php-laravel/lib/routes/api.php | 1 - .../php-laravel/lib/routes/channels.php | 1 - .../php-laravel/lib/routes/console.php | 1 - .../petstore/php-laravel/lib/routes/web.php | 1 - .../php-lumen/lib/app/Console/Kernel.php | 1 - .../php-lumen/lib/app/Events/Event.php | 1 - .../php-lumen/lib/app/Events/ExampleEvent.php | 1 - .../php-lumen/lib/app/Exceptions/Handler.php | 1 - .../app/Http/Controllers/AnotherFakeApi.php | 1 - .../lib/app/Http/Controllers/Controller.php | 1 - .../lib/app/Http/Controllers/DefaultApi.php | 1 - .../Http/Controllers/ExampleController.php | 1 - .../lib/app/Http/Controllers/FakeApi.php | 1 - .../Controllers/FakeClassnameTags123Api.php | 1 - .../lib/app/Http/Controllers/PetApi.php | 1 - .../lib/app/Http/Controllers/StoreApi.php | 1 - .../lib/app/Http/Controllers/UserApi.php | 1 - .../lib/app/Http/Middleware/Authenticate.php | 1 - .../app/Http/Middleware/ExampleMiddleware.php | 1 - .../php-lumen/lib/app/Jobs/ExampleJob.php | 1 - .../petstore/php-lumen/lib/app/Jobs/Job.php | 1 - .../lib/app/Listeners/ExampleListener.php | 1 - .../lib/app/Providers/AppServiceProvider.php | 1 - .../lib/app/Providers/AuthServiceProvider.php | 1 - .../app/Providers/EventServiceProvider.php | 1 - .../petstore/php-lumen/lib/app/User.php | 1 - samples/server/petstore/php-lumen/lib/artisan | 1 - .../petstore/php-lumen/lib/bootstrap/app.php | 1 - .../lib/database/factories/ModelFactory.php | 1 - .../lib/database/seeds/DatabaseSeeder.php | 1 - .../petstore/php-lumen/lib/public/index.php | 1 - .../petstore/php-lumen/lib/routes/web.php | 2 - .../php-lumen/lib/tests/ExampleTest.php | 1 - .../petstore/php-lumen/lib/tests/TestCase.php | 1 - .../php-slim4/lib/Api/AbstractPetApi.php | 1 - .../php-slim4/lib/Api/AbstractStoreApi.php | 1 - .../php-slim4/lib/Api/AbstractUserApi.php | 1 - .../lib/App/RegisterDependencies.php | 1 - .../php-slim4/lib/App/RegisterMiddlewares.php | 1 - .../php-slim4/lib/App/RegisterRoutes.php | 1 - .../php-slim4/lib/App/ResponseEmitter.php | 1 - .../lib/Auth/AbstractAuthenticator.php | 1 - .../petstore/php-slim4/lib/BaseModel.php | 1 - .../php-slim4/lib/Model/ApiResponse.php | 1 - .../petstore/php-slim4/lib/Model/Category.php | 1 - .../petstore/php-slim4/lib/Model/Order.php | 1 - .../petstore/php-slim4/lib/Model/Pet.php | 1 - .../petstore/php-slim4/lib/Model/Tag.php | 1 - .../petstore/php-slim4/lib/Model/User.php | 1 - .../petstore/php-slim4/public/index.php | 1 - .../php-slim4/tests/BaseModelTest.php | 1 - .../SymfonyBundle-php/Api/ApiServer.php | 1 - .../SymfonyBundle-php/Api/PetApiInterface.php | 1 - .../Api/StoreApiInterface.php | 1 - .../Api/UserApiInterface.php | 1 - .../Controller/Controller.php | 1 - .../Controller/PetController.php | 9 - .../Controller/StoreController.php | 5 - .../Controller/UserController.php | 9 - .../Compiler/OpenAPIServerApiPass.php | 1 - .../OpenAPIServerExtension.php | 1 - .../SymfonyBundle-php/Model/ApiResponse.php | 1 - .../SymfonyBundle-php/Model/Category.php | 1 - .../Model/EnumStringModel.php | 1 - .../SymfonyBundle-php/Model/Order.php | 1 - .../SymfonyBundle-php/Model/Pet.php | 1 - .../SymfonyBundle-php/Model/Tag.php | 1 - .../SymfonyBundle-php/Model/User.php | 1 - .../SymfonyBundle-php/OpenAPIServerBundle.php | 1 - .../Tests/Controller/ControllerTest.php | 1 - .../SymfonyBundle-php/autoload.php | 1 - .../python-fastapi/src/openapi_server/main.py | 1 - .../src/openapi_server/models/api_response.py | 1 - .../src/openapi_server/models/category.py | 1 - .../src/openapi_server/models/order.py | 1 - .../src/openapi_server/models/pet.py | 1 - .../src/openapi_server/models/tag.py | 1 - .../src/openapi_server/models/user.py | 1 - .../main/scala/sample/cask/AppRoutes.scala | 1 - .../src/main/scala/sample/cask/BaseApp.scala | 1 - .../main/scala/sample/cask/ExampleApp.scala | 1 - .../scala/sample/cask/api/PetRoutes.scala | 1 - .../scala/sample/cask/api/StoreRoutes.scala | 1 - .../scala/sample/cask/api/UserRoutes.scala | 1 - .../scala/sample/cask/api/PetService.scala | 1 - .../scala/sample/cask/api/StoreService.scala | 1 - .../scala/sample/cask/api/UserService.scala | 1 - .../scala/org/openapitools/apis/PetApi.scala | 14 +- .../org/openapitools/apis/StoreApi.scala | 6 +- .../scala/org/openapitools/apis/UserApi.scala | 16 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/NullableApi.java | 5 +- .../model/ObjectWithUniqueItems.java | 20 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../api/AnotherFakeApiDelegate.java | 1 - .../org/openapitools/api/FakeApiDelegate.java | 18 - .../api/FakeClassnameTestApiDelegate.java | 1 - .../org/openapitools/api/PetApiDelegate.java | 8 - .../openapitools/api/StoreApiDelegate.java | 4 - .../org/openapitools/api/UserApiDelegate.java | 8 - .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/PetApiDelegate.java | 12 +- .../openapitools/api/StoreApiDelegate.java | 8 +- .../org/openapitools/api/UserApiDelegate.java | 22 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../api/AnotherFakeApiDelegate.java | 1 - .../org/openapitools/api/FakeApiDelegate.java | 18 - .../api/FakeClassnameTestApiDelegate.java | 1 - .../org/openapitools/api/PetApiDelegate.java | 8 - .../openapitools/api/StoreApiDelegate.java | 4 - .../org/openapitools/api/UserApiDelegate.java | 8 - .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../openapitools/api/DummyApiDelegate.java | 1 - .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 2 - .../openapitools/model/ModelApiResponse.java | 2 - .../java/org/openapitools/model/Order.java | 3 - .../main/java/org/openapitools/model/Pet.java | 3 - .../main/java/org/openapitools/model/Tag.java | 2 - .../java/org/openapitools/model/User.java | 2 - .../java/org/openapitools/api/PetApi.java | 198 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../java/org/openapitools/model/Category.java | 2 - .../openapitools/model/ModelApiResponse.java | 2 - .../java/org/openapitools/model/Order.java | 3 - .../main/java/org/openapitools/model/Pet.java | 3 - .../main/java/org/openapitools/model/Tag.java | 2 - .../java/org/openapitools/model/User.java | 2 - .../api/AnotherFakeApiDelegate.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 54 +- .../api/FakeClassnameTestApiDelegate.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 24 +- .../openapitools/api/StoreApiDelegate.java | 12 +- .../org/openapitools/api/UserApiDelegate.java | 24 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../api/AnotherFakeApiDelegate.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 54 +- .../api/FakeClassnameTestApiDelegate.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 24 +- .../openapitools/api/StoreApiDelegate.java | 12 +- .../org/openapitools/api/UserApiDelegate.java | 24 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 10 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../api/AnotherFakeApiDelegate.java | 1 - .../org/openapitools/api/FakeApiDelegate.java | 15 - .../api/FakeClassnameTestApiDelegate.java | 1 - .../org/openapitools/api/PetApiDelegate.java | 9 - .../openapitools/api/StoreApiDelegate.java | 4 - .../org/openapitools/api/UserApiDelegate.java | 8 - .../api/VersioningApiDelegate.java | 3 - .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../api/AnotherFakeApiDelegate.java | 1 - .../org/openapitools/api/FakeApiDelegate.java | 15 - .../api/FakeClassnameTestApiDelegate.java | 1 - .../org/openapitools/api/PetApiDelegate.java | 9 - .../openapitools/api/StoreApiDelegate.java | 4 - .../org/openapitools/api/UserApiDelegate.java | 8 - .../api/VersioningApiDelegate.java | 3 - .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 129 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 175 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../org/openapitools/api/VersioningApi.java | 69 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 129 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 175 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../org/openapitools/api/VersioningApi.java | 69 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 11 +- .../openapitools/model/Capitalization.java | 20 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 8 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 10 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 21 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 8 +- .../org/openapitools/model/FormatTest.java | 44 +- .../openapitools/model/HasOnlyReadOnly.java | 8 +- .../java/org/openapitools/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../openapitools/model/Model200Response.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 14 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 21 +- .../openapitools/model/OuterComposite.java | 11 +- .../org/openapitools/model/OuterEnum.java | 2 - .../main/java/org/openapitools/model/Pet.java | 21 +- .../org/openapitools/model/ReadOnlyFirst.java | 8 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../openapitools/model/TypeHolderDefault.java | 17 +- .../openapitools/model/TypeHolderExample.java | 20 +- .../java/org/openapitools/model/User.java | 26 +- .../java/org/openapitools/model/XmlItem.java | 89 +- .../java/org/openapitools/api/UserApi.java | 10 +- .../java/org/openapitools/model/Category.java | 8 +- .../openapitools/model/ModelApiResponse.java | 11 +- .../java/org/openapitools/model/Order.java | 21 +- .../main/java/org/openapitools/model/Pet.java | 21 +- .../main/java/org/openapitools/model/Tag.java | 8 +- .../java/org/openapitools/model/User.java | 26 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 122 +- .../model/AdditionalPropertiesArray.java | 122 +- .../model/AdditionalPropertiesBoolean.java | 122 +- .../model/AdditionalPropertiesClass.java | 272 +- .../model/AdditionalPropertiesInteger.java | 122 +- .../model/AdditionalPropertiesNumber.java | 122 +- .../model/AdditionalPropertiesObject.java | 122 +- .../model/AdditionalPropertiesString.java | 122 +- .../java/org/openapitools/model/Animal.java | 128 +- .../model/ArrayOfArrayOfNumberOnly.java | 112 +- .../openapitools/model/ArrayOfNumberOnly.java | 112 +- .../org/openapitools/model/ArrayTest.java | 142 +- .../java/org/openapitools/model/BigCat.java | 156 +- .../openapitools/model/Capitalization.java | 187 +- .../main/java/org/openapitools/model/Cat.java | 143 +- .../java/org/openapitools/model/Category.java | 127 +- .../openapitools/model/ChildWithNullable.java | 153 +- .../org/openapitools/model/ClassModel.java | 112 +- .../java/org/openapitools/model/Client.java | 112 +- .../model/ContainerDefaultValue.java | 187 +- .../main/java/org/openapitools/model/Dog.java | 143 +- .../org/openapitools/model/EnumArrays.java | 129 +- .../org/openapitools/model/EnumClass.java | 2 - .../java/org/openapitools/model/EnumTest.java | 176 +- .../java/org/openapitools/model/File.java | 112 +- .../model/FileSchemaTestClass.java | 127 +- .../org/openapitools/model/FormatTest.java | 307 +- .../openapitools/model/HasOnlyReadOnly.java | 127 +- .../java/org/openapitools/model/MapTest.java | 158 +- ...ropertiesAndAdditionalPropertiesClass.java | 142 +- .../openapitools/model/Model200Response.java | 127 +- .../openapitools/model/ModelApiResponse.java | 142 +- .../org/openapitools/model/ModelList.java | 112 +- .../org/openapitools/model/ModelReturn.java | 112 +- .../java/org/openapitools/model/Name.java | 157 +- .../model/NullableMapProperty.java | 122 +- .../org/openapitools/model/NumberOnly.java | 112 +- .../java/org/openapitools/model/Order.java | 188 +- .../openapitools/model/OuterComposite.java | 142 +- .../org/openapitools/model/OuterEnum.java | 2 - .../model/ParentWithNullable.java | 139 +- .../main/java/org/openapitools/model/Pet.java | 190 +- .../org/openapitools/model/ReadOnlyFirst.java | 127 +- ...ResponseObjectWithDifferentFieldNames.java | 157 +- .../openapitools/model/SpecialModelName.java | 112 +- .../main/java/org/openapitools/model/Tag.java | 127 +- .../openapitools/model/TypeHolderDefault.java | 172 +- .../openapitools/model/TypeHolderExample.java | 187 +- .../java/org/openapitools/model/User.java | 217 +- .../java/org/openapitools/model/XmlItem.java | 532 +- .../virtualan/api/AnotherFakeApi.java | 23 +- .../openapitools/virtualan/api/FakeApi.java | 180 +- .../virtualan/api/FakeClassnameTestApi.java | 23 +- .../openapitools/virtualan/api/PetApi.java | 142 +- .../openapitools/virtualan/api/StoreApi.java | 76 +- .../openapitools/virtualan/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 35 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../openapitools/virtualan/model/Animal.java | 9 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../virtualan/model/ArrayOfNumberOnly.java | 5 +- .../virtualan/model/ArrayTest.java | 11 +- .../openapitools/virtualan/model/BigCat.java | 7 +- .../virtualan/model/Capitalization.java | 20 +- .../org/openapitools/virtualan/model/Cat.java | 6 +- .../virtualan/model/Category.java | 8 +- .../virtualan/model/ChildWithNullable.java | 6 +- .../virtualan/model/ClassModel.java | 5 +- .../openapitools/virtualan/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 14 +- .../org/openapitools/virtualan/model/Dog.java | 6 +- .../virtualan/model/EnumArrays.java | 10 +- .../virtualan/model/EnumClass.java | 2 - .../virtualan/model/EnumTest.java | 21 +- .../openapitools/virtualan/model/File.java | 5 +- .../virtualan/model/FileSchemaTestClass.java | 8 +- .../virtualan/model/FormatTest.java | 44 +- .../virtualan/model/HasOnlyReadOnly.java | 8 +- .../openapitools/virtualan/model/MapTest.java | 15 +- ...ropertiesAndAdditionalPropertiesClass.java | 11 +- .../virtualan/model/Model200Response.java | 8 +- .../virtualan/model/ModelApiResponse.java | 11 +- .../virtualan/model/ModelList.java | 5 +- .../virtualan/model/ModelReturn.java | 5 +- .../openapitools/virtualan/model/Name.java | 14 +- .../virtualan/model/NullableMapProperty.java | 5 +- .../virtualan/model/NumberOnly.java | 5 +- .../openapitools/virtualan/model/Order.java | 21 +- .../virtualan/model/OuterComposite.java | 11 +- .../virtualan/model/OuterEnum.java | 2 - .../virtualan/model/ParentWithNullable.java | 10 +- .../org/openapitools/virtualan/model/Pet.java | 21 +- .../virtualan/model/ReadOnlyFirst.java | 8 +- ...ResponseObjectWithDifferentFieldNames.java | 14 +- .../virtualan/model/SpecialModelName.java | 5 +- .../org/openapitools/virtualan/model/Tag.java | 8 +- .../virtualan/model/TypeHolderDefault.java | 17 +- .../virtualan/model/TypeHolderExample.java | 20 +- .../openapitools/virtualan/model/User.java | 26 +- .../openapitools/virtualan/model/XmlItem.java | 89 +- .../org/openapitools/api/AnotherFakeApi.java | 23 +- .../java/org/openapitools/api/FakeApi.java | 180 +- .../api/FakeClassnameTestApi.java | 23 +- .../java/org/openapitools/api/PetApi.java | 142 +- .../java/org/openapitools/api/StoreApi.java | 76 +- .../java/org/openapitools/api/UserApi.java | 68 +- .../model/AdditionalPropertiesAnyTypeDto.java | 5 +- .../model/AdditionalPropertiesArrayDto.java | 5 +- .../model/AdditionalPropertiesBooleanDto.java | 5 +- .../model/AdditionalPropertiesClassDto.java | 35 +- .../model/AdditionalPropertiesIntegerDto.java | 5 +- .../model/AdditionalPropertiesNumberDto.java | 5 +- .../model/AdditionalPropertiesObjectDto.java | 5 +- .../model/AdditionalPropertiesStringDto.java | 5 +- .../org/openapitools/model/AnimalDto.java | 9 +- .../openapitools/model/ApiResponseDto.java | 11 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 5 +- .../model/ArrayOfNumberOnlyDto.java | 5 +- .../org/openapitools/model/ArrayTestDto.java | 11 +- .../org/openapitools/model/BigCatDto.java | 7 +- .../openapitools/model/CapitalizationDto.java | 20 +- .../java/org/openapitools/model/CatDto.java | 6 +- .../org/openapitools/model/CategoryDto.java | 8 +- .../model/ChildWithNullableDto.java | 6 +- .../org/openapitools/model/ClassModelDto.java | 5 +- .../org/openapitools/model/ClientDto.java | 5 +- .../model/ContainerDefaultValueDto.java | 14 +- .../java/org/openapitools/model/DogDto.java | 6 +- .../org/openapitools/model/EnumArraysDto.java | 10 +- .../org/openapitools/model/EnumClassDto.java | 2 - .../org/openapitools/model/EnumTestDto.java | 21 +- .../java/org/openapitools/model/FileDto.java | 5 +- .../model/FileSchemaTestClassDto.java | 8 +- .../org/openapitools/model/FormatTestDto.java | 44 +- .../model/HasOnlyReadOnlyDto.java | 8 +- .../java/org/openapitools/model/ListDto.java | 5 +- .../org/openapitools/model/MapTestDto.java | 15 +- ...ertiesAndAdditionalPropertiesClassDto.java | 11 +- .../model/Model200ResponseDto.java | 8 +- .../java/org/openapitools/model/NameDto.java | 14 +- .../model/NullableMapPropertyDto.java | 5 +- .../org/openapitools/model/NumberOnlyDto.java | 5 +- .../java/org/openapitools/model/OrderDto.java | 21 +- .../openapitools/model/OuterCompositeDto.java | 11 +- .../org/openapitools/model/OuterEnumDto.java | 2 - .../model/ParentWithNullableDto.java | 10 +- .../java/org/openapitools/model/PetDto.java | 21 +- .../openapitools/model/ReadOnlyFirstDto.java | 8 +- ...ponseObjectWithDifferentFieldNamesDto.java | 14 +- .../org/openapitools/model/ReturnDto.java | 5 +- .../model/SpecialModelNameDto.java | 5 +- .../java/org/openapitools/model/TagDto.java | 8 +- .../model/TypeHolderDefaultDto.java | 17 +- .../model/TypeHolderExampleDto.java | 20 +- .../java/org/openapitools/model/UserDto.java | 26 +- .../org/openapitools/model/XmlItemDto.java | 89 +- 9287 files changed, 38670 insertions(+), 67381 deletions(-) diff --git a/bin/configs/java-helidon-client-mp_3.yaml b/bin/configs/java-helidon-client-mp_3.yaml index 6b5babac3c1..9c9097fd688 100644 --- a/bin/configs/java-helidon-client-mp_3.yaml +++ b/bin/configs/java-helidon-client-mp_3.yaml @@ -2,6 +2,7 @@ generatorName: java-helidon-client library: mp outputDir: samples/client/petstore/java-helidon-client/v3/mp inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +templateDir: modules/openapi-generator/src/main/resources/java-helidon/client additionalProperties: helidonVersion: 3.2.7 artifactId: petstore-helidon-client-mp diff --git a/bin/configs/java-helidon-client-mp_4.yaml b/bin/configs/java-helidon-client-mp_4.yaml index 9d25d15f823..e09b3cbedca 100644 --- a/bin/configs/java-helidon-client-mp_4.yaml +++ b/bin/configs/java-helidon-client-mp_4.yaml @@ -2,6 +2,7 @@ generatorName: java-helidon-client library: mp outputDir: samples/client/petstore/java-helidon-client/v4/mp inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +templateDir: modules/openapi-generator/src/main/resources/java-helidon/client additionalProperties: helidonVersion: 4.0.11 artifactId: petstore-helidon-client-mp diff --git a/bin/configs/java-helidon-client-se_3.yaml b/bin/configs/java-helidon-client-se_3.yaml index 41e816215af..425aabe7224 100644 --- a/bin/configs/java-helidon-client-se_3.yaml +++ b/bin/configs/java-helidon-client-se_3.yaml @@ -2,6 +2,7 @@ generatorName: java-helidon-client library: se outputDir: samples/client/petstore/java-helidon-client/v3/se inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +templateDir: modules/openapi-generator/src/main/resources/java-helidon/client additionalProperties: helidonVersion: 3.2.7 artifactId: petstore-helidon-client-se diff --git a/bin/configs/java-helidon-client-se_4.yaml b/bin/configs/java-helidon-client-se_4.yaml index 748b7db894f..2a409cf8ec3 100644 --- a/bin/configs/java-helidon-client-se_4.yaml +++ b/bin/configs/java-helidon-client-se_4.yaml @@ -2,6 +2,7 @@ generatorName: java-helidon-client library: se outputDir: samples/client/petstore/java-helidon-client/v4/se inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml +templateDir: modules/openapi-generator/src/main/resources/java-helidon/client additionalProperties: helidonVersion: 4.0.11 artifactId: petstore-helidon-client-se diff --git a/bin/configs/java-helidon-server-mp_3.yaml b/bin/configs/java-helidon-server-mp_3.yaml index 3be0b87e189..b584bd1c741 100644 --- a/bin/configs/java-helidon-server-mp_3.yaml +++ b/bin/configs/java-helidon-server-mp_3.yaml @@ -10,4 +10,4 @@ additionalProperties: build: "all" test: "spock" useAuth: "false" - fullProject: "true" \ No newline at end of file + fullProject: "true" diff --git a/bin/configs/java-helidon-server-mp_3_format_test.yaml b/bin/configs/java-helidon-server-mp_3_format_test.yaml index e2e1582569c..9d564da6d09 100644 --- a/bin/configs/java-helidon-server-mp_3_format_test.yaml +++ b/bin/configs/java-helidon-server-mp_3_format_test.yaml @@ -7,4 +7,4 @@ additionalProperties: helidonVersion: 3.2.7 artifactId: format-helidon-server-mp hideGenerationTimestamp: "true" - fullProject: "true" \ No newline at end of file + fullProject: "true" diff --git a/bin/configs/java-micronaut-client.yaml b/bin/configs/java-micronaut-client.yaml index 247c139afb4..4b41b0123f7 100644 --- a/bin/configs/java-micronaut-client.yaml +++ b/bin/configs/java-micronaut-client.yaml @@ -1,6 +1,7 @@ generatorName: java-micronaut-client outputDir: samples/client/petstore/java-micronaut-client/ inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml +templateDir: modules/openapi-generator/src/main/resources/java-micronaut/ additionalProperties: artifactId: petstore-micronaut hideGenerationTimestamp: "true" diff --git a/bin/configs/java-micronaut-server.yaml b/bin/configs/java-micronaut-server.yaml index 15b9ba58b32..be199f7338f 100644 --- a/bin/configs/java-micronaut-server.yaml +++ b/bin/configs/java-micronaut-server.yaml @@ -1,6 +1,7 @@ generatorName: java-micronaut-server outputDir: samples/server/petstore/java-micronaut-server/ inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml +templateDir: modules/openapi-generator/src/main/resources/java-micronaut/ additionalProperties: artifactId: petstore-micronaut-server hideGenerationTimestamp: "true" diff --git a/modules/openapi-generator/src/main/resources/Java/beanValidationCore.mustache b/modules/openapi-generator/src/main/resources/Java/beanValidationCore.mustache index ff4ffe26c49..3fdcb26a44b 100644 --- a/modules/openapi-generator/src/main/resources/Java/beanValidationCore.mustache +++ b/modules/openapi-generator/src/main/resources/Java/beanValidationCore.mustache @@ -17,4 +17,4 @@ isInteger set isLong set }}{{#isLong}}{{#minimum}} @Min({{.}}L){{/minimum}}{{#maximum}} @Max({{.}}L){{/maximum}}{{/isLong}}{{! Not Integer, not Long => we have a decimal value! -}}{{^isInteger}}{{^isLong}}{{#minimum}} @DecimalMin({{#exclusiveMinimum}}value={{/exclusiveMinimum}}"{{minimum}}"{{#exclusiveMinimum}},inclusive=false{{/exclusiveMinimum}}){{/minimum}}{{#maximum}} @DecimalMax({{#exclusiveMaximum}}value={{/exclusiveMaximum}}"{{maximum}}"{{#exclusiveMaximum}},inclusive=false{{/exclusiveMaximum}}){{/maximum}}{{/isLong}}{{/isInteger}} \ No newline at end of file +}}{{^isInteger}}{{^isLong}}{{#minimum}} @DecimalMin({{#exclusiveMinimum}}value={{/exclusiveMinimum}}"{{minimum}}"{{#exclusiveMinimum}},inclusive=false{{/exclusiveMinimum}}){{/minimum}}{{#maximum}} @DecimalMax({{#exclusiveMaximum}}value={{/exclusiveMaximum}}"{{maximum}}"{{#exclusiveMaximum}},inclusive=false{{/exclusiveMaximum}}){{/maximum}}{{/isLong}}{{/isInteger}} diff --git a/modules/openapi-generator/src/main/resources/Java/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/Java/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/Java/jackson_annotations.mustache b/modules/openapi-generator/src/main/resources/Java/jackson_annotations.mustache index 4fbaf983be8..7210b435177 100644 --- a/modules/openapi-generator/src/main/resources/Java/jackson_annotations.mustache +++ b/modules/openapi-generator/src/main/resources/Java/jackson_annotations.mustache @@ -11,4 +11,4 @@ {{#isContainer}} @JacksonXmlElementWrapper({{#isXmlWrapped}}localName = "{{xmlName}}{{^xmlName}}{{baseName}}{{/xmlName}}", {{#xmlNamespace}}namespace = "{{.}}", {{/xmlNamespace}}{{/isXmlWrapped}}useWrapping = {{isXmlWrapped}}) {{/isContainer}} -{{/withXml}} \ No newline at end of file +{{/withXml}} diff --git a/modules/openapi-generator/src/main/resources/Java/javaBuilder.mustache b/modules/openapi-generator/src/main/resources/Java/javaBuilder.mustache index c02730081ca..c1b5db88309 100644 --- a/modules/openapi-generator/src/main/resources/Java/javaBuilder.mustache +++ b/modules/openapi-generator/src/main/resources/Java/javaBuilder.mustache @@ -1,4 +1,4 @@ -public static class Builder {{#parentModel}}extends {{classname}}.Builder {{/parentModel}}{ + public static class Builder {{#parentModel}}extends {{classname}}.Builder {{/parentModel}}{ private {{classname}} instance; diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/feign/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/feign/pojo.mustache index d76b35d7d25..859a7b6e24a 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/feign/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/feign/pojo.mustache @@ -20,7 +20,12 @@ {{/hasDiscriminatorWithNonEmptyMapping}} {{/isClassnameSanitized}} {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} @@ -39,6 +44,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{>modelInnerEnum}} {{/mostInnerItems}} {{/isContainer}} + {{/isEnum}} {{#gson}} public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}"; @@ -73,6 +79,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{/vendorExtensions.x-is-jackson-optional-nullable}} {{^vendorExtensions.x-is-jackson-optional-nullable}} {{>nullable_var_annotations}} + {{#isContainer}} private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; {{/isContainer}} @@ -191,6 +198,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + {{#jsonb}} @JsonbProperty("{{baseName}}") {{/jsonb}} diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache index 0d8bc23c6cc..56a7978ac3b 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache @@ -23,7 +23,12 @@ @JsonTypeName("{{name}}") {{/isClassnameSanitized}} {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} @@ -82,6 +87,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; {{/vendorExtensions.x-is-jackson-optional-nullable}} @@ -199,6 +205,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + {{#useBeanValidation}} {{>beanValidation}} {{/useBeanValidation}} @@ -235,7 +242,8 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens public JsonNullable<{{{datatypeWithEnum}}}> {{getter}}_JsonNullable() { return {{name}}; } - {{/vendorExtensions.x-is-jackson-optional-nullable}}{{#vendorExtensions.x-is-jackson-optional-nullable}} + {{/vendorExtensions.x-is-jackson-optional-nullable}} + {{#vendorExtensions.x-is-jackson-optional-nullable}} @JsonProperty(JSON_PROPERTY_{{nameInSnakeCase}}) {{#isReadOnly}}private{{/isReadOnly}}{{^isReadOnly}}public{{/isReadOnly}} void {{setter}}_JsonNullable(JsonNullable<{{{datatypeWithEnum}}}> {{name}}) { {{! For getters/setters that have name differing from attribute name, we must include setter (albeit private) for jackson to be able to set the attribute}} diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/pojo.mustache index 0d8bc23c6cc..922ab99415e 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/pojo.mustache @@ -23,7 +23,12 @@ @JsonTypeName("{{name}}") {{/isClassnameSanitized}} {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} @@ -44,6 +49,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{>modelInnerEnum}} {{/mostInnerItems}} {{/isContainer}} + {{/isEnum}} {{#gson}} public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}"; @@ -82,6 +88,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; {{/vendorExtensions.x-is-jackson-optional-nullable}} @@ -199,6 +206,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + {{#useBeanValidation}} {{>beanValidation}} {{/useBeanValidation}} @@ -215,7 +223,11 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{!unannotated, Jackson would pick this up automatically and add it *in addition* to the _JsonNullable getter field}} @JsonIgnore {{/vendorExtensions.x-is-jackson-optional-nullable}} -{{^vendorExtensions.x-is-jackson-optional-nullable}}{{#jackson}}{{> jackson_annotations}}{{/jackson}}{{/vendorExtensions.x-is-jackson-optional-nullable}} +{{^vendorExtensions.x-is-jackson-optional-nullable}} +{{#jackson}} +{{> jackson_annotations}} +{{/jackson}} +{{/vendorExtensions.x-is-jackson-optional-nullable}} public {{{datatypeWithEnum}}} {{getter}}() { {{#vendorExtensions.x-is-jackson-optional-nullable}} {{#isReadOnly}}{{! A readonly attribute doesn't have setter => jackson will set null directly if explicitly returned by API, so make sure we have an empty JsonNullable}} @@ -235,7 +247,8 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens public JsonNullable<{{{datatypeWithEnum}}}> {{getter}}_JsonNullable() { return {{name}}; } - {{/vendorExtensions.x-is-jackson-optional-nullable}}{{#vendorExtensions.x-is-jackson-optional-nullable}} + {{/vendorExtensions.x-is-jackson-optional-nullable}} + {{#vendorExtensions.x-is-jackson-optional-nullable}} @JsonProperty(JSON_PROPERTY_{{nameInSnakeCase}}) {{#isReadOnly}}private{{/isReadOnly}}{{^isReadOnly}}public{{/isReadOnly}} void {{setter}}_JsonNullable(JsonNullable<{{{datatypeWithEnum}}}> {{name}}) { {{! For getters/setters that have name differing from attribute name, we must include setter (albeit private) for jackson to be able to set the attribute}} @@ -247,8 +260,15 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{#deprecated}} @Deprecated {{/deprecated}} -{{#vendorExtensions.x-setter-extra-annotation}} {{{vendorExtensions.x-setter-extra-annotation}}} -{{/vendorExtensions.x-setter-extra-annotation}}{{#jackson}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{> jackson_annotations}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{/jackson}} public void {{setter}}({{>nullable_var_annotations}} {{{datatypeWithEnum}}} {{name}}) { +{{#vendorExtensions.x-setter-extra-annotation}} + {{{vendorExtensions.x-setter-extra-annotation}}} +{{/vendorExtensions.x-setter-extra-annotation}} +{{#jackson}} +{{^vendorExtensions.x-is-jackson-optional-nullable}} +{{> jackson_annotations}} +{{/vendorExtensions.x-is-jackson-optional-nullable}} +{{/jackson}} + public void {{setter}}({{>nullable_var_annotations}} {{{datatypeWithEnum}}} {{name}}) { {{#vendorExtensions.x-enum-as-string}} if (!{{{nameInSnakeCase}}}_VALUES.contains({{name}})) { throw new IllegalArgumentException({{name}} + " is invalid. Possible values for {{name}}: " + String.join(", ", {{{nameInSnakeCase}}}_VALUES)); @@ -288,11 +308,13 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}} return {{#parent}}super.equals(o){{/parent}}{{^parent}}true{{/parent}};{{/hasVars}} {{/useReflectionEqualsHashCode}} - }{{#vendorExtensions.x-jackson-optional-nullable-helpers}} + } +{{#vendorExtensions.x-jackson-optional-nullable-helpers}} private static boolean equalsNullable(JsonNullable a, JsonNullable b) { return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - }{{/vendorExtensions.x-jackson-optional-nullable-helpers}} + } +{{/vendorExtensions.x-jackson-optional-nullable-helpers}} @Override public int hashCode() { @@ -302,14 +324,16 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{^useReflectionEqualsHashCode}} return Objects.hash({{#vars}}{{#vendorExtensions.x-is-jackson-optional-nullable}}hashCodeNullable({{name}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{^isByteArray}}{{name}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{name}}){{/isByteArray}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}}{{#additionalPropertiesType}}{{#hasVars}}, {{/hasVars}}{{^hasVars}}{{#parent}}, {{/parent}}{{/hasVars}}additionalProperties{{/additionalPropertiesType}}); {{/useReflectionEqualsHashCode}} - }{{#vendorExtensions.x-jackson-optional-nullable-helpers}} + } +{{#vendorExtensions.x-jackson-optional-nullable-helpers}} private static int hashCodeNullable(JsonNullable a) { if (a == null) { return 1; } return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - }{{/vendorExtensions.x-jackson-optional-nullable-helpers}} + } +{{/vendorExtensions.x-jackson-optional-nullable-helpers}} @Override public String toString() { diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/microprofile/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/microprofile/generatedAnnotation.mustache index cf058a0fabd..3961cee81c4 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/microprofile/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/microprofile/generatedAnnotation.mustache @@ -1 +1 @@ -@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/native/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/native/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/native/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/native/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache index fdb779be03a..f03062cb164 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache @@ -26,7 +26,12 @@ import {{invokerPackage}}.ApiClient; {{/vars}} }) {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} @@ -47,6 +52,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{>modelInnerEnum}} {{/mostInnerItems}} {{/isContainer}} + {{/isEnum}} {{#gson}} public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}"; @@ -573,6 +579,6 @@ static { {{/discriminator}} {{#generateBuilders}} - {{>javaBuilder}} +{{>javaBuilder}} {{/generateBuilders}} } diff --git a/modules/openapi-generator/src/main/resources/Java/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/pojo.mustache index 0de3f814b8a..b3ffa7f2e0f 100644 --- a/modules/openapi-generator/src/main/resources/Java/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/pojo.mustache @@ -25,7 +25,12 @@ {{/hasDiscriminatorWithNonEmptyMapping}} {{/isClassnameSanitized}} {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} @@ -44,6 +49,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens {{>modelInnerEnum}} {{/mostInnerItems}} {{/isContainer}} + {{/isEnum}} {{#gson}} public static final String SERIALIZED_NAME_{{nameInSnakeCase}} = "{{baseName}}"; @@ -66,6 +72,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @SerializedName(SERIALIZED_NAME_{{nameInSnakeCase}}) {{/gson}} {{>nullable_var_annotations}} + {{#vendorExtensions.x-field-extra-annotation}} {{{vendorExtensions.x-field-extra-annotation}}} {{/vendorExtensions.x-field-extra-annotation}} @@ -212,6 +219,7 @@ public class {{classname}} {{#parent}}extends {{{.}}} {{/parent}}{{#vendorExtens @Deprecated {{/deprecated}} {{>nullable_var_annotations}} + {{#jsonb}} @JsonbProperty("{{baseName}}") {{/jsonb}} diff --git a/modules/openapi-generator/src/main/resources/Java/typeInfoAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/typeInfoAnnotation.mustache index c833321ebfa..3db813c9b6c 100644 --- a/modules/openapi-generator/src/main/resources/Java/typeInfoAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/typeInfoAnnotation.mustache @@ -1,5 +1,4 @@ {{#jackson}} - @JsonIgnoreProperties( value = "{{{discriminator.propertyBaseName}}}", // ignore manually set {{{discriminator.propertyBaseName}}}, it will be automatically generated by Jackson during serialization allowSetters = true // allows the {{{discriminator.propertyBaseName}}} to be set during deserialization diff --git a/modules/openapi-generator/src/main/resources/Java/xmlAnnotation.mustache b/modules/openapi-generator/src/main/resources/Java/xmlAnnotation.mustache index 4f3b448c8d1..ffb62e2b15e 100644 --- a/modules/openapi-generator/src/main/resources/Java/xmlAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/Java/xmlAnnotation.mustache @@ -3,4 +3,6 @@ @XmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") @XmlAccessorType(XmlAccessType.FIELD) {{#jackson}} -@JacksonXmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}"){{/jackson}}{{/withXml}} \ No newline at end of file +@JacksonXmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") +{{/jackson}} +{{/withXml}} diff --git a/modules/openapi-generator/src/main/resources/JavaInflector/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaInflector/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaInflector/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaInflector/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/pojo.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/pojo.mustache index 8f5d70e4192..36f895042d0 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/pojo.mustache @@ -17,21 +17,35 @@ import com.fasterxml.jackson.annotation.JsonProperty; { {{#vars}}"{{name}}"{{^-last}}, {{/-last}}{{/vars}} }){{/hasVars}} {{^hasVars}}@XmlType(name = "{{classname}}"){{/hasVars}} -{{^parent}}@XmlRootElement(name="{{classname}}"){{/parent}} +{{^parent}} +@XmlRootElement(name="{{classname}}") +{{/parent}} {{/withXml}} -{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{#description}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{#description}} /** * {{{description}}} */ @ApiModel(description="{{{description}}}") -{{/description}}{{>additionalModelTypeAnnotations}} +{{/description}} +{{>additionalModelTypeAnnotations}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}}{{#vendorExtensions.x-implements}}{{#-first}} implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{/vendorExtensions.x-implements}} { - {{#vars}}{{#isEnum}}{{^isContainer}} -{{>enumClass}}{{/isContainer}}{{#isContainer}}{{#mostInnerItems}} -{{>enumClass}}{{/mostInnerItems}}{{/isContainer}}{{/isEnum}} + {{#vars}} + {{#isEnum}} + {{^isContainer}} +{{>enumClass}} + {{/isContainer}} + {{#isContainer}} + {{#mostInnerItems}} +{{>enumClass}} + {{/mostInnerItems}} + {{/isContainer}} + {{/isEnum}} {{#description}} /** * {{{.}}} diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/xmlPojoAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/xmlPojoAnnotation.mustache index b459abbc09d..e7f640cf445 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/xmlPojoAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/xmlPojoAnnotation.mustache @@ -3,6 +3,10 @@ {{#hasVars}} @XmlType(name = "{{classname}}", propOrder = { {{#vars}}"{{name}}"{{^-last}}, {{/-last}}{{/vars}} }){{/hasVars}} -{{^hasVars}}@XmlType(name = "{{classname}}"){{/hasVars}} -{{^parent}}@XmlRootElement(name="{{classname}}"){{/parent}} -{{/withXml}} \ No newline at end of file +{{^hasVars}} +@XmlType(name = "{{classname}}") +{{/hasVars}} +{{^parent}} +@XmlRootElement(name="{{classname}}") +{{/parent}} +{{/withXml}} diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/libraries/jersey3/pojo.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/libraries/jersey3/pojo.mustache index 56d29332ff4..9e55f6cd3e7 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/libraries/jersey3/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/libraries/jersey3/pojo.mustache @@ -9,7 +9,11 @@ {{/vars}} }) {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/pojo.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/pojo.mustache index 374e0ee5427..acd1c30cc06 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/pojo.mustache @@ -9,7 +9,11 @@ {{/vars}} }) {{/jackson}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} {{/vendorExtensions.x-class-extra-annotation}} diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/spec/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/enumClass.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/enumClass.mustache index 118fa321ecb..3808df94d4a 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/enumClass.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/enumClass.mustache @@ -42,3 +42,4 @@ {{#isNullable}}return null;{{/isNullable}}{{^isNullable}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/isNullable}} } } + diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/pojo.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/pojo.mustache index f16334328b4..d9d68c35564 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/pojo.mustache @@ -6,7 +6,8 @@ import {{javaxPackage}}.validation.Valid; /** * {{description}}{{^description}}{{classname}}{{/description}} */ -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} @SuppressWarnings({"UnusedReturnValue", "WeakerAccess"}) {{#vendorExtensions.x-class-extra-annotation}} {{{vendorExtensions.x-class-extra-annotation}}} @@ -33,15 +34,11 @@ public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}} {{#vendorExtens {{{vendorExtensions.x-field-extra-annotation}}} {{/vendorExtensions.x-field-extra-annotation}} {{#isContainer}} - {{#useBeanValidation}} - {{>beanValidation}} - {{/useBeanValidation}} + {{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}} private {{{datatypeWithEnum}}} {{name}}{{#required}} = {{{defaultValue}}}{{/required}}{{^required}} = null{{/required}}; {{/isContainer}} {{^isContainer}} - {{#useBeanValidation}} - {{>beanValidation}} - {{/useBeanValidation}} + {{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}} private {{{datatypeWithEnum}}} {{name}}{{#defaultValue}} = {{{.}}}{{/defaultValue}}; {{/isContainer}} diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/apiDelegate.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/apiDelegate.mustache index 20ed2e4ac0d..a62d822d81b 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/apiDelegate.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/apiDelegate.mustache @@ -69,7 +69,7 @@ public interface {{classname}}Delegate { {{#jdk8-default-interface}}default {{/jdk8-default-interface}}{{>responseType}} {{operationId}}({{#allParams}}{{^isFile}}{{^isBodyParam}}{{>optionalDataType}}{{/isBodyParam}}{{#isBodyParam}}{{^reactive}}{{>optionalDataType}}{{/reactive}}{{#reactive}}{{^isArray}}Mono<{{{dataType}}}>{{/isArray}}{{#isArray}}Flux<{{{baseType}}}>{{/isArray}}{{/reactive}}{{/isBodyParam}}{{/isFile}}{{#isFile}}{{#isArray}}List<{{/isArray}}{{#reactive}}Flux{{/reactive}}{{^reactive}}{{#isFormParam}}MultipartFile{{/isFormParam}}{{^isFormParam}}{{>optionalDataType}}{{/isFormParam}}{{/reactive}}{{#isArray}}>{{/isArray}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}{{#reactive}}{{#hasParams}}, {{/hasParams}}ServerWebExchange exchange{{/reactive}}{{#vendorExtensions.x-spring-paginated}}{{#hasParams}}, {{/hasParams}}{{^hasParams}}{{#reactive}}, {{/reactive}}{{/hasParams}}final Pageable pageable{{/vendorExtensions.x-spring-paginated}}){{#unhandledException}} throws Exception{{/unhandledException}}{{^jdk8-default-interface}};{{/jdk8-default-interface}}{{#jdk8-default-interface}} { - {{>methodBody}} +{{>methodBody}} }{{/jdk8-default-interface}} {{/operation}} diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/generatedAnnotation.mustache index 825f846feed..9254907d18e 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/generatedAnnotation.mustache @@ -1 +1 @@ -@Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/methodBody.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/methodBody.mustache index bbbc66de397..c1cd5407d5e 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/methodBody.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/methodBody.mustache @@ -2,8 +2,8 @@ {{#examples}} {{#-first}} {{#async}} -return CompletableFuture.supplyAsync(()-> { - {{/async}}getRequest().ifPresent(request -> { + return CompletableFuture.supplyAsync(()-> { + {{/async}} getRequest().ifPresent(request -> { {{#async}} {{/async}} for (MediaType mediaType: MediaType.parseMediaTypes(request.getHeader("Accept"))) { {{/-first}} {{#async}} {{/async}}{{^async}} {{/async}} if (mediaType.isCompatibleWith(MediaType.valueOf("{{{contentType}}}"))) { @@ -24,7 +24,7 @@ return CompletableFuture.supplyAsync(()-> { {{/-last}} {{/examples}} {{^examples}} -{{#useResponseEntity}}return {{#async}}CompletableFuture.completedFuture({{/async}}new ResponseEntity<>({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}){{#async}}){{/async}}; +{{#useResponseEntity}} return {{#async}}CompletableFuture.completedFuture({{/async}}new ResponseEntity<>({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}){{#async}}){{/async}}; {{/useResponseEntity}} {{^useResponseEntity}}throw new IllegalArgumentException("Not implemented"); {{/useResponseEntity}} diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/xmlAnnotation.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/xmlAnnotation.mustache index b3a89fa362f..a5cc40c226f 100644 --- a/modules/openapi-generator/src/main/resources/JavaSpring/xmlAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/JavaSpring/xmlAnnotation.mustache @@ -3,4 +3,5 @@ @JacksonXmlRootElement({{#xmlNamespace}}namespace = "{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") {{/jackson}} @XmlRootElement({{#xmlNamespace}}namespace = "{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") -@XmlAccessorType(XmlAccessType.FIELD){{/withXml}} \ No newline at end of file +@XmlAccessorType(XmlAccessType.FIELD) +{{/withXml}} diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/model.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/model.mustache index 68bb4d8f562..66b50ff67b4 100644 --- a/modules/openapi-generator/src/main/resources/aspnetcore/3.0/model.mustache +++ b/modules/openapi-generator/src/main/resources/aspnetcore/3.0/model.mustache @@ -27,7 +27,11 @@ using {{packageName}}.Converters; {{#models}} {{#model}} namespace {{modelPackage}} -{ {{#isEnum}}{{>enumClass}}{{/isEnum}}{{^isEnum}} +{ +{{#isEnum}} +{{>enumClass}} +{{/isEnum}} +{{^isEnum}} /// /// {{description}} /// @@ -60,6 +64,7 @@ namespace {{modelPackage}} {{^complexType}} {{>enumClass}} {{/complexType}} + {{/isEnum}} /// /// {{description}}{{^description}}Gets or Sets {{{name}}}{{/description}} diff --git a/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-source.mustache b/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-source.mustache index ae6f06a4cf4..938f7efc943 100644 --- a/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-source.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-pistache-server/model-source.mustache @@ -51,14 +51,14 @@ bool {{classname}}::validate(std::stringstream& msg, const std::string& pathPref {{#required}}/* {{name}} */ {{/required}}{ const {{{dataType}}}& value = m_{{name}}; const std::string currentValuePath = _pathPrefix + ".{{nameInCamelCase}}"; - {{> model-validation-body }} +{{> model-validation-body }} } {{/isArray}}{{^isArray}}{{#hasValidation}} {{! Only generate validation if necessary }} {{^required}}if ({{nameInCamelCase}}IsSet()){{/required}} {{#required}}/* {{name}} */ {{/required}}{ const {{{dataType}}}& value = m_{{name}}; const std::string currentValuePath = _pathPrefix + ".{{nameInCamelCase}}"; - {{> model-validation-body }} +{{> model-validation-body }} } {{/hasValidation}}{{#required}}{{#isModel}} if (!m_{{name}}.validate(msg, _pathPrefix + ".{{nameInCamelCase}}")) { diff --git a/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source-HandlerBody.mustache b/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source-HandlerBody.mustache index 811d07845f2..73572e56d32 100644 --- a/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source-HandlerBody.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source-HandlerBody.mustache @@ -1,4 +1,4 @@ -const auto request = session->get_request(); + const auto request = session->get_request(); {{#hasBodyParam}} // body params or form params here from the body content string std::string bodyContent = extractBodyContent(session); diff --git a/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source.mustache b/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source.mustache index 37275cd03e5..43f384a3136 100644 --- a/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source.mustache +++ b/modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source.mustache @@ -151,7 +151,7 @@ void {{vendorExtensions.x-codegen-resource-name}}Resource::defaultSessionClose(c void {{vendorExtensions.x-codegen-resource-name}}Resource::handler_{{httpMethod}}_internal(const std::shared_ptr session) { {{#lambda.indented}} - {{>api-source-HandlerBody}} +{{>api-source-HandlerBody}} {{/lambda.indented}} } @@ -160,7 +160,7 @@ void {{vendorExtensions.x-codegen-resource-name}}Resource::handler_{{httpMethod} // x-extension void {{vendorExtensions.x-codegen-resource-name}}Resource::handler_{{httpMethod}}_internal(const std::shared_ptr session) { {{#lambda.indented}} - {{>api-source-HandlerBody}} +{{>api-source-HandlerBody}} {{/lambda.indented}} } diff --git a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_members.mustache b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_members.mustache index 0df06e1e307..83ff312fc0c 100644 --- a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_members.mustache +++ b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/built_value/class_members.mustache @@ -35,4 +35,4 @@ ..{{{name}}} = {{#isEnum}}{{^isContainer}}const {{{enumName}}}._({{/isContainer}}{{/isEnum}}{{{defaultValue}}}{{#isEnum}}{{^isContainer}}){{/isContainer}}{{/isEnum}}{{/defaultValue}}{{/vendorExtensions.x-self-and-ancestor-only-props}}; {{/vendorExtensions.x-is-parent}} @BuiltValueSerializer(custom: true) - static Serializer<{{classname}}> get serializer => _${{classname}}Serializer(); \ No newline at end of file + static Serializer<{{classname}}> get serializer => _${{classname}}Serializer(); diff --git a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/dart_constructor.mustache b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/dart_constructor.mustache index 3b99f0c5401..eae224e047c 100644 --- a/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/dart_constructor.mustache +++ b/modules/openapi-generator/src/main/resources/dart/libraries/dio/serialization/json_serializable/dart_constructor.mustache @@ -8,4 +8,4 @@ }} {{#required}}{{^defaultValue}}required {{/defaultValue}}{{/required}} this.{{{name}}}{{#defaultValue}} = {{#isEnum}}{{^isContainer}}const {{{enumName}}}._({{/isContainer}}{{/isEnum}}{{{defaultValue}}}{{#isEnum}}{{^isContainer}}){{/isContainer}}{{/isEnum}}{{/defaultValue}}, {{/vars}} - }); \ No newline at end of file + }); diff --git a/modules/openapi-generator/src/main/resources/dart2/dart_constructor.mustache b/modules/openapi-generator/src/main/resources/dart2/dart_constructor.mustache index dc5dfec5f2a..d4647d2fb5e 100644 --- a/modules/openapi-generator/src/main/resources/dart2/dart_constructor.mustache +++ b/modules/openapi-generator/src/main/resources/dart2/dart_constructor.mustache @@ -8,3 +8,4 @@ {{#required}}{{^defaultValue}}required {{/defaultValue}}{{/required}}this.{{{name}}}{{#defaultValue}} = {{#isEnum}}{{^isContainer}}const {{{enumName}}}._({{/isContainer}}{{/isEnum}}{{{.}}}{{#isEnum}}{{^isContainer}}){{/isContainer}}{{/isEnum}}{{/defaultValue}}, {{/vars}} }); + diff --git a/modules/openapi-generator/src/main/resources/dart2/part_of.mustache b/modules/openapi-generator/src/main/resources/dart2/part_of.mustache index d31ade25036..40b9c973506 100644 --- a/modules/openapi-generator/src/main/resources/dart2/part_of.mustache +++ b/modules/openapi-generator/src/main/resources/dart2/part_of.mustache @@ -1 +1,2 @@ {{#pubLibrary}}part of {{{.}}};{{/pubLibrary}}{{^pubLibrary}}part of {{{pubName}}}.api;{{/pubLibrary}} + diff --git a/modules/openapi-generator/src/main/resources/java-camel-server/pojo.mustache b/modules/openapi-generator/src/main/resources/java-camel-server/pojo.mustache index a69d7ebe84b..b64317d3622 100644 --- a/modules/openapi-generator/src/main/resources/java-camel-server/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/java-camel-server/pojo.mustache @@ -223,7 +223,9 @@ public class {{classname}}{{#parent}} extends {{{parent}}}{{/parent}}{{^parent}} {{>beanValidation}} {{/useBeanValidation}} {{^useBeanValidation}} - {{#required}}@NotNull{{/required}} + {{#required}} + @NotNull + {{/required}} {{/useBeanValidation}} {{#swagger2AnnotationLibrary}} @Schema(name = "{{{baseName}}}"{{#isReadOnly}}, accessMode = Schema.AccessMode.READ_ONLY{{/isReadOnly}}{{#example}}, example = "{{{.}}}"{{/example}}{{#description}}, description = "{{{.}}}"{{/description}}{{#deprecated}}, deprecated = true{{/deprecated}}, requiredMode = {{#required}}Schema.RequiredMode.REQUIRED{{/required}}{{^required}}Schema.RequiredMode.NOT_REQUIRED{{/required}}) diff --git a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/mp/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/mp/generatedAnnotation.mustache index cf058a0fabd..3961cee81c4 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/mp/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/mp/generatedAnnotation.mustache @@ -1 +1 @@ -@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/generatedAnnotation.mustache index cf058a0fabd..3961cee81c4 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/generatedAnnotation.mustache @@ -1 +1 @@ -@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/oneof_interface.mustache b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/oneof_interface.mustache index d6727727460..3c88e8ec9fd 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/oneof_interface.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/client/libraries/se/oneof_interface.mustache @@ -1,4 +1,7 @@ -{{>additionalOneOfTypeAnnotations}}{{>generatedAnnotation}}{{>typeInfoAnnotation}}{{>xmlAnnotation}} +{{>additionalOneOfTypeAnnotations}} +{{>generatedAnnotation}} +{{>typeInfoAnnotation}} +{{>xmlAnnotation}} public interface {{classname}} {{#vendorExtensions.x-implements}}{{#-first}}extends {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{/vendorExtensions.x-implements}} { {{#discriminator}} public {{propertyType}} {{propertyGetter}}(); diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiAbstract.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiAbstract.mustache index a2d82121b02..2066e08b607 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiAbstract.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiAbstract.mustache @@ -2,4 +2,4 @@ @Path("{{{path}}}"){{/subresourceOperation}}{{#hasConsumes}} @Consumes({ {{#consumes}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/consumes}} }){{/hasConsumes}}{{#hasProduces}} @Produces({ {{#produces}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/produces}} }){{/hasProduces}} - {{#useAbstractClass}}abstract {{/useAbstractClass}}{{#supportAsync}}{{>returnAsyncTypeInterface}}{{/supportAsync}}{{^supportAsync}}{{>returnTypes}}{{/supportAsync}} {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>cookieParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{^-last}}, {{/-last}}{{/allParams}}); \ No newline at end of file + {{#useAbstractClass}}abstract {{/useAbstractClass}}{{#supportAsync}}{{>returnAsyncTypeInterface}}{{/supportAsync}}{{^supportAsync}}{{>returnTypes}}{{/supportAsync}} {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>cookieParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{^-last}}, {{/-last}}{{/allParams}}); diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiMethod.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiMethod.mustache index b1c07572f6c..071e9c7b498 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiMethod.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/apiMethod.mustache @@ -19,4 +19,4 @@ {{/vendorExtensions.x-helidon-hasReturnType}} {{/supportAsync}} {{/returnResponse}} - } \ No newline at end of file + } diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/enumClass.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/enumClass.mustache index 1b67dadb360..108ae648b0c 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/enumClass.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/enumClass.mustache @@ -46,3 +46,4 @@ {{#isNullable}}return null;{{/isNullable}}{{^isNullable}}throw new IllegalArgumentException("Unexpected value '" + value + "'");{{/isNullable}} } } + diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/generatedAnnotation.mustache index cf058a0fabd..3961cee81c4 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/mp/generatedAnnotation.mustache @@ -1 +1 @@ -@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{rootJavaEEPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/enumClass.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/enumClass.mustache index b9eeee00409..3cb41df019b 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/enumClass.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/enumClass.mustache @@ -60,3 +60,4 @@ {{#useNullForUnknownEnumValue}}return null;{{/useNullForUnknownEnumValue}}{{^useNullForUnknownEnumValue}}throw new IllegalArgumentException("Unexpected value '" + text + "'");{{/useNullForUnknownEnumValue}} } } + diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/generatedAnnotation.mustache index 47b52025e9d..f9875f68223 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/generatedAnnotation.mustache @@ -1 +1 @@ -@{{rootJavaEEPackage}}.annotation.Generated(value = "{{{generatorClass}}}"{{^hideGenerationTimestamp}}, date = "{{{generatedDate}}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{rootJavaEEPackage}}.annotation.Generated(value = "{{{generatorClass}}}"{{^hideGenerationTimestamp}}, date = "{{{generatedDate}}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/opHelpers.mustache b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/opHelpers.mustache index e5d6a6e8a84..be3a94fae5d 100644 --- a/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/opHelpers.mustache +++ b/modules/openapi-generator/src/main/resources/java-helidon/server/libraries/se/opHelpers.mustache @@ -185,3 +185,4 @@ } {{/responses}} } + diff --git a/modules/openapi-generator/src/main/resources/java-micronaut/common/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-micronaut/common/generatedAnnotation.mustache index 6b157d478be..e84b116ab17 100644 --- a/modules/openapi-generator/src/main/resources/java-micronaut/common/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-micronaut/common/generatedAnnotation.mustache @@ -1 +1 @@ -@Generated(value="{{generatorClass}}"{{^hideGenerationTimestamp}}, date="{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@Generated(value="{{generatorClass}}"{{^hideGenerationTimestamp}}, date="{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-micronaut/common/model/modelInnerEnum.mustache b/modules/openapi-generator/src/main/resources/java-micronaut/common/model/modelInnerEnum.mustache index dab5eafddc6..669c8c0eb2e 100644 --- a/modules/openapi-generator/src/main/resources/java-micronaut/common/model/modelInnerEnum.mustache +++ b/modules/openapi-generator/src/main/resources/java-micronaut/common/model/modelInnerEnum.mustache @@ -57,4 +57,4 @@ throw new IllegalArgumentException("Unexpected value '" + value + "'"); {{/isNullable}} } - } \ No newline at end of file + } diff --git a/modules/openapi-generator/src/main/resources/java-micronaut/common/model/pojo.mustache b/modules/openapi-generator/src/main/resources/java-micronaut/common/model/pojo.mustache index 2d05a31d159..b9edb7c35e6 100644 --- a/modules/openapi-generator/src/main/resources/java-micronaut/common/model/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/java-micronaut/common/model/pojo.mustache @@ -23,7 +23,12 @@ {{#additionalModelTypeAnnotations}} {{{.}}} {{/additionalModelTypeAnnotations}} -{{>common/generatedAnnotation}}{{#discriminator}}{{>common/model/typeInfoAnnotation}}{{/discriminator}}{{>common/model/xmlAnnotation}}{{#useBeanValidation}} +{{>common/generatedAnnotation}} +{{#discriminator}} +{{>common/model/typeInfoAnnotation}} +{{/discriminator}} +{{>common/model/xmlAnnotation}} +{{#useBeanValidation}} @Introspected {{/useBeanValidation}} {{#vendorExtensions.x-class-extra-annotation}} diff --git a/modules/openapi-generator/src/main/resources/java-msf4j-server/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-msf4j-server/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/java-msf4j-server/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-msf4j-server/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-msf4j-server/pojo.mustache b/modules/openapi-generator/src/main/resources/java-msf4j-server/pojo.mustache index 23e732d43d1..a9992d55b76 100644 --- a/modules/openapi-generator/src/main/resources/java-msf4j-server/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/java-msf4j-server/pojo.mustache @@ -1,8 +1,11 @@ /** * {{description}}{{^description}}{{classname}}{{/description}} - */{{#description}} -@ApiModel(description = "{{{.}}}"){{/description}} -{{>additionalModelTypeAnnotations}}{{>generatedAnnotation}} + */ +{{#description}} +@ApiModel(description = "{{{.}}}") +{{/description}} +{{>additionalModelTypeAnnotations}} +{{>generatedAnnotation}} public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}} {{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{/vendorExtensions.x-implements}} { {{#vars}} {{#isEnum}} diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/generatedAnnotation.mustache index e05689d5f0f..fdd494ae9bd 100644 --- a/modules/openapi-generator/src/main/resources/java-pkmst/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-pkmst/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{generatorClass}}"{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/pojo.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/pojo.mustache index 39ba1ad15c6..0ec01387a1f 100644 --- a/modules/openapi-generator/src/main/resources/java-pkmst/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/java-pkmst/pojo.mustache @@ -2,8 +2,15 @@ * {{description}}{{^description}}{{classname}}{{/description}} */{{#description}} @ApiModel(description = "{{{.}}}"){{/description}} -{{#useBeanValidation}}@Validated{{/useBeanValidation}} -{{>generatedAnnotation}}{{#discriminator}}{{>typeInfoAnnotation}}{{/discriminator}}{{>xmlAnnotation}}{{>additionalModelTypeAnnotations}} +{{#useBeanValidation}} +@Validated +{{/useBeanValidation}} +{{>generatedAnnotation}} +{{#discriminator}} +{{>typeInfoAnnotation}} +{{/discriminator}} +{{>xmlAnnotation}} +{{>additionalModelTypeAnnotations}} public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}} {{#vendorExtensions.x-implements}}{{#-first}}implements {{{.}}}{{/-first}}{{^-first}}, {{{.}}}{{/-first}}{{/vendorExtensions.x-implements}} { {{#serializableModel}} private static final long serialVersionUID = 1L; diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/xmlAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/xmlAnnotation.mustache index 70e2626635f..c54529d8c91 100644 --- a/modules/openapi-generator/src/main/resources/java-pkmst/xmlAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-pkmst/xmlAnnotation.mustache @@ -3,4 +3,5 @@ @JacksonXmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}localName = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") {{/jackson}} @XmlRootElement({{#xmlNamespace}}namespace="{{.}}", {{/xmlNamespace}}name = "{{xmlName}}{{^xmlName}}{{classname}}{{/xmlName}}") -@XmlAccessorType(XmlAccessType.FIELD){{/withXml}} \ No newline at end of file +@XmlAccessorType(XmlAccessType.FIELD) +{{/withXml}} diff --git a/modules/openapi-generator/src/main/resources/java-undertow-server/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/java-undertow-server/generatedAnnotation.mustache index b57e0d66dff..3b0aee441ff 100644 --- a/modules/openapi-generator/src/main/resources/java-undertow-server/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/java-undertow-server/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = "{{{generatorClass}}}"{{^hideGenerationTimestamp}}, date = "{{{generatedDate}}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = "{{{generatorClass}}}"{{^hideGenerationTimestamp}}, date = "{{{generatedDate}}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/jaxrs-spec/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/jaxrs-spec/generatedAnnotation.mustache index edd44dce650..178ab75eb13 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/jaxrs-spec/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/jaxrs-spec/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = arrayOf("{{generatorClass}}"){{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = arrayOf("{{generatorClass}}"){{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/apiDelegate.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/apiDelegate.mustache index 47bd58a4818..1b6bfda92e8 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/apiDelegate.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/apiDelegate.mustache @@ -35,7 +35,7 @@ interface {{classname}}Delegate { */ {{#reactive}}{{^isArray}}suspend {{/isArray}}{{/reactive}}fun {{operationId}}({{#allParams}}{{{paramName}}}: {{^isFile}}{{^reactive}}{{>optionalDataType}}{{/reactive}}{{#reactive}}{{^isArray}}{{>optionalDataType}}{{/isArray}}{{#isArray}}{{#isBodyParam}}Flow<{{{baseType}}}>{{/isBodyParam}}{{^isBodyParam}}{{>optionalDataType}}{{/isBodyParam}}{{/isArray}}{{/reactive}}{{/isFile}}{{#isFile}}Resource?{{/isFile}}{{^-last}}, {{/-last}}{{/allParams}}): {{#responseWrapper}}{{.}}<{{/responseWrapper}}ResponseEntity<{{>returnTypes}}>{{#responseWrapper}}>{{/responseWrapper}}{{^skipDefaultDelegateInterface}} { - {{>methodBody}} +{{>methodBody}} }{{/skipDefaultDelegateInterface}} {{/operation}} diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/dataClass.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/dataClass.mustache index 63eeb81eea3..ca10f58fa61 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/dataClass.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/dataClass.mustache @@ -19,12 +19,12 @@ {{/-last}}{{/optionalVars}} ) {{/discriminator}}{{#parent}}: {{{.}}}{{#serializableModel}}, Serializable{{/serializableModel}}{{/parent}}{{^parent}}{{#serializableModel}}: Serializable{{/serializableModel}}{{/parent}}{ {{#discriminator}} - {{#requiredVars}} - {{>interfaceReqVar}} - {{/requiredVars}} - {{#optionalVars}} - {{>interfaceOptVar}} - {{/optionalVars}} +{{#requiredVars}} +{{>interfaceReqVar}} +{{/requiredVars}} +{{#optionalVars}} +{{>interfaceOptVar}} +{{/optionalVars}} {{/discriminator}} {{#hasEnums}}{{#vars}}{{#isEnum}} /** diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/generatedAnnotation.mustache index 194dbbd52ef..0583991c9bb 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/generatedAnnotation.mustache @@ -1 +1 @@ -@{{javaxPackage}}.annotation.Generated(value = ["{{generatorClass}}"]{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@{{javaxPackage}}.annotation.Generated(value = ["{{generatorClass}}"]{{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceOptVar.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceOptVar.mustache index f8d228d1710..5692336c217 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceOptVar.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceOptVar.mustache @@ -1,5 +1,10 @@ {{#swagger2AnnotationLibrary}} - @get:Schema({{#example}}example = "{{{.}}}", {{/example}}{{#required}}requiredMode = Schema.RequiredMode.REQUIRED, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}description = "{{{description}}}"){{/swagger2AnnotationLibrary}}{{#swagger1AnnotationLibrary}} - @get:ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}"){{/swagger1AnnotationLibrary}}{{#vendorExtensions.x-field-extra-annotation}} - {{{.}}}{{/vendorExtensions.x-field-extra-annotation}} - {{>modelMutable}} {{{name}}}: {{#isEnum}}{{classname}}.{{nameInPascalCase}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}? {{^discriminator}}= {{{defaultValue}}}{{^defaultValue}}null{{/defaultValue}}{{/discriminator}} + @get:Schema({{#example}}example = "{{{.}}}", {{/example}}{{#required}}requiredMode = Schema.RequiredMode.REQUIRED, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}description = "{{{description}}}")\ +{{/swagger2AnnotationLibrary}} +{{#swagger1AnnotationLibrary}} + @get:ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}") +{{/swagger1AnnotationLibrary}} +{{#vendorExtensions.x-field-extra-annotation}} + {{{.}}} +{{/vendorExtensions.x-field-extra-annotation}} + {{>modelMutable}} {{{name}}}: {{#isEnum}}{{classname}}.{{nameInPascalCase}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}?{{^discriminator}} = {{{defaultValue}}}{{^defaultValue}}null{{/defaultValue}}{{/discriminator}} diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceReqVar.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceReqVar.mustache index 710ae9c450c..37b6a57cbb8 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceReqVar.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/interfaceReqVar.mustache @@ -1,5 +1,10 @@ {{#swagger2AnnotationLibrary}} - @get:Schema({{#example}}example = "{{{.}}}", {{/example}}{{#required}}requiredMode = Schema.RequiredMode.REQUIRED, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}description = "{{{description}}}"){{/swagger2AnnotationLibrary}}{{#swagger1AnnotationLibrary}} - @get:ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}"){{/swagger1AnnotationLibrary}}{{#vendorExtensions.x-field-extra-annotation}} - {{{.}}}{{/vendorExtensions.x-field-extra-annotation}} - {{>modelMutable}} {{{name}}}: {{#isEnum}}{{classname}}.{{nameInPascalCase}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}} + @get:Schema({{#example}}example = "{{{.}}}", {{/example}}{{#required}}requiredMode = Schema.RequiredMode.REQUIRED, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}description = "{{{description}}}") +{{/swagger2AnnotationLibrary}} +{{#swagger1AnnotationLibrary}} + @get:ApiModelProperty({{#example}}example = "{{{.}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}{{#isReadOnly}}readOnly = {{{isReadOnly}}}, {{/isReadOnly}}value = "{{{description}}}") +{{/swagger1AnnotationLibrary}} +{{#vendorExtensions.x-field-extra-annotation}} + {{{.}}} +{{/vendorExtensions.x-field-extra-annotation}} + {{>modelMutable}} {{{name}}}: {{#isEnum}}{{classname}}.{{nameInPascalCase}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}} diff --git a/modules/openapi-generator/src/main/resources/kotlin-spring/methodBody.mustache b/modules/openapi-generator/src/main/resources/kotlin-spring/methodBody.mustache index 30be6d64a4b..67c718c5617 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-spring/methodBody.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-spring/methodBody.mustache @@ -2,8 +2,8 @@ {{#examples}} {{#-first}} {{#async}} -return CompletableFuture.supplyAsync(()-> { - {{/async}}getRequest().ifPresent { request -> + return CompletableFuture.supplyAsync(()-> { + {{/async}} getRequest().ifPresent { request -> {{#async}} {{/async}} for (mediaType in MediaType.parseMediaTypes(request.getHeader("Accept"))) { {{/-first}} {{#async}} {{/async}}{{^async}} {{/async}} if (mediaType.isCompatibleWith(MediaType.valueOf("{{{contentType}}}"))) { @@ -20,9 +20,9 @@ return CompletableFuture.supplyAsync(()-> { {{/-last}} {{/examples}} {{^examples}} -return {{#async}}CompletableFuture.completedFuture({{/async}}ResponseEntity({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}) + return {{#async}}CompletableFuture.completedFuture({{/async}}ResponseEntity({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}) {{/examples}} {{/reactive}} {{#reactive}} -return ResponseEntity({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}) + return ResponseEntity({{#returnSuccessCode}}HttpStatus.OK{{/returnSuccessCode}}{{^returnSuccessCode}}HttpStatus.NOT_IMPLEMENTED{{/returnSuccessCode}}) {{/reactive}} \ No newline at end of file diff --git a/modules/openapi-generator/src/main/resources/ktorm-schema/data_class_set.mustache b/modules/openapi-generator/src/main/resources/ktorm-schema/data_class_set.mustache index 39ce7c54fae..36d29df5111 100644 --- a/modules/openapi-generator/src/main/resources/ktorm-schema/data_class_set.mustache +++ b/modules/openapi-generator/src/main/resources/ktorm-schema/data_class_set.mustache @@ -1 +1 @@ - set({{{classname}}}s.{{{name}}}, entity.{{{name}}}) \ No newline at end of file + set({{{classname}}}s.{{{name}}}, entity.{{{name}}}) diff --git a/modules/openapi-generator/src/main/resources/python/partial_api.mustache b/modules/openapi-generator/src/main/resources/python/partial_api.mustache index dd3a9a1fa12..e3b243120e9 100644 --- a/modules/openapi-generator/src/main/resources/python/partial_api.mustache +++ b/modules/openapi-generator/src/main/resources/python/partial_api.mustache @@ -49,4 +49,4 @@ '{{code}}': {{#dataType}}"{{.}}"{{/dataType}}{{^dataType}}None{{/dataType}}, {{/isWildcard}} {{/responses}} - } \ No newline at end of file + } diff --git a/modules/openapi-generator/src/main/resources/rust-server/client-operation.mustache b/modules/openapi-generator/src/main/resources/rust-server/client-operation.mustache index a5f96e3dbfa..6e33488d489 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/client-operation.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/client-operation.mustache @@ -265,3 +265,4 @@ } } } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/client-request-body-instance.mustache b/modules/openapi-generator/src/main/resources/rust-server/client-request-body-instance.mustache index f0f265a29d1..854d69cc9df 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/client-request-body-instance.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/client-request-body-instance.mustache @@ -107,3 +107,4 @@ {{/bodyParam}} {{/x-consumes-basic}} {{/vendorExtensions}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/client-request-body-multipart-form.mustache b/modules/openapi-generator/src/main/resources/rust-server/client-request-body-multipart-form.mustache index ce8869195f7..a4886dfacd6 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/client-request-body-multipart-form.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/client-request-body-multipart-form.mustache @@ -63,3 +63,4 @@ Ok(h) => h, Err(e) => return Err(ApiError(format!("Unable to create header: {} - {}", multipart_header, e))) }); + diff --git a/modules/openapi-generator/src/main/resources/rust-server/client-response-body-instance.mustache b/modules/openapi-generator/src/main/resources/rust-server/client-response-body-instance.mustache index 3ff6dfb0c7a..1068d1cea3e 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/client-response-body-instance.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/client-response-body-instance.mustache @@ -20,3 +20,4 @@ {{/x-produces-plain-text}} {{/x-produces-bytes}} {{/vendorExtensions}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/client-response-body-multipart-related.mustache b/modules/openapi-generator/src/main/resources/rust-server/client-response-body-multipart-related.mustache index 0c6aeaacc49..52b36eca106 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/client-response-body-multipart-related.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/client-response-body-multipart-related.mustache @@ -74,3 +74,4 @@ let param_{{{paramName}}} = match param_{{{paramName}}} { {{/formParams}} }; {{/vendorExtensions.x-consumes-basic}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/example-server-operation.mustache b/modules/openapi-generator/src/main/resources/rust-server/example-server-operation.mustache index aea5b654376..6e6e0a31b4d 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/example-server-operation.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/example-server-operation.mustache @@ -16,3 +16,4 @@ info!("{{#vendorExtensions}}{{{x-operation-id}}}{{/vendorExtensions}}({{#allParams}}{{#vendorExtensions}}{{{x-format-string}}}{{/vendorExtensions}}{{^-last}}, {{/-last}}{{/allParams}}) - X-Span-ID: {:?}"{{#allParams}}, {{{paramName}}}{{/allParams}}, context.get().0.clone()); Err(ApiError("Api-Error: Operation is NOT implemented".into())) } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/generate-multipart-related.mustache b/modules/openapi-generator/src/main/resources/rust-server/generate-multipart-related.mustache index 59b647a4130..0c269a0a9bc 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/generate-multipart-related.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/generate-multipart-related.mustache @@ -37,3 +37,4 @@ write_multipart(&mut body, &boundary, &body_parts) .expect("Failed to write multipart body"); {{/-last}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/response.mustache b/modules/openapi-generator/src/main/resources/rust-server/response.mustache index ac74c0b4e2a..9fdca8bb88a 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/response.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/response.mustache @@ -58,3 +58,4 @@ pub enum {{{operationId}}}Response { {{/-last}} {{/responses}} } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-make-service.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-make-service.mustache index 7471c9c2278..ef87c7cbc05 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-make-service.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-make-service.mustache @@ -58,3 +58,4 @@ impl hyper::service::Service for MakeService where future::ok(service) } } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-operation.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-operation.mustache index 4957b65c4dc..e2326b44eea 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-operation.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-operation.mustache @@ -316,3 +316,4 @@ } {{/vendorExtensions.x-has-request-body}} }, + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-paths.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-paths.mustache index c5297d058d2..14945a8addd 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-paths.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-paths.mustache @@ -21,3 +21,4 @@ mod paths { {{/hasPathParams}} {{/pathSet}} } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-basic.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-basic.mustache index 97422852ca7..8229c2115a1 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-basic.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-basic.mustache @@ -50,3 +50,4 @@ .expect("Unable to create Bad Request response for missing body parameter {{{baseName}}}")), }; {{/required}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-form.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-form.mustache index 24021a86b7f..4b8bdf6f137 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-form.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-form.mustache @@ -22,3 +22,4 @@ {{/isMap}} {{/formParams}} {{/vendorExtensions}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-instance.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-instance.mustache index 4fea15ea52c..763ec41bf2f 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-instance.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-instance.mustache @@ -18,3 +18,4 @@ {{/bodyParams}} {{/x-consumes-multipart}} {{/vendorExtensions}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-form.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-form.mustache index c5022acf84b..77b422e3654 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-form.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-form.mustache @@ -96,3 +96,4 @@ } }; {{/formParams}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-related.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-related.mustache index b9dc330ef3f..22a23085576 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-related.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-request-body-multipart-related.mustache @@ -84,3 +84,4 @@ }; {{/required}} {{/formParams}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-response-body-instance.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-response-body-instance.mustache index 9bb648c525f..36655c28fdc 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-response-body-instance.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-response-body-instance.mustache @@ -48,3 +48,4 @@ {{/vendorExtensions}} *response.body_mut() = Body::from(body); {{/dataType}} + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-service-footer.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-service-footer.mustache index 793cd99e5cc..14f25e21201 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-service-footer.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-service-footer.mustache @@ -12,3 +12,4 @@ )) } } + diff --git a/modules/openapi-generator/src/main/resources/rust-server/server-service-header.mustache b/modules/openapi-generator/src/main/resources/rust-server/server-service-header.mustache index 997b5b5c9f0..f71d3fe7d60 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/server-service-header.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/server-service-header.mustache @@ -92,3 +92,4 @@ impl hyper::service::Service<(Request, C)> for Service where Please update both places if changing how this code is autogenerated. }} match method { + diff --git a/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallGeneric.mustache b/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallGeneric.mustache index d5b1ba61c57..2ece10b208c 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallGeneric.mustache +++ b/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallGeneric.mustache @@ -1,6 +1 @@ -{{^authName}} -delegate.{{operationId}}.handle(req, {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses) -{{/authName}} -{{#authName}} -delegate.{{operationId}}.handle_{{authName}}(auth, req, {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses) -{{/authName}} +{{^authName}}delegate.{{operationId}}.handle(req, {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses){{/authName}}{{#authName}}delegate.{{operationId}}.handle_{{authName}}(auth, req, {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses){{/authName}} diff --git a/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallJson.mustache b/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallJson.mustache index e023b906240..e7db28395b4 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallJson.mustache +++ b/modules/openapi-generator/src/main/resources/scala-http4s-server/delegateCallJson.mustache @@ -1,6 +1 @@ -{{^authName}} - delegate.{{operationId}}.handle(req, req.asJsonDecode[{{{bodyParam.dataType}}}] , {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses) -{{/authName}} -{{#authName}} - delegate.{{operationId}}.handle_{{authName}}(auth, req, req.asJsonDecode[{{{bodyParam.dataType}}}] , {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses) -{{/authName}} +{{^authName}}delegate.{{operationId}}.handle(req, req.asJsonDecode[{{{bodyParam.dataType}}}] , {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses){{/authName}}{{#authName}}delegate.{{operationId}}.handle_{{authName}}(auth, req, req.asJsonDecode[{{{bodyParam.dataType}}}] , {{#pathParams}}{{baseName}}, {{/pathParams}}{{#queryParams}}{{baseName}}, {{/queryParams}}responses){{/authName}} diff --git a/modules/openapi-generator/src/main/resources/scala-play-server/generatedAnnotation.mustache b/modules/openapi-generator/src/main/resources/scala-play-server/generatedAnnotation.mustache index 8f2e5db545b..74c6f6fa939 100644 --- a/modules/openapi-generator/src/main/resources/scala-play-server/generatedAnnotation.mustache +++ b/modules/openapi-generator/src/main/resources/scala-play-server/generatedAnnotation.mustache @@ -1 +1 @@ -@javax.annotation.Generated(value = Array("{{generatorClass}}"){{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") \ No newline at end of file +@javax.annotation.Generated(value = Array("{{generatorClass}}"){{^hideGenerationTimestamp}}, date = "{{generatedDate}}"{{/hideGenerationTimestamp}}, comments = "Generator version: {{generatorVersion}}") diff --git a/pom.xml b/pom.xml index 025e70f4534..556adf1e5c4 100644 --- a/pom.xml +++ b/pom.xml @@ -1227,7 +1227,7 @@ 2.15.2 2.17.1 0.8.10 - 1.15 + 1.16 5.10.2 1.6.21 1.6.21 diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Bird.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Bird.cs index e87aec99cc6..bd2e31c4fbc 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Bird.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Bird.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs index ae30da28141..548be7a34a1 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Category.cs @@ -143,7 +143,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs index ee11b0f5c9b..582820f8385 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DataQuery.cs @@ -182,7 +182,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs index 3a0530813ea..0b035eabb51 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/DefaultValue.cs @@ -56,7 +56,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "unclassified")] Unclassified = 3 } - /// /// Initializes a new instance of the class. /// @@ -281,7 +280,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs index ccf8e681847..919daa9a89e 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/NumberPropertiesOnly.cs @@ -159,7 +159,6 @@ namespace Org.OpenAPITools.Model } yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs index f3b46cae493..77248f93773 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -255,7 +254,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs index 0ff925611a5..c4b37671a36 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Query.cs @@ -56,7 +56,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "SKIPPED")] SKIPPED = 3 } - /// /// Initializes a new instance of the class. /// @@ -164,7 +163,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs index 66eab762090..dfe5e85e0b2 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/Tag.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestFormObjectMultipartRequestMarker.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestFormObjectMultipartRequestMarker.cs index d38d85da520..2228acf8cea 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestFormObjectMultipartRequestMarker.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestFormObjectMultipartRequestMarker.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs index 124ef98ce3a..595d4b9eb51 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.cs @@ -179,7 +179,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.cs b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.cs index a6cad9859cf..9c15de049b9 100644 --- a/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.cs +++ b/samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/echo_api/go-external-refs/model_bird.go b/samples/client/echo_api/go-external-refs/model_bird.go index 5b15b73862e..280dad869c9 100644 --- a/samples/client/echo_api/go-external-refs/model_bird.go +++ b/samples/client/echo_api/go-external-refs/model_bird.go @@ -160,4 +160,3 @@ func (v *NullableBird) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_category.go b/samples/client/echo_api/go-external-refs/model_category.go index 20937702195..55bf1d8ff9f 100644 --- a/samples/client/echo_api/go-external-refs/model_category.go +++ b/samples/client/echo_api/go-external-refs/model_category.go @@ -160,4 +160,3 @@ func (v *NullableCategory) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_data_query.go b/samples/client/echo_api/go-external-refs/model_data_query.go index 9a5fe8ce906..91a06e2c0e7 100644 --- a/samples/client/echo_api/go-external-refs/model_data_query.go +++ b/samples/client/echo_api/go-external-refs/model_data_query.go @@ -209,4 +209,3 @@ func (v *NullableDataQuery) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_default_value.go b/samples/client/echo_api/go-external-refs/model_default_value.go index 48d42bfe77b..137d4095311 100644 --- a/samples/client/echo_api/go-external-refs/model_default_value.go +++ b/samples/client/echo_api/go-external-refs/model_default_value.go @@ -388,4 +388,3 @@ func (v *NullableDefaultValue) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_number_properties_only.go b/samples/client/echo_api/go-external-refs/model_number_properties_only.go index 667c4aec6db..ebe46fc73f2 100644 --- a/samples/client/echo_api/go-external-refs/model_number_properties_only.go +++ b/samples/client/echo_api/go-external-refs/model_number_properties_only.go @@ -196,4 +196,3 @@ func (v *NullableNumberPropertiesOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_pet.go b/samples/client/echo_api/go-external-refs/model_pet.go index 13f24706dfd..9ef6578b13c 100644 --- a/samples/client/echo_api/go-external-refs/model_pet.go +++ b/samples/client/echo_api/go-external-refs/model_pet.go @@ -329,4 +329,3 @@ func (v *NullablePet) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_query.go b/samples/client/echo_api/go-external-refs/model_query.go index 653e18c8300..dac78647f26 100644 --- a/samples/client/echo_api/go-external-refs/model_query.go +++ b/samples/client/echo_api/go-external-refs/model_query.go @@ -161,4 +161,3 @@ func (v *NullableQuery) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_string_enum_ref.go b/samples/client/echo_api/go-external-refs/model_string_enum_ref.go index f1ae6625287..91540adbccf 100644 --- a/samples/client/echo_api/go-external-refs/model_string_enum_ref.go +++ b/samples/client/echo_api/go-external-refs/model_string_enum_ref.go @@ -111,4 +111,3 @@ func (v *NullableStringEnumRef) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_tag.go b/samples/client/echo_api/go-external-refs/model_tag.go index 0b69e30a761..209b90e04b3 100644 --- a/samples/client/echo_api/go-external-refs/model_tag.go +++ b/samples/client/echo_api/go-external-refs/model_tag.go @@ -160,4 +160,3 @@ func (v *NullableTag) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go b/samples/client/echo_api/go-external-refs/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go index b270889eaec..4c2921ca0e2 100644 --- a/samples/client/echo_api/go-external-refs/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go +++ b/samples/client/echo_api/go-external-refs/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go @@ -232,4 +232,3 @@ func (v *NullableTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParame return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go-external-refs/model_test_query_style_form_explode_true_array_string_query_object_parameter.go b/samples/client/echo_api/go-external-refs/model_test_query_style_form_explode_true_array_string_query_object_parameter.go index d2e8f877529..eeaf29208ff 100644 --- a/samples/client/echo_api/go-external-refs/model_test_query_style_form_explode_true_array_string_query_object_parameter.go +++ b/samples/client/echo_api/go-external-refs/model_test_query_style_form_explode_true_array_string_query_object_parameter.go @@ -124,4 +124,3 @@ func (v *NullableTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter) U return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_bird.go b/samples/client/echo_api/go/model_bird.go index 5b15b73862e..280dad869c9 100644 --- a/samples/client/echo_api/go/model_bird.go +++ b/samples/client/echo_api/go/model_bird.go @@ -160,4 +160,3 @@ func (v *NullableBird) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_category.go b/samples/client/echo_api/go/model_category.go index 20937702195..55bf1d8ff9f 100644 --- a/samples/client/echo_api/go/model_category.go +++ b/samples/client/echo_api/go/model_category.go @@ -160,4 +160,3 @@ func (v *NullableCategory) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_data_query.go b/samples/client/echo_api/go/model_data_query.go index 9a5fe8ce906..91a06e2c0e7 100644 --- a/samples/client/echo_api/go/model_data_query.go +++ b/samples/client/echo_api/go/model_data_query.go @@ -209,4 +209,3 @@ func (v *NullableDataQuery) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_default_value.go b/samples/client/echo_api/go/model_default_value.go index 48d42bfe77b..137d4095311 100644 --- a/samples/client/echo_api/go/model_default_value.go +++ b/samples/client/echo_api/go/model_default_value.go @@ -388,4 +388,3 @@ func (v *NullableDefaultValue) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_number_properties_only.go b/samples/client/echo_api/go/model_number_properties_only.go index 667c4aec6db..ebe46fc73f2 100644 --- a/samples/client/echo_api/go/model_number_properties_only.go +++ b/samples/client/echo_api/go/model_number_properties_only.go @@ -196,4 +196,3 @@ func (v *NullableNumberPropertiesOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_pet.go b/samples/client/echo_api/go/model_pet.go index 13f24706dfd..9ef6578b13c 100644 --- a/samples/client/echo_api/go/model_pet.go +++ b/samples/client/echo_api/go/model_pet.go @@ -329,4 +329,3 @@ func (v *NullablePet) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_query.go b/samples/client/echo_api/go/model_query.go index 653e18c8300..dac78647f26 100644 --- a/samples/client/echo_api/go/model_query.go +++ b/samples/client/echo_api/go/model_query.go @@ -161,4 +161,3 @@ func (v *NullableQuery) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_string_enum_ref.go b/samples/client/echo_api/go/model_string_enum_ref.go index f1ae6625287..91540adbccf 100644 --- a/samples/client/echo_api/go/model_string_enum_ref.go +++ b/samples/client/echo_api/go/model_string_enum_ref.go @@ -111,4 +111,3 @@ func (v *NullableStringEnumRef) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_tag.go b/samples/client/echo_api/go/model_tag.go index 0b69e30a761..209b90e04b3 100644 --- a/samples/client/echo_api/go/model_tag.go +++ b/samples/client/echo_api/go/model_tag.go @@ -160,4 +160,3 @@ func (v *NullableTag) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_test_form_object_multipart_request_marker.go b/samples/client/echo_api/go/model_test_form_object_multipart_request_marker.go index d25366f75c1..19fd383c991 100644 --- a/samples/client/echo_api/go/model_test_form_object_multipart_request_marker.go +++ b/samples/client/echo_api/go/model_test_form_object_multipart_request_marker.go @@ -124,4 +124,3 @@ func (v *NullableTestFormObjectMultipartRequestMarker) UnmarshalJSON(src []byte) return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go b/samples/client/echo_api/go/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go index b270889eaec..4c2921ca0e2 100644 --- a/samples/client/echo_api/go/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go +++ b/samples/client/echo_api/go/model_test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.go @@ -232,4 +232,3 @@ func (v *NullableTestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParame return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/go/model_test_query_style_form_explode_true_array_string_query_object_parameter.go b/samples/client/echo_api/go/model_test_query_style_form_explode_true_array_string_query_object_parameter.go index d2e8f877529..eeaf29208ff 100644 --- a/samples/client/echo_api/go/model_test_query_style_form_explode_true_array_string_query_object_parameter.go +++ b/samples/client/echo_api/go/model_test_query_style_form_explode_true_array_string_query_object_parameter.go @@ -124,4 +124,3 @@ func (v *NullableTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter) U return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Bird.java index 361d461c663..0671a00d9cb 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Bird.java @@ -34,14 +34,13 @@ import java.util.StringJoiner; Bird.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -56,8 +55,7 @@ public class Bird { * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -81,8 +79,7 @@ public class Bird { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Category.java index ab9af00bda1..4000c480356 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Category.java @@ -34,14 +34,13 @@ import java.util.StringJoiner; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -56,8 +55,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -81,8 +79,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java index 08a99cf81ee..331520eaeae 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DataQuery.java @@ -40,18 +40,16 @@ import java.util.StringJoiner; DataQuery.JSON_PROPERTY_DATE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String JSON_PROPERTY_SUFFIX = "suffix"; - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String JSON_PROPERTY_TEXT = "text"; - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nullable - private OffsetDateTime date; + @javax.annotation.Nullable private OffsetDateTime date; public DataQuery() { @@ -67,8 +65,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SUFFIX) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSuffix() { @@ -92,8 +89,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TEXT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { @@ -117,8 +113,7 @@ public class DataQuery extends Query { * A date * @return date */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDate() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DefaultValue.java index f3878ee3125..ef0d4ed59cd 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -48,10 +48,10 @@ import java.util.StringJoiner; DefaultValue.JSON_PROPERTY_STRING_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -89,34 +89,26 @@ public class DefaultValue { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String JSON_PROPERTY_ARRAY_STRING_DEFAULT = "array_string_default"; - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "array_integer_default"; - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String JSON_PROPERTY_ARRAY_STRING = "array_string"; - @javax.annotation.Nullable - private List arrayString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_STRING_NULLABLE = "string_nullable"; - @javax.annotation.Nullable - private JsonNullable stringNullable = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringNullable = JsonNullable.undefined(); public DefaultValue() { } @@ -139,8 +131,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumRefDefault() { @@ -172,8 +163,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumDefault() { @@ -205,8 +195,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringDefault() { @@ -238,8 +227,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayIntegerDefault() { @@ -271,8 +259,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayString() { @@ -308,8 +295,7 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringNullable() { return arrayStringNullable.orElse(null); @@ -317,7 +303,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -353,8 +338,7 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable.orElse(null); @@ -362,7 +346,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -386,8 +369,7 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringNullable() { return stringNullable.orElse(null); @@ -395,7 +377,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index 5f44753f35b..3021ef5afdb 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -36,18 +36,16 @@ import java.util.StringJoiner; NumberPropertiesOnly.JSON_PROPERTY_DOUBLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -62,8 +60,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNumber() { @@ -87,8 +84,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -114,8 +110,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java index 32efe4b67ed..dfa4bfdb727 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import java.util.StringJoiner; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -168,8 +160,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { @@ -234,8 +224,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -259,8 +248,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Query.java index 7383b1df01a..384b62289a5 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Query.java @@ -37,10 +37,10 @@ import java.util.StringJoiner; Query.JSON_PROPERTY_OUTCOMES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - protected Long id; + @javax.annotation.Nullable protected Long id; /** * Gets or Sets outcomes @@ -78,10 +78,8 @@ public class Query { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; - @javax.annotation.Nullable - protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -96,8 +94,7 @@ public class Query { * Query * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -129,8 +126,7 @@ public class Query { * Get outcomes * @return outcomes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTCOMES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getOutcomes() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Tag.java index bfbc60ff793..506bcd9b2fc 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Tag.java @@ -34,14 +34,13 @@ import java.util.StringJoiner; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -56,8 +55,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -81,8 +79,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index b441ab62d79..657bd4038c5 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -34,10 +34,10 @@ import java.util.StringJoiner; }) @JsonTypeName("test_form_object_multipart_request_marker") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -52,8 +52,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index 0294f53b1e9..67654957632 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -37,22 +37,19 @@ import java.util.StringJoiner; }) @JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -67,8 +64,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -92,8 +88,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -117,8 +112,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -142,8 +136,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index e3f337b3006..9e500c90516 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -37,10 +37,10 @@ import java.util.StringJoiner; }) @JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String JSON_PROPERTY_VALUES = "values"; - @javax.annotation.Nullable - private List values = new ArrayList<>(); + @javax.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -63,8 +63,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VALUES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Bird.java index 5dc5e0d3f0c..8723d58f7fb 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Bird.java @@ -26,16 +26,15 @@ import java.io.IOException; * Bird */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String SERIALIZED_NAME_SIZE = "size"; @SerializedName(SERIALIZED_NAME_SIZE) - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -51,7 +50,6 @@ public class Bird { * @return size */ @javax.annotation.Nullable - public String getSize() { return size; } @@ -73,7 +71,6 @@ public class Bird { * @return color */ @javax.annotation.Nullable - public String getColor() { return color; } @@ -83,7 +80,6 @@ public class Bird { this.color = color; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Category.java index c128cee2431..431739aad80 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Category.java @@ -26,16 +26,15 @@ import java.io.IOException; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -51,7 +50,6 @@ public class Category { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -73,7 +71,6 @@ public class Category { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } @@ -83,7 +80,6 @@ public class Category { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java index 606a98af052..8e5ed773f7a 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DataQuery.java @@ -31,21 +31,19 @@ import org.openapitools.client.model.Query; * DataQuery */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String SERIALIZED_NAME_SUFFIX = "suffix"; @SerializedName(SERIALIZED_NAME_SUFFIX) - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nullable - private OffsetDateTime date; + @javax.annotation.Nullable private OffsetDateTime date; public DataQuery() { @@ -62,7 +60,6 @@ public class DataQuery extends Query { * @return suffix */ @javax.annotation.Nullable - public String getSuffix() { return suffix; } @@ -84,7 +81,6 @@ public class DataQuery extends Query { * @return text */ @javax.annotation.Nullable - public String getText() { return text; } @@ -106,7 +102,6 @@ public class DataQuery extends Query { * @return date */ @javax.annotation.Nullable - public OffsetDateTime getDate() { return date; } @@ -116,7 +111,6 @@ public class DataQuery extends Query { this.date = date; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DefaultValue.java index 09d07d8b75e..6e0df46c3a3 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -31,11 +31,11 @@ import org.openapitools.jackson.nullable.JsonNullable; * to test the default value of properties */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT) - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -85,41 +85,33 @@ public class DefaultValue { } } } - public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT) - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String SERIALIZED_NAME_ARRAY_STRING_DEFAULT = "array_string_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_DEFAULT) - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT = "array_integer_default"; @SerializedName(SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT) - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String SERIALIZED_NAME_ARRAY_STRING = "array_string"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING) - @javax.annotation.Nullable - private List arrayString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_STRING_NULLABLE = "array_string_nullable"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_NULLABLE) - @javax.annotation.Nullable - private List arrayStringNullable; + @javax.annotation.Nullable private List arrayStringNullable; public static final String SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE) - @javax.annotation.Nullable - private List arrayStringExtensionNullable; + @javax.annotation.Nullable private List arrayStringExtensionNullable; public static final String SERIALIZED_NAME_STRING_NULLABLE = "string_nullable"; @SerializedName(SERIALIZED_NAME_STRING_NULLABLE) - @javax.annotation.Nullable - private String stringNullable; + @javax.annotation.Nullable private String stringNullable; public DefaultValue() { } @@ -143,7 +135,6 @@ public class DefaultValue { * @return arrayStringEnumRefDefault */ @javax.annotation.Nullable - public List getArrayStringEnumRefDefault() { return arrayStringEnumRefDefault; } @@ -173,7 +164,6 @@ public class DefaultValue { * @return arrayStringEnumDefault */ @javax.annotation.Nullable - public List getArrayStringEnumDefault() { return arrayStringEnumDefault; } @@ -203,7 +193,6 @@ public class DefaultValue { * @return arrayStringDefault */ @javax.annotation.Nullable - public List getArrayStringDefault() { return arrayStringDefault; } @@ -233,7 +222,6 @@ public class DefaultValue { * @return arrayIntegerDefault */ @javax.annotation.Nullable - public List getArrayIntegerDefault() { return arrayIntegerDefault; } @@ -263,7 +251,6 @@ public class DefaultValue { * @return arrayString */ @javax.annotation.Nullable - public List getArrayString() { return arrayString; } @@ -293,7 +280,6 @@ public class DefaultValue { * @return arrayStringNullable */ @javax.annotation.Nullable - public List getArrayStringNullable() { return arrayStringNullable; } @@ -323,7 +309,6 @@ public class DefaultValue { * @return arrayStringExtensionNullable */ @javax.annotation.Nullable - public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable; } @@ -345,7 +330,6 @@ public class DefaultValue { * @return stringNullable */ @javax.annotation.Nullable - public String getStringNullable() { return stringNullable; } @@ -355,7 +339,6 @@ public class DefaultValue { this.stringNullable = stringNullable; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index 7cfde325390..e84ee9b9052 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -27,21 +27,19 @@ import java.math.BigDecimal; * NumberPropertiesOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -57,7 +55,6 @@ public class NumberPropertiesOnly { * @return number */ @javax.annotation.Nullable - public BigDecimal getNumber() { return number; } @@ -79,7 +76,6 @@ public class NumberPropertiesOnly { * @return _float */ @javax.annotation.Nullable - public Float getFloat() { return _float; } @@ -103,7 +99,6 @@ public class NumberPropertiesOnly { * @return _double */ @javax.annotation.Nullable - public Double getDouble() { return _double; } @@ -113,7 +108,6 @@ public class NumberPropertiesOnly { this._double = _double; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Pet.java index bf904ee1a7f..6b71e11a612 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Pet.java @@ -31,31 +31,27 @@ import org.openapitools.client.model.Tag; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -105,11 +101,9 @@ public class Pet { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -125,7 +119,6 @@ public class Pet { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -147,7 +140,6 @@ public class Pet { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } @@ -169,7 +161,6 @@ public class Pet { * @return category */ @javax.annotation.Nullable - public Category getCategory() { return category; } @@ -199,7 +190,6 @@ public class Pet { * @return photoUrls */ @javax.annotation.Nonnull - public List getPhotoUrls() { return photoUrls; } @@ -229,7 +219,6 @@ public class Pet { * @return tags */ @javax.annotation.Nullable - public List getTags() { return tags; } @@ -251,7 +240,6 @@ public class Pet { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } @@ -261,7 +249,6 @@ public class Pet { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Query.java index 23ea531e016..25238f35d62 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Query.java @@ -29,11 +29,11 @@ import java.util.List; * Query */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; /** * Gets or Sets outcomes @@ -83,11 +83,9 @@ public class Query { } } } - public static final String SERIALIZED_NAME_OUTCOMES = "outcomes"; @SerializedName(SERIALIZED_NAME_OUTCOMES) - @javax.annotation.Nullable - private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -103,7 +101,6 @@ public class Query { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -133,7 +130,6 @@ public class Query { * @return outcomes */ @javax.annotation.Nullable - public List getOutcomes() { return outcomes; } @@ -143,7 +139,6 @@ public class Query { this.outcomes = outcomes; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Tag.java index 3879ea1fbb7..a1ae638ac19 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/Tag.java @@ -26,16 +26,15 @@ import java.io.IOException; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -51,7 +50,6 @@ public class Tag { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -73,7 +71,6 @@ public class Tag { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } @@ -83,7 +80,6 @@ public class Tag { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index 6ebad72a27c..793497c91f8 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -26,11 +26,11 @@ import java.io.IOException; * TestFormObjectMultipartRequestMarker */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -46,7 +46,6 @@ public class TestFormObjectMultipartRequestMarker { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } @@ -56,7 +55,6 @@ public class TestFormObjectMultipartRequestMarker { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index 93fac35e29f..db59ed6b62c 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -26,26 +26,23 @@ import java.io.IOException; * TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String SERIALIZED_NAME_SIZE = "size"; @SerializedName(SERIALIZED_NAME_SIZE) - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -61,7 +58,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * @return size */ @javax.annotation.Nullable - public String getSize() { return size; } @@ -83,7 +79,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * @return color */ @javax.annotation.Nullable - public String getColor() { return color; } @@ -105,7 +100,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -127,7 +121,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * @return name */ @javax.annotation.Nullable - public String getName() { return name; } @@ -137,7 +130,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index 2947e11be5d..1a50920fb2a 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -29,11 +29,11 @@ import java.util.List; * TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String SERIALIZED_NAME_VALUES = "values"; @SerializedName(SERIALIZED_NAME_VALUES) - @javax.annotation.Nullable - private List values = new ArrayList<>(); + @javax.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -57,7 +57,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * @return values */ @javax.annotation.Nullable - public List getValues() { return values; } @@ -67,7 +66,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { this.values = values; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/native/docs/Bird.md b/samples/client/echo_api/java/native/docs/Bird.md index 2a6f8a660d6..958d8cb5b52 100644 --- a/samples/client/echo_api/java/native/docs/Bird.md +++ b/samples/client/echo_api/java/native/docs/Bird.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/Category.md b/samples/client/echo_api/java/native/docs/Category.md index 7289ebf585b..287bdad9fda 100644 --- a/samples/client/echo_api/java/native/docs/Category.md +++ b/samples/client/echo_api/java/native/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/DataQuery.md b/samples/client/echo_api/java/native/docs/DataQuery.md index d61a881571c..22c86098e9f 100644 --- a/samples/client/echo_api/java/native/docs/DataQuery.md +++ b/samples/client/echo_api/java/native/docs/DataQuery.md @@ -12,4 +12,3 @@ |**date** | **Instant** | A date | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/DefaultValue.md b/samples/client/echo_api/java/native/docs/DefaultValue.md index 20a9b8ee250..5e6eb2bae23 100644 --- a/samples/client/echo_api/java/native/docs/DefaultValue.md +++ b/samples/client/echo_api/java/native/docs/DefaultValue.md @@ -28,4 +28,3 @@ to test the default value of properties | UNCLASSIFIED | "unclassified" | - diff --git a/samples/client/echo_api/java/native/docs/NumberPropertiesOnly.md b/samples/client/echo_api/java/native/docs/NumberPropertiesOnly.md index 7e153538475..19fae1c9af0 100644 --- a/samples/client/echo_api/java/native/docs/NumberPropertiesOnly.md +++ b/samples/client/echo_api/java/native/docs/NumberPropertiesOnly.md @@ -12,4 +12,3 @@ |**_double** | **Double** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/Pet.md b/samples/client/echo_api/java/native/docs/Pet.md index 82aa8a25ed7..4d0c4ead463 100644 --- a/samples/client/echo_api/java/native/docs/Pet.md +++ b/samples/client/echo_api/java/native/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/echo_api/java/native/docs/Query.md b/samples/client/echo_api/java/native/docs/Query.md index 99c6fd6faa5..c42bafa4e06 100644 --- a/samples/client/echo_api/java/native/docs/Query.md +++ b/samples/client/echo_api/java/native/docs/Query.md @@ -21,4 +21,3 @@ | SKIPPED | "SKIPPED" | - diff --git a/samples/client/echo_api/java/native/docs/StringEnumRef.md b/samples/client/echo_api/java/native/docs/StringEnumRef.md index dff22ecf074..74722d1ace4 100644 --- a/samples/client/echo_api/java/native/docs/StringEnumRef.md +++ b/samples/client/echo_api/java/native/docs/StringEnumRef.md @@ -12,4 +12,3 @@ * `UNCLASSIFIED` (value: `"unclassified"`) - diff --git a/samples/client/echo_api/java/native/docs/Tag.md b/samples/client/echo_api/java/native/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/echo_api/java/native/docs/Tag.md +++ b/samples/client/echo_api/java/native/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/TestFormObjectMultipartRequestMarker.md b/samples/client/echo_api/java/native/docs/TestFormObjectMultipartRequestMarker.md index 3e67574f36d..108e02d59ea 100644 --- a/samples/client/echo_api/java/native/docs/TestFormObjectMultipartRequestMarker.md +++ b/samples/client/echo_api/java/native/docs/TestFormObjectMultipartRequestMarker.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md b/samples/client/echo_api/java/native/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md index a756a343e8a..98b0c847dff 100644 --- a/samples/client/echo_api/java/native/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md +++ b/samples/client/echo_api/java/native/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md @@ -13,4 +13,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/echo_api/java/native/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/java/native/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md index 9235e80fb82..3c1de3381a4 100644 --- a/samples/client/echo_api/java/native/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md +++ b/samples/client/echo_api/java/native/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md @@ -10,4 +10,3 @@ |**values** | **List<String>** | | [optional] | - diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index cf59d691c93..cf473f80d72 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -143,5 +143,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Bird.java index b84c6db75f2..b48b0094684 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Bird.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Bird.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -58,8 +57,7 @@ public class Bird { * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { return size; @@ -82,8 +80,7 @@ public class Bird { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { return color; @@ -96,7 +93,6 @@ public class Bird { this.color = color; } - /** * Return true if this Bird object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Category.java index ffd1ad0aee1..057eaac0ffa 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Category.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -58,8 +57,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java index 27d78a88f31..ff7cb0c4919 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DataQuery.java @@ -42,18 +42,16 @@ import org.openapitools.client.ApiClient; DataQuery.JSON_PROPERTY_DATE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String JSON_PROPERTY_SUFFIX = "suffix"; - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String JSON_PROPERTY_TEXT = "text"; - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nullable - private Instant date; + @javax.annotation.Nullable private Instant date; public DataQuery() { } @@ -67,8 +65,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SUFFIX) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSuffix() { return suffix; @@ -91,8 +88,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TEXT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { return text; @@ -115,8 +111,7 @@ public class DataQuery extends Query { * A date * @return date */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Instant getDate() { return date; @@ -129,7 +124,6 @@ public class DataQuery extends Query { this.date = date; } - @Override public DataQuery id(@javax.annotation.Nullable Long id) { this.setId(id); diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DefaultValue.java index 67589ae146c..aec4ab4c7bf 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -50,10 +50,10 @@ import org.openapitools.client.ApiClient; DefaultValue.JSON_PROPERTY_STRING_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -91,22 +91,17 @@ public class DefaultValue { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String JSON_PROPERTY_ARRAY_STRING_DEFAULT = "array_string_default"; - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "array_integer_default"; - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String JSON_PROPERTY_ARRAY_STRING = "array_string"; - @javax.annotation.Nullable - private List arrayString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable"; private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); @@ -137,8 +132,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumRefDefault() { return arrayStringEnumRefDefault; @@ -169,8 +163,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumDefault() { return arrayStringEnumDefault; @@ -201,8 +194,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringDefault() { return arrayStringDefault; @@ -233,8 +225,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayIntegerDefault() { return arrayIntegerDefault; @@ -265,8 +256,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayString() { return arrayString; @@ -301,15 +291,13 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringNullable() { return arrayStringNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -345,15 +333,13 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -377,15 +363,13 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringNullable() { return stringNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } @@ -399,7 +383,6 @@ public class DefaultValue { this.stringNullable = JsonNullable.of(stringNullable); } - /** * Return true if this DefaultValue object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index 7d137c11f08..60d32afac58 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -39,18 +39,16 @@ import org.openapitools.client.ApiClient; NumberPropertiesOnly.JSON_PROPERTY_DOUBLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -64,8 +62,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNumber() { return number; @@ -88,8 +85,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { return _float; @@ -114,8 +110,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { return _double; @@ -128,7 +123,6 @@ public class NumberPropertiesOnly { this._double = _double; } - /** * Return true if this NumberPropertiesOnly object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Pet.java index c2103c4e480..1ab7460832a 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Pet.java @@ -45,26 +45,22 @@ import org.openapitools.client.ApiClient; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -102,10 +98,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -143,8 +136,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -167,8 +159,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { return category; @@ -199,8 +190,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { return photoUrls; @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { return tags; @@ -255,8 +244,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -269,7 +257,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Query.java index cb7f8b46aa0..473c46c8cf1 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Query.java @@ -39,10 +39,10 @@ import org.openapitools.client.ApiClient; Query.JSON_PROPERTY_OUTCOMES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; /** * Gets or Sets outcomes @@ -80,10 +80,8 @@ public class Query { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; - @javax.annotation.Nullable - private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -97,8 +95,7 @@ public class Query { * Query * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -129,8 +126,7 @@ public class Query { * Get outcomes * @return outcomes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTCOMES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getOutcomes() { return outcomes; @@ -143,7 +139,6 @@ public class Query { this.outcomes = outcomes; } - /** * Return true if this Query object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Tag.java index 40576eb1c3a..89e4933d70d 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/Tag.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -58,8 +57,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index a94fbeda20b..567eb4269ef 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; TestFormObjectMultipartRequestMarker.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -53,8 +53,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -67,7 +66,6 @@ public class TestFormObjectMultipartRequestMarker { this.name = name; } - /** * Return true if this test_form_object_multipart_request_marker object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index 17049ccb438..4f839cd1e33 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -39,22 +39,19 @@ import org.openapitools.client.ApiClient; TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -68,8 +65,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { return size; @@ -92,8 +88,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { return color; @@ -116,8 +111,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -140,8 +134,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -154,7 +147,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter this.name = name; } - /** * Return true if this test_query_style_deepObject_explode_true_object_allOf_query_object_parameter object is equal to o. */ diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index 749dd75adf9..43ecd28b32a 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -38,10 +38,10 @@ import org.openapitools.client.ApiClient; TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.JSON_PROPERTY_VALUES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String JSON_PROPERTY_VALUES = "values"; - @javax.annotation.Nullable - private List values = new ArrayList<>(); + @javax.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -63,8 +63,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VALUES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { return values; @@ -77,7 +76,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { this.values = values; } - /** * Return true if this test_query_style_form_explode_true_array_string_query_object_parameter object is equal to o. */ diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Category.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Category.java index a46f851ce72..630c706e234 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Category.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Category.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public Category() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/ModelApiResponse.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/ModelApiResponse.java index 8a9e434e7c4..4a73baaf424 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/ModelApiResponse.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/ModelApiResponse.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public ModelApiResponse() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Order.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Order.java index 0f1e02f420f..c0c981a2455 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Order.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Order.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public Order() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Pet.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Pet.java index 94e2cb52a51..d4ac842dae1 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Pet.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Pet.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public Pet() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Tag.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Tag.java index 652cf0d7ff5..e4e8142da38 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Tag.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/Tag.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public Tag() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/User.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/User.java index 808a6da511c..2ff7c1ea768 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/User.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/modelCopy/User.java @@ -25,11 +25,11 @@ import org.openapitools.client.JSON; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public User() { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Category.java index 37002712db4..37fc87701f3 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A category for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -101,7 +98,6 @@ public class Category { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 4985d7bd908..5d5afd8705e 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Describes the result of uploading an image resource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -125,7 +120,6 @@ public class ModelApiResponse { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Order.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Order.java index 2351919eec6..fdd9a18ccc2 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * An order for a pets from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -252,7 +240,6 @@ public class Order { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Pet.java index 04a48fb35b6..87deb507167 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -151,8 +145,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -276,7 +264,6 @@ public class Pet { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Tag.java index 6de6cf8769f..9bf44567699 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A tag for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -101,7 +98,6 @@ public class Tag { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java index c6a0b23dcbd..17294b3096f 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * A User who is purchasing from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -245,7 +230,6 @@ public class User { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index f9d75d9f2c0..921f54a201c 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Bird.java index 39abbcc3211..d51a1c77ec6 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Bird.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Bird */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String SERIALIZED_NAME_SIZE = "size"; @SerializedName(SERIALIZED_NAME_SIZE) - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -72,8 +71,7 @@ public class Bird { * Get size * @return size */ - @javax.annotation.Nullable - public String getSize() { + @javax.annotation.Nullable public String getSize() { return size; } @@ -91,8 +89,7 @@ public class Bird { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -101,7 +98,6 @@ public class Bird { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java index 049946e4040..2f762fc45e1 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -101,7 +98,6 @@ public class Category { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java index 1f14e151e70..4054048c745 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DataQuery.java @@ -53,21 +53,19 @@ import org.openapitools.client.JSON; * DataQuery */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String SERIALIZED_NAME_SUFFIX = "suffix"; @SerializedName(SERIALIZED_NAME_SUFFIX) - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nullable - private OffsetDateTime date; + @javax.annotation.Nullable private OffsetDateTime date; public DataQuery() { } @@ -81,8 +79,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @javax.annotation.Nullable - public String getSuffix() { + @javax.annotation.Nullable public String getSuffix() { return suffix; } @@ -100,8 +97,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @javax.annotation.Nullable - public String getText() { + @javax.annotation.Nullable public String getText() { return text; } @@ -119,8 +115,7 @@ public class DataQuery extends Query { * A date * @return date */ - @javax.annotation.Nullable - public OffsetDateTime getDate() { + @javax.annotation.Nullable public OffsetDateTime getDate() { return date; } @@ -129,7 +124,6 @@ public class DataQuery extends Query { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DefaultValue.java index 01585e62fce..126007d2f36 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -53,11 +53,11 @@ import org.openapitools.client.JSON; * to test the default value of properties */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_REF_DEFAULT) - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -112,41 +112,33 @@ public class DefaultValue { ArrayStringEnumDefaultEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT) - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String SERIALIZED_NAME_ARRAY_STRING_DEFAULT = "array_string_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_DEFAULT) - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT = "array_integer_default"; @SerializedName(SERIALIZED_NAME_ARRAY_INTEGER_DEFAULT) - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String SERIALIZED_NAME_ARRAY_STRING = "array_string"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING) - @javax.annotation.Nullable - private List arrayString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_STRING_NULLABLE = "array_string_nullable"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_NULLABLE) - @javax.annotation.Nullable - private List arrayStringNullable; + @javax.annotation.Nullable private List arrayStringNullable; public static final String SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_EXTENSION_NULLABLE) - @javax.annotation.Nullable - private List arrayStringExtensionNullable; + @javax.annotation.Nullable private List arrayStringExtensionNullable; public static final String SERIALIZED_NAME_STRING_NULLABLE = "string_nullable"; @SerializedName(SERIALIZED_NAME_STRING_NULLABLE) - @javax.annotation.Nullable - private String stringNullable; + @javax.annotation.Nullable private String stringNullable; public DefaultValue() { } @@ -168,8 +160,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @javax.annotation.Nullable - public List getArrayStringEnumRefDefault() { + @javax.annotation.Nullable public List getArrayStringEnumRefDefault() { return arrayStringEnumRefDefault; } @@ -195,8 +186,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @javax.annotation.Nullable - public List getArrayStringEnumDefault() { + @javax.annotation.Nullable public List getArrayStringEnumDefault() { return arrayStringEnumDefault; } @@ -222,8 +212,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @javax.annotation.Nullable - public List getArrayStringDefault() { + @javax.annotation.Nullable public List getArrayStringDefault() { return arrayStringDefault; } @@ -249,8 +238,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @javax.annotation.Nullable - public List getArrayIntegerDefault() { + @javax.annotation.Nullable public List getArrayIntegerDefault() { return arrayIntegerDefault; } @@ -276,8 +264,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @javax.annotation.Nullable - public List getArrayString() { + @javax.annotation.Nullable public List getArrayString() { return arrayString; } @@ -303,8 +290,7 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @javax.annotation.Nullable - public List getArrayStringNullable() { + @javax.annotation.Nullable public List getArrayStringNullable() { return arrayStringNullable; } @@ -330,8 +316,7 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @javax.annotation.Nullable - public List getArrayStringExtensionNullable() { + @javax.annotation.Nullable public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable; } @@ -349,8 +334,7 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @javax.annotation.Nullable - public String getStringNullable() { + @javax.annotation.Nullable public String getStringNullable() { return stringNullable; } @@ -359,7 +343,6 @@ public class DefaultValue { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index 8dddb47bbbb..799e3dfde3a 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -50,21 +50,19 @@ import org.openapitools.client.JSON; * NumberPropertiesOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -78,8 +76,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @javax.annotation.Nullable - public BigDecimal getNumber() { + @javax.annotation.Nullable public BigDecimal getNumber() { return number; } @@ -97,8 +94,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @javax.annotation.Nullable - public Float getFloat() { + @javax.annotation.Nullable public Float getFloat() { return _float; } @@ -118,8 +114,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @javax.annotation.Nullable - public Double getDouble() { + @javax.annotation.Nullable public Double getDouble() { return _double; } @@ -128,7 +123,6 @@ public class NumberPropertiesOnly { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java index ff29135a2e8..761c024e3fb 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -150,8 +144,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -188,8 +180,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -215,8 +206,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -271,7 +259,6 @@ public class Pet { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Query.java index 104b498c71d..9eb2c0f20e0 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Query.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Query */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; /** * Gets or Sets outcomes @@ -110,11 +110,9 @@ public class Query { OutcomesEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_OUTCOMES = "outcomes"; @SerializedName(SERIALIZED_NAME_OUTCOMES) - @javax.annotation.Nullable - private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -128,8 +126,7 @@ public class Query { * Query * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -155,8 +152,7 @@ public class Query { * Get outcomes * @return outcomes */ - @javax.annotation.Nullable - public List getOutcomes() { + @javax.annotation.Nullable public List getOutcomes() { return outcomes; } @@ -165,7 +161,6 @@ public class Query { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java index a9a5ea327d0..c10b6af5174 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -101,7 +98,6 @@ public class Tag { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index e534d99f4a7..080b74d9a65 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * TestFormObjectMultipartRequestMarker */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -67,8 +67,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -77,7 +76,6 @@ public class TestFormObjectMultipartRequestMarker { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index d0c5e0944cf..63cbd551eda 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -49,26 +49,23 @@ import org.openapitools.client.JSON; * TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String SERIALIZED_NAME_SIZE = "size"; @SerializedName(SERIALIZED_NAME_SIZE) - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -82,8 +79,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @javax.annotation.Nullable - public String getSize() { + @javax.annotation.Nullable public String getSize() { return size; } @@ -101,8 +97,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -120,8 +115,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -139,8 +133,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -149,7 +142,6 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index 2cc07946499..3966364f459 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String SERIALIZED_NAME_VALUES = "values"; @SerializedName(SERIALIZED_NAME_VALUES) - @javax.annotation.Nullable - private List values = new ArrayList<>(); + @javax.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -77,8 +77,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @javax.annotation.Nullable - public List getValues() { + @javax.annotation.Nullable public List getValues() { return values; } @@ -87,7 +86,6 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Bird.java index 34e899ff406..6fc7e6f31b5 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Bird.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Bird.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String JSON_PROPERTY_SIZE = "size"; - @jakarta.annotation.Nullable - private String size; + @jakarta.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - private String color; + @jakarta.annotation.Nullable private String color; public Bird() { } @@ -53,8 +52,7 @@ public class Bird { * Get size * @return size */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -78,8 +76,7 @@ public class Bird { * Get color * @return color */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Category.java index e473fd07b52..b9f8599457e 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java index 2c143745ac8..0837ad67314 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DataQuery.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DataQuery.JSON_PROPERTY_DATE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String JSON_PROPERTY_SUFFIX = "suffix"; - @jakarta.annotation.Nullable - private String suffix; + @jakarta.annotation.Nullable private String suffix; public static final String JSON_PROPERTY_TEXT = "text"; - @jakarta.annotation.Nullable - private String text; + @jakarta.annotation.Nullable private String text; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nullable - private Instant date; + @jakarta.annotation.Nullable private Instant date; public DataQuery() { @@ -64,8 +62,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SUFFIX) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSuffix() { @@ -89,8 +86,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TEXT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { @@ -114,8 +110,7 @@ public class DataQuery extends Query { * A date * @return date */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Instant getDate() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DefaultValue.java index 76cb555663a..dc588ee96df 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -45,10 +45,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DefaultValue.JSON_PROPERTY_STRING_NULLABLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; - @jakarta.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @jakarta.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -86,34 +86,26 @@ public class DefaultValue { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; - @jakarta.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @jakarta.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String JSON_PROPERTY_ARRAY_STRING_DEFAULT = "array_string_default"; - @jakarta.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @jakarta.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "array_integer_default"; - @jakarta.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @jakarta.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String JSON_PROPERTY_ARRAY_STRING = "array_string"; - @jakarta.annotation.Nullable - private List arrayString = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable"; - @jakarta.annotation.Nullable - private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; - @jakarta.annotation.Nullable - private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_STRING_NULLABLE = "string_nullable"; - @jakarta.annotation.Nullable - private JsonNullable stringNullable = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable stringNullable = JsonNullable.undefined(); public DefaultValue() { } @@ -136,8 +128,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumRefDefault() { @@ -169,8 +160,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumDefault() { @@ -202,8 +192,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringDefault() { @@ -235,8 +224,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayIntegerDefault() { @@ -268,8 +256,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayString() { @@ -305,8 +292,7 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayStringNullable() { return arrayStringNullable.orElse(null); @@ -314,7 +300,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -350,8 +335,7 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable.orElse(null); @@ -359,7 +343,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -383,8 +366,7 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getStringNullable() { return stringNullable.orElse(null); @@ -392,7 +374,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index 0ad8e1425d0..ac7d95bef90 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberPropertiesOnly.JSON_PROPERTY_DOUBLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nullable - private BigDecimal number; + @jakarta.annotation.Nullable private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -59,8 +57,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNumber() { @@ -84,8 +81,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -111,8 +107,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Pet.java index b87d1ffb0c7..0bc044cac11 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Pet.java @@ -40,26 +40,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @jakarta.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -97,10 +93,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -115,8 +109,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -140,8 +133,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -165,8 +157,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -198,8 +189,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -256,8 +245,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Query.java index 23a78205220..19b93f432bb 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Query.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Query.JSON_PROPERTY_OUTCOMES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - protected Long id; + @jakarta.annotation.Nullable protected Long id; /** * Gets or Sets outcomes @@ -75,10 +75,8 @@ public class Query { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; - @jakarta.annotation.Nullable - protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @jakarta.annotation.Nullable protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -93,8 +91,7 @@ public class Query { * Query * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -126,8 +123,7 @@ public class Query { * Get outcomes * @return outcomes */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTCOMES) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getOutcomes() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Tag.java index 47692c00401..2fa12962577 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index 0da88ff9630..827bb7bce4d 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_form_object_multipart_request_marker") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -49,8 +49,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index 9266038c303..6e52a38a31e 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -34,22 +34,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String JSON_PROPERTY_SIZE = "size"; - @jakarta.annotation.Nullable - private String size; + @jakarta.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - private String color; + @jakarta.annotation.Nullable private String color; public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -64,8 +61,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -89,8 +85,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -114,8 +109,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -139,8 +133,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index b2352039369..1366f31313a 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String JSON_PROPERTY_VALUES = "values"; - @jakarta.annotation.Nullable - private List values = new ArrayList<>(); + @jakarta.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -60,8 +60,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VALUES) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Bird.java index 94ea5b6e3a7..9c4a51f5057 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Bird.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Bird.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -53,8 +52,7 @@ public class Bird { * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -78,8 +76,7 @@ public class Bird { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Category.java index 3352a6a4e9b..e51d0eb2564 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java index d896a4d99fe..2eb5e42ba7b 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DataQuery.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DataQuery.JSON_PROPERTY_DATE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String JSON_PROPERTY_SUFFIX = "suffix"; - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String JSON_PROPERTY_TEXT = "text"; - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nullable - private OffsetDateTime date; + @javax.annotation.Nullable private OffsetDateTime date; public DataQuery() { @@ -64,8 +62,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SUFFIX) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSuffix() { @@ -89,8 +86,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TEXT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { @@ -114,8 +110,7 @@ public class DataQuery extends Query { * A date * @return date */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDate() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DefaultValue.java index 83bafeeec9a..1bccaab3b88 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -45,10 +45,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DefaultValue.JSON_PROPERTY_STRING_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -86,34 +86,26 @@ public class DefaultValue { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String JSON_PROPERTY_ARRAY_STRING_DEFAULT = "array_string_default"; - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "array_integer_default"; - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String JSON_PROPERTY_ARRAY_STRING = "array_string"; - @javax.annotation.Nullable - private List arrayString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_STRING_NULLABLE = "string_nullable"; - @javax.annotation.Nullable - private JsonNullable stringNullable = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringNullable = JsonNullable.undefined(); public DefaultValue() { } @@ -136,8 +128,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumRefDefault() { @@ -169,8 +160,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumDefault() { @@ -202,8 +192,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringDefault() { @@ -235,8 +224,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayIntegerDefault() { @@ -268,8 +256,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayString() { @@ -305,8 +292,7 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringNullable() { return arrayStringNullable.orElse(null); @@ -314,7 +300,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -350,8 +335,7 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable.orElse(null); @@ -359,7 +343,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -383,8 +366,7 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringNullable() { return stringNullable.orElse(null); @@ -392,7 +374,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index af5570f15dd..44df3b06ff4 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberPropertiesOnly.JSON_PROPERTY_DOUBLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -59,8 +57,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNumber() { @@ -84,8 +81,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -111,8 +107,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java index 6b7743d204b..172af34c295 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java @@ -40,26 +40,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -97,10 +93,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -115,8 +109,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -140,8 +133,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -165,8 +157,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -198,8 +189,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -256,8 +245,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Query.java index 3f63c815b9c..2f23a913e21 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Query.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Query.JSON_PROPERTY_OUTCOMES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - protected Long id; + @javax.annotation.Nullable protected Long id; /** * Gets or Sets outcomes @@ -75,10 +75,8 @@ public class Query { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; - @javax.annotation.Nullable - protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -93,8 +91,7 @@ public class Query { * Query * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -126,8 +123,7 @@ public class Query { * Get outcomes * @return outcomes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTCOMES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getOutcomes() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java index 62b91678983..c6084ad89e0 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index 4193be14bab..f25fc54e19f 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_form_object_multipart_request_marker") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -49,8 +49,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index a104c7b8270..fd8772d87f6 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -34,22 +34,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -64,8 +61,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -89,8 +85,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -114,8 +109,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -139,8 +133,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index 3d68a3e00c5..d8c0178761d 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String JSON_PROPERTY_VALUES = "values"; - @javax.annotation.Nullable - private List values = new ArrayList<>(); + @javax.annotation.Nullable private List values = new ArrayList<>(); public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -60,8 +60,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VALUES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Bird.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Bird.java index 94ea5b6e3a7..9c4a51f5057 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Bird.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Bird.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Bird.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Bird { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public Bird() { } @@ -53,8 +52,7 @@ public class Bird { * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -78,8 +76,7 @@ public class Bird { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java index 3352a6a4e9b..e51d0eb2564 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java index d896a4d99fe..2eb5e42ba7b 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DataQuery.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DataQuery.JSON_PROPERTY_DATE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DataQuery extends Query { public static final String JSON_PROPERTY_SUFFIX = "suffix"; - @javax.annotation.Nullable - private String suffix; + @javax.annotation.Nullable private String suffix; public static final String JSON_PROPERTY_TEXT = "text"; - @javax.annotation.Nullable - private String text; + @javax.annotation.Nullable private String text; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nullable - private OffsetDateTime date; + @javax.annotation.Nullable private OffsetDateTime date; public DataQuery() { @@ -64,8 +62,7 @@ public class DataQuery extends Query { * test suffix * @return suffix */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SUFFIX) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SUFFIX) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSuffix() { @@ -89,8 +86,7 @@ public class DataQuery extends Query { * Some text containing white spaces * @return text */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TEXT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getText() { @@ -114,8 +110,7 @@ public class DataQuery extends Query { * A date * @return date */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDate() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DefaultValue.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DefaultValue.java index 090e0fd983b..28a34ff76be 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DefaultValue.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/DefaultValue.java @@ -45,10 +45,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DefaultValue.JSON_PROPERTY_STRING_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DefaultValue { public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT = "array_string_enum_ref_default"; - @javax.annotation.Nullable - private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumRefDefault = new ArrayList<>(Arrays.asList(StringEnumRef.SUCCESS, StringEnumRef.FAILURE)); /** * Gets or Sets arrayStringEnumDefault @@ -86,34 +86,26 @@ public class DefaultValue { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; - @javax.annotation.Nullable - private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); + @javax.annotation.Nullable private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); public static final String JSON_PROPERTY_ARRAY_STRING_DEFAULT = "array_string_default"; - @javax.annotation.Nullable - private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); + @javax.annotation.Nullable private List arrayStringDefault = new ArrayList<>(Arrays.asList("failure", "skipped")); public static final String JSON_PROPERTY_ARRAY_INTEGER_DEFAULT = "array_integer_default"; - @javax.annotation.Nullable - private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); + @javax.annotation.Nullable private List arrayIntegerDefault = new ArrayList<>(Arrays.asList(1, 3)); public static final String JSON_PROPERTY_ARRAY_STRING = "array_string"; - @javax.annotation.Nullable - private List arrayString; + @javax.annotation.Nullable private List arrayString; public static final String JSON_PROPERTY_ARRAY_STRING_NULLABLE = "array_string_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE = "array_string_extension_nullable"; - @javax.annotation.Nullable - private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayStringExtensionNullable = JsonNullable.>undefined(); public static final String JSON_PROPERTY_STRING_NULLABLE = "string_nullable"; - @javax.annotation.Nullable - private JsonNullable stringNullable = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringNullable = JsonNullable.undefined(); public DefaultValue() { } @@ -136,8 +128,7 @@ public class DefaultValue { * Get arrayStringEnumRefDefault * @return arrayStringEnumRefDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_REF_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumRefDefault() { @@ -169,8 +160,7 @@ public class DefaultValue { * Get arrayStringEnumDefault * @return arrayStringEnumDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringEnumDefault() { @@ -202,8 +192,7 @@ public class DefaultValue { * Get arrayStringDefault * @return arrayStringDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayStringDefault() { @@ -235,8 +224,7 @@ public class DefaultValue { * Get arrayIntegerDefault * @return arrayIntegerDefault */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_INTEGER_DEFAULT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayIntegerDefault() { @@ -268,8 +256,7 @@ public class DefaultValue { * Get arrayString * @return arrayString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayString() { @@ -305,8 +292,7 @@ public class DefaultValue { * Get arrayStringNullable * @return arrayStringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringNullable() { return arrayStringNullable.orElse(null); @@ -314,7 +300,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -350,8 +335,7 @@ public class DefaultValue { * Get arrayStringExtensionNullable * @return arrayStringExtensionNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayStringExtensionNullable() { return arrayStringExtensionNullable.orElse(null); @@ -359,7 +343,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -383,8 +366,7 @@ public class DefaultValue { * Get stringNullable * @return stringNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringNullable() { return stringNullable.orElse(null); @@ -392,7 +374,6 @@ public class DefaultValue { @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java index af5570f15dd..44df3b06ff4 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/NumberPropertiesOnly.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberPropertiesOnly.JSON_PROPERTY_DOUBLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberPropertiesOnly { public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nullable - private BigDecimal number; + @javax.annotation.Nullable private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public NumberPropertiesOnly() { } @@ -59,8 +57,7 @@ public class NumberPropertiesOnly { * Get number * @return number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNumber() { @@ -84,8 +81,7 @@ public class NumberPropertiesOnly { * Get _float * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -111,8 +107,7 @@ public class NumberPropertiesOnly { * maximum: 50.2 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java index fbb00f394dd..cd029244e3f 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java @@ -40,26 +40,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls; + @javax.annotation.Nonnull private List photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags; + @javax.annotation.Nullable private List tags; /** * pet status in the store @@ -97,10 +93,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -115,8 +109,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -140,8 +133,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -165,8 +157,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -198,8 +189,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -256,8 +245,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Query.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Query.java index 3f63c815b9c..2f23a913e21 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Query.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Query.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Query.JSON_PROPERTY_OUTCOMES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Query { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - protected Long id; + @javax.annotation.Nullable protected Long id; /** * Gets or Sets outcomes @@ -75,10 +75,8 @@ public class Query { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; - @javax.annotation.Nullable - protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); + @javax.annotation.Nullable protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); public Query() { } @@ -93,8 +91,7 @@ public class Query { * Query * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -126,8 +123,7 @@ public class Query { * Get outcomes * @return outcomes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTCOMES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTCOMES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getOutcomes() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java index 62b91678983..c6084ad89e0 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java index 4193be14bab..f25fc54e19f 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestFormObjectMultipartRequestMarker.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_form_object_multipart_request_marker") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestFormObjectMultipartRequestMarker { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestFormObjectMultipartRequestMarker() { } @@ -49,8 +49,7 @@ public class TestFormObjectMultipartRequestMarker { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java index a104c7b8270..fd8772d87f6 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.java @@ -34,22 +34,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_deepObject_explode_true_object_allOf_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter { public static final String JSON_PROPERTY_SIZE = "size"; - @javax.annotation.Nullable - private String size; + @javax.annotation.Nullable private String size; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter() { } @@ -64,8 +61,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get size * @return size */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SIZE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SIZE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSize() { @@ -89,8 +85,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -114,8 +109,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -139,8 +133,7 @@ public class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java index e10a1169c1e..ca3363127e7 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("test_query_style_form_explode_true_array_string_query_object_parameter") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { public static final String JSON_PROPERTY_VALUES = "values"; - @javax.annotation.Nullable - private List values; + @javax.annotation.Nullable private List values; public TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() { } @@ -60,8 +60,7 @@ public class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter { * Get values * @return values */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_VALUES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_VALUES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getValues() { diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt index 4207d12f74b..f8140aa3593 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Bird.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param color */ - data class Bird ( @get:JsonProperty("size") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt index 9ca46c3d0fa..5311561ee71 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt index aa1c1f36365..050a787b0ec 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt @@ -33,7 +33,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param stringNullable */ - data class DefaultValue ( @get:JsonProperty("array_string_enum_ref_default") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt index 5658fb2393f..3e5fb8d425d 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param double */ - data class NumberPropertiesOnly ( @get:JsonProperty("number") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt index adc88b27357..e856badf27a 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt index 6c346a4c093..311b9609be3 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Query.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param outcomes */ - data class Query ( /* Query */ diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt index 9cef5f51bd6..2593d03ffb9 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt index 2c197f0ce80..641b07666fd 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param propertyValues */ - data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter ( @get:JsonProperty("values") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt index 4207d12f74b..f8140aa3593 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Bird.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param color */ - data class Bird ( @get:JsonProperty("size") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt index 9ca46c3d0fa..5311561ee71 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt index aa1c1f36365..050a787b0ec 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/DefaultValue.kt @@ -33,7 +33,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param stringNullable */ - data class DefaultValue ( @get:JsonProperty("array_string_enum_ref_default") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt index 5658fb2393f..3e5fb8d425d 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/NumberPropertiesOnly.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param double */ - data class NumberPropertiesOnly ( @get:JsonProperty("number") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt index adc88b27357..e856badf27a 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt index 6c346a4c093..311b9609be3 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Query.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param outcomes */ - data class Query ( /* Query */ diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt index 9cef5f51bd6..2593d03ffb9 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt index 2c197f0ce80..641b07666fd 100644 --- a/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt +++ b/samples/client/echo_api/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param propertyValues */ - data class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter ( @get:JsonProperty("values") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt index ac0f2f48602..37c1001c9c2 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiBird.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param color */ - data class ApiBird ( @SerializedName("size") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt index f8ec4e1cc51..19366deee23 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class ApiCategory ( @SerializedName("id") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt index ec5413f8b2c..223075cceda 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiDefaultValue.kt @@ -32,7 +32,6 @@ import com.google.gson.annotations.SerializedName * @param stringNullable */ - data class ApiDefaultValue ( @SerializedName("array_string_enum_ref_default") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt index 0262f3edc40..6fe73b68b74 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiNumberPropertiesOnly.kt @@ -26,7 +26,6 @@ import com.google.gson.annotations.SerializedName * @param double */ - data class ApiNumberPropertiesOnly ( @SerializedName("number") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt index 198ccf7f68c..7df502db145 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param status pet status in the store */ - data class ApiPet ( @SerializedName("name") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt index e9f961d7441..59ffbc8cf6f 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiQuery.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param outcomes */ - data class ApiQuery ( /* Query */ diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt index 42e79293f18..1762b01c81a 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class ApiTag ( @SerializedName("id") diff --git a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt index f0cd66c86ef..cb900a9574a 100644 --- a/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt +++ b/samples/client/echo_api/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.kt @@ -24,7 +24,6 @@ import com.google.gson.annotations.SerializedName * @param propertyValues */ - data class ApiTestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter ( @SerializedName("values") diff --git a/samples/client/echo_api/php-nextgen-streaming/README.md b/samples/client/echo_api/php-nextgen-streaming/README.md index 6d8376ff169..045bf7791fd 100644 --- a/samples/client/echo_api/php-nextgen-streaming/README.md +++ b/samples/client/echo_api/php-nextgen-streaming/README.md @@ -53,7 +53,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/AuthApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/AuthApi.md index 874f3c61c69..fa163ae3731 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/AuthApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/AuthApi.md @@ -30,7 +30,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -87,7 +86,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: http_bearer_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/BodyApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/BodyApi.md index 6c26bb843ff..ecbfb3a66d1 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/BodyApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/BodyApi.md @@ -33,7 +33,6 @@ Test binary (gif) response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -142,7 +140,6 @@ Test array of binary in multipart mime require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -198,7 +195,6 @@ Test single binary in multipart mime require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -254,7 +250,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -310,7 +305,6 @@ Test free form object require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -366,7 +360,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -422,7 +415,6 @@ Test empty response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -478,7 +470,6 @@ Test string enum response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -534,7 +525,6 @@ Test empty json (request body) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/FormApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/FormApi.md index f9236a17214..02aa7adc905 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/FormApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/FormApi.md @@ -26,7 +26,6 @@ Test form parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Test form parameter(s) for multipart schema require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -142,7 +140,6 @@ Test form parameter(s) for oneOf schema require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/HeaderApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/HeaderApi.md index d13c2d2ea7b..424a1de4111 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/HeaderApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/HeaderApi.md @@ -24,7 +24,6 @@ Test header parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\HeaderApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/PathApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/PathApi.md index 45583fd7edd..136c3ed6fbb 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/PathApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/PathApi.md @@ -24,7 +24,6 @@ Test path parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\PathApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/docs/Api/QueryApi.md b/samples/client/echo_api/php-nextgen-streaming/docs/Api/QueryApi.md index 7e1a9f372b8..acd1bfe1e69 100644 --- a/samples/client/echo_api/php-nextgen-streaming/docs/Api/QueryApi.md +++ b/samples/client/echo_api/php-nextgen-streaming/docs/Api/QueryApi.md @@ -33,7 +33,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -91,7 +90,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -151,7 +149,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -211,7 +208,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -267,7 +263,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -323,7 +318,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -379,7 +373,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -435,7 +428,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -491,7 +483,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -547,7 +538,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/AuthApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/AuthApi.php index 2ec57ccb124..43f78e7334d 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/AuthApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/AuthApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/BodyApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/BodyApi.php index f9ac732f644..f62d0f7a4c1 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/BodyApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/BodyApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/FormApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/FormApi.php index 6a881f7007e..7c3bd660d31 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/FormApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/FormApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/HeaderApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/HeaderApi.php index 7f8abfe57bb..4b9488b244e 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/HeaderApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/HeaderApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/PathApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/PathApi.php index 216c2b65ede..c7f4e7bb0cb 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/PathApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/PathApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Api/QueryApi.php b/samples/client/echo_api/php-nextgen-streaming/src/Api/QueryApi.php index d07e2e7c646..24e2b112bee 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Api/QueryApi.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Api/QueryApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/ApiException.php b/samples/client/echo_api/php-nextgen-streaming/src/ApiException.php index c43103dc9af..023731f5181 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/ApiException.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/ApiException.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Configuration.php b/samples/client/echo_api/php-nextgen-streaming/src/Configuration.php index 2311c4c6d11..2b5c0c25105 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Configuration.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Configuration.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/HeaderSelector.php b/samples/client/echo_api/php-nextgen-streaming/src/HeaderSelector.php index cc993ae6ee5..196377aa111 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/HeaderSelector.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/HeaderSelector.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php index e1920e4824a..24ca3299c6d 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Bird.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php index 5f050270cbb..d2536d058bc 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Category.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php index efd8516e507..4925f3503f3 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DataQuery.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php index 82cd5ae9e0e..4839923eb27 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/DefaultValue.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php index 46896d04662..72759712573 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/ModelInterface.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php index d63c7ede4c7..acc5d42774f 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/NumberPropertiesOnly.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php index 888cd643926..3e0dfc64e71 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Pet.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php index 574bd676499..8a57b3281f5 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Query.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/StringEnumRef.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/StringEnumRef.php index ea9c5983351..fd3a68978d3 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/StringEnumRef.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/StringEnumRef.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php index 2033e7b2e55..12fff91b34a 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/Tag.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php index f387a81e248..3d3ede58f04 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestFormObjectMultipartRequestMarker.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index 35ea10b634e..0b1dd79dc0a 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index 483c06af176..e1416fd4065 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen-streaming/src/ObjectSerializer.php b/samples/client/echo_api/php-nextgen-streaming/src/ObjectSerializer.php index 65a4ebaa36a..caa145eafbe 100644 --- a/samples/client/echo_api/php-nextgen-streaming/src/ObjectSerializer.php +++ b/samples/client/echo_api/php-nextgen-streaming/src/ObjectSerializer.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/README.md b/samples/client/echo_api/php-nextgen/README.md index 6d8376ff169..045bf7791fd 100644 --- a/samples/client/echo_api/php-nextgen/README.md +++ b/samples/client/echo_api/php-nextgen/README.md @@ -53,7 +53,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/AuthApi.md b/samples/client/echo_api/php-nextgen/docs/Api/AuthApi.md index 874f3c61c69..fa163ae3731 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/AuthApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/AuthApi.md @@ -30,7 +30,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -87,7 +86,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer authorization: http_bearer_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\AuthApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/BodyApi.md b/samples/client/echo_api/php-nextgen/docs/Api/BodyApi.md index f9b966860b7..3161f8bf190 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/BodyApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/BodyApi.md @@ -33,7 +33,6 @@ Test binary (gif) response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -142,7 +140,6 @@ Test array of binary in multipart mime require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -198,7 +195,6 @@ Test single binary in multipart mime require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -254,7 +250,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -310,7 +305,6 @@ Test free form object require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -366,7 +360,6 @@ Test body parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -422,7 +415,6 @@ Test empty response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -478,7 +470,6 @@ Test string enum response body require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -534,7 +525,6 @@ Test empty json (request body) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\BodyApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/FormApi.md b/samples/client/echo_api/php-nextgen/docs/Api/FormApi.md index f9236a17214..02aa7adc905 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/FormApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/FormApi.md @@ -26,7 +26,6 @@ Test form parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Test form parameter(s) for multipart schema require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -142,7 +140,6 @@ Test form parameter(s) for oneOf schema require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FormApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/HeaderApi.md b/samples/client/echo_api/php-nextgen/docs/Api/HeaderApi.md index d13c2d2ea7b..424a1de4111 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/HeaderApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/HeaderApi.md @@ -24,7 +24,6 @@ Test header parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\HeaderApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/PathApi.md b/samples/client/echo_api/php-nextgen/docs/Api/PathApi.md index 45583fd7edd..136c3ed6fbb 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/PathApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/PathApi.md @@ -24,7 +24,6 @@ Test path parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\PathApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/docs/Api/QueryApi.md b/samples/client/echo_api/php-nextgen/docs/Api/QueryApi.md index 7e1a9f372b8..acd1bfe1e69 100644 --- a/samples/client/echo_api/php-nextgen/docs/Api/QueryApi.md +++ b/samples/client/echo_api/php-nextgen/docs/Api/QueryApi.md @@ -33,7 +33,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -91,7 +90,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -151,7 +149,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -211,7 +208,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -267,7 +263,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -323,7 +318,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -379,7 +373,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -435,7 +428,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -491,7 +483,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -547,7 +538,6 @@ Test query parameter(s) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\QueryApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/echo_api/php-nextgen/src/Api/AuthApi.php b/samples/client/echo_api/php-nextgen/src/Api/AuthApi.php index 2ec57ccb124..43f78e7334d 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/AuthApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/AuthApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Api/BodyApi.php b/samples/client/echo_api/php-nextgen/src/Api/BodyApi.php index f6901c9acf6..fb4347a9eef 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/BodyApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/BodyApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Api/FormApi.php b/samples/client/echo_api/php-nextgen/src/Api/FormApi.php index 6a881f7007e..7c3bd660d31 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/FormApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/FormApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Api/HeaderApi.php b/samples/client/echo_api/php-nextgen/src/Api/HeaderApi.php index 7f8abfe57bb..4b9488b244e 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/HeaderApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/HeaderApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Api/PathApi.php b/samples/client/echo_api/php-nextgen/src/Api/PathApi.php index 216c2b65ede..c7f4e7bb0cb 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/PathApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/PathApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Api/QueryApi.php b/samples/client/echo_api/php-nextgen/src/Api/QueryApi.php index d07e2e7c646..24e2b112bee 100644 --- a/samples/client/echo_api/php-nextgen/src/Api/QueryApi.php +++ b/samples/client/echo_api/php-nextgen/src/Api/QueryApi.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/ApiException.php b/samples/client/echo_api/php-nextgen/src/ApiException.php index c43103dc9af..023731f5181 100644 --- a/samples/client/echo_api/php-nextgen/src/ApiException.php +++ b/samples/client/echo_api/php-nextgen/src/ApiException.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Configuration.php b/samples/client/echo_api/php-nextgen/src/Configuration.php index 2311c4c6d11..2b5c0c25105 100644 --- a/samples/client/echo_api/php-nextgen/src/Configuration.php +++ b/samples/client/echo_api/php-nextgen/src/Configuration.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/HeaderSelector.php b/samples/client/echo_api/php-nextgen/src/HeaderSelector.php index cc993ae6ee5..196377aa111 100644 --- a/samples/client/echo_api/php-nextgen/src/HeaderSelector.php +++ b/samples/client/echo_api/php-nextgen/src/HeaderSelector.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/Bird.php b/samples/client/echo_api/php-nextgen/src/Model/Bird.php index e1920e4824a..24ca3299c6d 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Bird.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Bird.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/Category.php b/samples/client/echo_api/php-nextgen/src/Model/Category.php index 5f050270cbb..d2536d058bc 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Category.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Category.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php index efd8516e507..4925f3503f3 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DataQuery.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php index 82cd5ae9e0e..4839923eb27 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php +++ b/samples/client/echo_api/php-nextgen/src/Model/DefaultValue.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php b/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php index 46896d04662..72759712573 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php +++ b/samples/client/echo_api/php-nextgen/src/Model/ModelInterface.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php index d63c7ede4c7..acc5d42774f 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php +++ b/samples/client/echo_api/php-nextgen/src/Model/NumberPropertiesOnly.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/Pet.php b/samples/client/echo_api/php-nextgen/src/Model/Pet.php index 888cd643926..3e0dfc64e71 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Pet.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Pet.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/Query.php b/samples/client/echo_api/php-nextgen/src/Model/Query.php index 574bd676499..8a57b3281f5 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Query.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Query.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/StringEnumRef.php b/samples/client/echo_api/php-nextgen/src/Model/StringEnumRef.php index ea9c5983351..fd3a68978d3 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/StringEnumRef.php +++ b/samples/client/echo_api/php-nextgen/src/Model/StringEnumRef.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/Tag.php b/samples/client/echo_api/php-nextgen/src/Model/Tag.php index 2033e7b2e55..12fff91b34a 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/Tag.php +++ b/samples/client/echo_api/php-nextgen/src/Model/Tag.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php index f387a81e248..3d3ede58f04 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestFormObjectMultipartRequestMarker.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php index 35ea10b634e..0b1dd79dc0a 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php index 483c06af176..e1416fd4065 100644 --- a/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php +++ b/samples/client/echo_api/php-nextgen/src/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/php-nextgen/src/ObjectSerializer.php b/samples/client/echo_api/php-nextgen/src/ObjectSerializer.php index 65a4ebaa36a..caa145eafbe 100644 --- a/samples/client/echo_api/php-nextgen/src/ObjectSerializer.php +++ b/samples/client/echo_api/php-nextgen/src/ObjectSerializer.php @@ -19,7 +19,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/echo_api/powershell/src/PSOpenAPITools/Model/StringEnumRef.ps1 b/samples/client/echo_api/powershell/src/PSOpenAPITools/Model/StringEnumRef.ps1 index 3ea65a59c5a..7f3f4e457eb 100644 --- a/samples/client/echo_api/powershell/src/PSOpenAPITools/Model/StringEnumRef.ps1 +++ b/samples/client/echo_api/powershell/src/PSOpenAPITools/Model/StringEnumRef.ps1 @@ -24,4 +24,3 @@ enum StringEnumRef { # enum value: "unclassified" unclassified } - diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/README.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/README.md index 1e9e76b6837..dcb1c10df45 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/README.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/README.md @@ -72,7 +72,6 @@ configuration = openapi_client.Configuration( password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -159,4 +158,3 @@ Authentication schemes defined for the API: team@openapitools.org - diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/AuthApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/AuthApi.md index 507592b4811..56ca14f2de0 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/AuthApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/AuthApi.md @@ -40,7 +40,6 @@ configuration = openapi_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -56,7 +55,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -113,7 +111,6 @@ configuration = openapi_client.Configuration( configuration = openapi_client.Configuration( access_token = os.environ["BEARER_TOKEN"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -129,7 +126,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/BodyApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/BodyApi.md index d4cc6d4dab6..a6311d82dfd 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/BodyApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/BodyApi.md @@ -37,7 +37,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -53,7 +52,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -100,7 +98,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -117,7 +114,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -167,7 +163,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -184,7 +179,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -234,7 +228,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -251,7 +244,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -302,7 +294,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -319,7 +310,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -369,7 +359,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -386,7 +375,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -437,7 +425,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -454,7 +441,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -505,7 +491,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -522,7 +507,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -573,7 +557,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -590,7 +573,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -641,7 +623,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -658,7 +639,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/FormApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/FormApi.md index 86ae2be3697..47e5bc6e3c8 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/FormApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/FormApi.md @@ -30,7 +30,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -49,7 +48,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -102,7 +100,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -119,7 +116,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -169,7 +165,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -191,7 +186,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/HeaderApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/HeaderApi.md index 137b5c00d10..d2f37031165 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/HeaderApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/HeaderApi.md @@ -29,7 +29,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -50,7 +49,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/PathApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/PathApi.md index dd9362bb746..19cfab1ad3d 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/PathApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/PathApi.md @@ -29,7 +29,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -49,7 +48,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/QueryApi.md b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/QueryApi.md index 8c8bf981a5f..bf706e43ab1 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/QueryApi.md +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/docs/QueryApi.md @@ -38,7 +38,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -56,7 +55,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -107,7 +105,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -126,7 +123,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -178,7 +174,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -197,7 +192,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -250,7 +244,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -267,7 +260,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -317,7 +309,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -334,7 +325,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -384,7 +374,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -401,7 +390,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -451,7 +439,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -468,7 +455,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -519,7 +505,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -536,7 +521,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -587,7 +571,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -604,7 +587,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -654,7 +636,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -671,7 +652,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/__init__.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/__init__.py index 3f63fe12abd..4bce0c3dffd 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/__init__.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/__init__.py @@ -14,7 +14,6 @@ Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/auth_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/auth_api.py index 2f3e9dfcdb6..298ec07e30a 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/auth_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/auth_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/body_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/body_api.py index 33aba2cbd44..4844a177eaf 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/body_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/body_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/form_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/form_api.py index 3353457f7ee..a265ac77fb2 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/form_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/form_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/header_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/header_api.py index 5c1cd1b540d..2216155eaab 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/header_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/header_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/path_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/path_api.py index d2ba4662c21..41d0c636657 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/path_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/path_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/query_api.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/query_api.py index 7d2ecbb1c2c..9c9637189ec 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/query_api.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api/query_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api_client.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api_client.py index 60d053860e3..f8a45e61889 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api_client.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/api_client.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import datetime from dateutil.parser import parse from enum import Enum diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/configuration.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/configuration.py index 27946de1787..538582ae96a 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/configuration.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import copy import logging from logging import FileHandler diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/exceptions.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/exceptions.py index bd5561d241e..71a5635b686 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/exceptions.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/exceptions.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - from typing import Any, Optional from typing_extensions import Self diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/__init__.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/__init__.py index f070f632316..6fa8559939e 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/__init__.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from openapi_client.models.bird import Bird from openapi_client.models.category import Category diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/bird.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/bird.py index 9bb24b9e6d8..b2018a0e30a 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/bird.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/bird.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/category.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/category.py index c8e9bb709fd..cf228582ba2 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/category.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/category.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/data_query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/data_query.py index 255a5ab7f42..403412aaa2e 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/data_query.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/data_query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/default_value.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/default_value.py index 8dceac31e3d..3b9d6270daa 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/default_value.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/default_value.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/number_properties_only.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/number_properties_only.py index d089c9775ac..0ea20b5e68e 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/number_properties_only.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/number_properties_only.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/pet.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/pet.py index bfe90956d97..4c0dd2f5334 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/pet.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/pet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/query.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/query.py index 97199fb7fd9..3dfcb2499b1 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/query.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/string_enum_ref.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/string_enum_ref.py index 90328aea76d..a61ff40dfba 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/string_enum_ref.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/string_enum_ref.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import json from enum import Enum @@ -36,4 +35,3 @@ class StringEnumRef(str, Enum): """Create an instance of StringEnumRef from a JSON string""" return cls(json.loads(json_str)) - diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/tag.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/tag.py index 5ec177ca73a..49479ae6f3d 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/tag.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/tag.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_form_object_multipart_request_marker.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_form_object_multipart_request_marker.py index 9fab70ea178..c2b2d96a507 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_form_object_multipart_request_marker.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_form_object_multipart_request_marker.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py index 8cf292b6a90..df23b86f30b 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py index 726b427743c..f99c4d65f4f 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/rest.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/rest.py index 91fb8eb029d..cc8e4a56226 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/rest.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/openapi_client/rest.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import io import json import re diff --git a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/setup.py b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/setup.py index 64d7cd1c9db..c514596811e 100644 --- a/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/setup.py +++ b/samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/setup.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from setuptools import setup, find_packages # noqa: H301 # To install the library, run the following diff --git a/samples/client/echo_api/python-pydantic-v1/README.md b/samples/client/echo_api/python-pydantic-v1/README.md index 5920a252a6e..af1122b889d 100644 --- a/samples/client/echo_api/python-pydantic-v1/README.md +++ b/samples/client/echo_api/python-pydantic-v1/README.md @@ -73,7 +73,6 @@ configuration = openapi_client.Configuration( password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -160,4 +159,3 @@ Authentication schemes defined for the API: team@openapitools.org - diff --git a/samples/client/echo_api/python-pydantic-v1/docs/AuthApi.md b/samples/client/echo_api/python-pydantic-v1/docs/AuthApi.md index e4db5503ece..5fe745efd96 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/AuthApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/AuthApi.md @@ -41,7 +41,6 @@ configuration = openapi_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -57,7 +56,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -113,7 +111,6 @@ configuration = openapi_client.Configuration( configuration = openapi_client.Configuration( access_token = os.environ["BEARER_TOKEN"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -129,7 +126,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. diff --git a/samples/client/echo_api/python-pydantic-v1/docs/BodyApi.md b/samples/client/echo_api/python-pydantic-v1/docs/BodyApi.md index 0f22b6b2a6d..e5bca967928 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/BodyApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/BodyApi.md @@ -38,7 +38,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -54,7 +53,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -100,7 +98,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -117,7 +114,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -166,7 +162,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -183,7 +178,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -232,7 +226,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -249,7 +242,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -299,7 +291,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -316,7 +307,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -365,7 +355,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -382,7 +371,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -432,7 +420,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -449,7 +436,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -499,7 +485,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -516,7 +501,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -566,7 +550,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -583,7 +566,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -633,7 +615,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -650,7 +631,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes diff --git a/samples/client/echo_api/python-pydantic-v1/docs/FormApi.md b/samples/client/echo_api/python-pydantic-v1/docs/FormApi.md index 56841c42d41..e269a433767 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/FormApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/FormApi.md @@ -31,7 +31,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -50,7 +49,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -102,7 +100,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -119,7 +116,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -168,7 +164,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -190,7 +185,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes diff --git a/samples/client/echo_api/python-pydantic-v1/docs/HeaderApi.md b/samples/client/echo_api/python-pydantic-v1/docs/HeaderApi.md index 7bf15b0037c..be956f9d2b2 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/HeaderApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/HeaderApi.md @@ -30,7 +30,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -51,7 +50,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes diff --git a/samples/client/echo_api/python-pydantic-v1/docs/PathApi.md b/samples/client/echo_api/python-pydantic-v1/docs/PathApi.md index 14e23b66b96..6b2b87f0a15 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/PathApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/PathApi.md @@ -30,7 +30,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -50,7 +49,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes diff --git a/samples/client/echo_api/python-pydantic-v1/docs/QueryApi.md b/samples/client/echo_api/python-pydantic-v1/docs/QueryApi.md index 5d56e95efc2..ae0fad791e3 100644 --- a/samples/client/echo_api/python-pydantic-v1/docs/QueryApi.md +++ b/samples/client/echo_api/python-pydantic-v1/docs/QueryApi.md @@ -39,7 +39,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -57,7 +56,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -107,7 +105,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -126,7 +123,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -177,7 +173,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -196,7 +191,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -248,7 +242,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -265,7 +258,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -314,7 +306,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -331,7 +322,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -380,7 +370,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -397,7 +386,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -446,7 +434,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -463,7 +450,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -513,7 +499,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -530,7 +515,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -580,7 +564,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -597,7 +580,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes @@ -646,7 +628,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -663,7 +644,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters Name | Type | Description | Notes diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/__init__.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/__init__.py index 3f63fe12abd..4bce0c3dffd 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/__init__.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/__init__.py @@ -14,7 +14,6 @@ Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/auth_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/auth_api.py index dcb3ff423f8..d72ff5790da 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/auth_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/auth_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/body_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/body_api.py index 73a283c02b1..48e8066ea13 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/body_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/body_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/form_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/form_api.py index 4d33489816c..76e88698e25 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/form_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/form_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/header_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/header_api.py index fe24cff0b3b..f4733e12c1e 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/header_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/header_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/path_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/path_api.py index 9660feaad57..c90608083f1 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/path_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/path_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/query_api.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/query_api.py index 680dbd3fba5..4b547e02d15 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api/query_api.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api/query_api.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import re # noqa: F401 import io import warnings diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/api_client.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/api_client.py index 6d0d11c5b53..c5155518e8f 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/api_client.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/api_client.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import atexit import datetime from dateutil.parser import parse diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/configuration.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/configuration.py index 7c6f3e11f99..0ef86ebbec3 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/configuration.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import copy import logging import multiprocessing diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/exceptions.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/exceptions.py index ae3e985d2fe..20eaf143ed0 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/exceptions.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/exceptions.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/__init__.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/__init__.py index f070f632316..6fa8559939e 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/__init__.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from openapi_client.models.bird import Bird from openapi_client.models.category import Category diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/bird.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/bird.py index 77887a53120..6a7648e8870 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/bird.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/bird.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/category.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/category.py index ee8e5c258ae..9a3aa84749b 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/category.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/category.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/data_query.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/data_query.py index 84f355f3fdd..dad52f88e88 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/data_query.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/data_query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/default_value.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/default_value.py index a73193247fd..432c7d11053 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/default_value.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/default_value.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/number_properties_only.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/number_properties_only.py index 10bb3a590a2..16a7a427490 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/number_properties_only.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/number_properties_only.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/pet.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/pet.py index 26832037b0e..e5a67b9472e 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/pet.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/pet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/query.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/query.py index 43919c0f569..b711fffcf6c 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/query.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/string_enum_ref.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/string_enum_ref.py index f200a1dafb8..de008042890 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/string_enum_ref.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/string_enum_ref.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import json import pprint import re # noqa: F401 @@ -39,4 +38,3 @@ class StringEnumRef(str, Enum): """Create an instance of StringEnumRef from a JSON string""" return StringEnumRef(json.loads(json_str)) - diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/tag.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/tag.py index 66a39adff29..ee1c96ed5c6 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/tag.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/tag.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_form_object_multipart_request_marker.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_form_object_multipart_request_marker.py index 54ea54fd8d2..9d93ffb76fa 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_form_object_multipart_request_marker.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_form_object_multipart_request_marker.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py index 42e1101ec02..9b37e16f6dc 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py index 1bff80a6df1..70cc0afef53 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python-pydantic-v1/openapi_client/rest.py b/samples/client/echo_api/python-pydantic-v1/openapi_client/rest.py index 8538f9ee520..763aa6ff372 100644 --- a/samples/client/echo_api/python-pydantic-v1/openapi_client/rest.py +++ b/samples/client/echo_api/python-pydantic-v1/openapi_client/rest.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import io import json import logging diff --git a/samples/client/echo_api/python-pydantic-v1/setup.py b/samples/client/echo_api/python-pydantic-v1/setup.py index d91b9d9f069..4fce4bb514e 100644 --- a/samples/client/echo_api/python-pydantic-v1/setup.py +++ b/samples/client/echo_api/python-pydantic-v1/setup.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from setuptools import setup, find_packages # noqa: H301 # To install the library, run the following diff --git a/samples/client/echo_api/python/README.md b/samples/client/echo_api/python/README.md index 1e9e76b6837..dcb1c10df45 100644 --- a/samples/client/echo_api/python/README.md +++ b/samples/client/echo_api/python/README.md @@ -72,7 +72,6 @@ configuration = openapi_client.Configuration( password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -159,4 +158,3 @@ Authentication schemes defined for the API: team@openapitools.org - diff --git a/samples/client/echo_api/python/docs/AuthApi.md b/samples/client/echo_api/python/docs/AuthApi.md index 507592b4811..56ca14f2de0 100644 --- a/samples/client/echo_api/python/docs/AuthApi.md +++ b/samples/client/echo_api/python/docs/AuthApi.md @@ -40,7 +40,6 @@ configuration = openapi_client.Configuration( username = os.environ["USERNAME"], password = os.environ["PASSWORD"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -56,7 +55,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -113,7 +111,6 @@ configuration = openapi_client.Configuration( configuration = openapi_client.Configuration( access_token = os.environ["BEARER_TOKEN"] ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -129,7 +126,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. diff --git a/samples/client/echo_api/python/docs/BodyApi.md b/samples/client/echo_api/python/docs/BodyApi.md index d4cc6d4dab6..a6311d82dfd 100644 --- a/samples/client/echo_api/python/docs/BodyApi.md +++ b/samples/client/echo_api/python/docs/BodyApi.md @@ -37,7 +37,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -53,7 +52,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters This endpoint does not need any parameter. @@ -100,7 +98,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -117,7 +114,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -167,7 +163,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -184,7 +179,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -234,7 +228,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -251,7 +244,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -302,7 +294,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -319,7 +310,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -369,7 +359,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -386,7 +375,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -437,7 +425,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -454,7 +441,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -505,7 +491,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -522,7 +507,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -573,7 +557,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -590,7 +573,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -641,7 +623,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -658,7 +639,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python/docs/FormApi.md b/samples/client/echo_api/python/docs/FormApi.md index 86ae2be3697..47e5bc6e3c8 100644 --- a/samples/client/echo_api/python/docs/FormApi.md +++ b/samples/client/echo_api/python/docs/FormApi.md @@ -30,7 +30,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -49,7 +48,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -102,7 +100,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -119,7 +116,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -169,7 +165,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -191,7 +186,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python/docs/HeaderApi.md b/samples/client/echo_api/python/docs/HeaderApi.md index 137b5c00d10..d2f37031165 100644 --- a/samples/client/echo_api/python/docs/HeaderApi.md +++ b/samples/client/echo_api/python/docs/HeaderApi.md @@ -29,7 +29,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -50,7 +49,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python/docs/PathApi.md b/samples/client/echo_api/python/docs/PathApi.md index dd9362bb746..19cfab1ad3d 100644 --- a/samples/client/echo_api/python/docs/PathApi.md +++ b/samples/client/echo_api/python/docs/PathApi.md @@ -29,7 +29,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -49,7 +48,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python/docs/QueryApi.md b/samples/client/echo_api/python/docs/QueryApi.md index 8c8bf981a5f..bf706e43ab1 100644 --- a/samples/client/echo_api/python/docs/QueryApi.md +++ b/samples/client/echo_api/python/docs/QueryApi.md @@ -38,7 +38,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -56,7 +55,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -107,7 +105,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -126,7 +123,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -178,7 +174,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -197,7 +192,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -250,7 +244,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -267,7 +260,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -317,7 +309,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -334,7 +325,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -384,7 +374,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -401,7 +390,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -451,7 +439,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -468,7 +455,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -519,7 +505,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -536,7 +521,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -587,7 +571,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -604,7 +587,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters @@ -654,7 +636,6 @@ configuration = openapi_client.Configuration( host = "http://localhost:3000" ) - # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -671,7 +652,6 @@ with openapi_client.ApiClient(configuration) as api_client: ``` - ### Parameters diff --git a/samples/client/echo_api/python/openapi_client/__init__.py b/samples/client/echo_api/python/openapi_client/__init__.py index 3f63fe12abd..4bce0c3dffd 100644 --- a/samples/client/echo_api/python/openapi_client/__init__.py +++ b/samples/client/echo_api/python/openapi_client/__init__.py @@ -14,7 +14,6 @@ Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # import apis into sdk package diff --git a/samples/client/echo_api/python/openapi_client/api/auth_api.py b/samples/client/echo_api/python/openapi_client/api/auth_api.py index 2f3e9dfcdb6..298ec07e30a 100644 --- a/samples/client/echo_api/python/openapi_client/api/auth_api.py +++ b/samples/client/echo_api/python/openapi_client/api/auth_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api/body_api.py b/samples/client/echo_api/python/openapi_client/api/body_api.py index 33aba2cbd44..4844a177eaf 100644 --- a/samples/client/echo_api/python/openapi_client/api/body_api.py +++ b/samples/client/echo_api/python/openapi_client/api/body_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api/form_api.py b/samples/client/echo_api/python/openapi_client/api/form_api.py index 3353457f7ee..a265ac77fb2 100644 --- a/samples/client/echo_api/python/openapi_client/api/form_api.py +++ b/samples/client/echo_api/python/openapi_client/api/form_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api/header_api.py b/samples/client/echo_api/python/openapi_client/api/header_api.py index 5c1cd1b540d..2216155eaab 100644 --- a/samples/client/echo_api/python/openapi_client/api/header_api.py +++ b/samples/client/echo_api/python/openapi_client/api/header_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api/path_api.py b/samples/client/echo_api/python/openapi_client/api/path_api.py index d2ba4662c21..41d0c636657 100644 --- a/samples/client/echo_api/python/openapi_client/api/path_api.py +++ b/samples/client/echo_api/python/openapi_client/api/path_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api/query_api.py b/samples/client/echo_api/python/openapi_client/api/query_api.py index 7d2ecbb1c2c..9c9637189ec 100644 --- a/samples/client/echo_api/python/openapi_client/api/query_api.py +++ b/samples/client/echo_api/python/openapi_client/api/query_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union diff --git a/samples/client/echo_api/python/openapi_client/api_client.py b/samples/client/echo_api/python/openapi_client/api_client.py index 60d053860e3..f8a45e61889 100644 --- a/samples/client/echo_api/python/openapi_client/api_client.py +++ b/samples/client/echo_api/python/openapi_client/api_client.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import datetime from dateutil.parser import parse from enum import Enum diff --git a/samples/client/echo_api/python/openapi_client/configuration.py b/samples/client/echo_api/python/openapi_client/configuration.py index 27946de1787..538582ae96a 100644 --- a/samples/client/echo_api/python/openapi_client/configuration.py +++ b/samples/client/echo_api/python/openapi_client/configuration.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import copy import logging from logging import FileHandler diff --git a/samples/client/echo_api/python/openapi_client/exceptions.py b/samples/client/echo_api/python/openapi_client/exceptions.py index bd5561d241e..71a5635b686 100644 --- a/samples/client/echo_api/python/openapi_client/exceptions.py +++ b/samples/client/echo_api/python/openapi_client/exceptions.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 - from typing import Any, Optional from typing_extensions import Self diff --git a/samples/client/echo_api/python/openapi_client/models/__init__.py b/samples/client/echo_api/python/openapi_client/models/__init__.py index f070f632316..6fa8559939e 100644 --- a/samples/client/echo_api/python/openapi_client/models/__init__.py +++ b/samples/client/echo_api/python/openapi_client/models/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from openapi_client.models.bird import Bird from openapi_client.models.category import Category diff --git a/samples/client/echo_api/python/openapi_client/models/bird.py b/samples/client/echo_api/python/openapi_client/models/bird.py index 9f0dd625119..fb6bd481408 100644 --- a/samples/client/echo_api/python/openapi_client/models/bird.py +++ b/samples/client/echo_api/python/openapi_client/models/bird.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/category.py b/samples/client/echo_api/python/openapi_client/models/category.py index d81b92c0f6e..1f50d66011a 100644 --- a/samples/client/echo_api/python/openapi_client/models/category.py +++ b/samples/client/echo_api/python/openapi_client/models/category.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/data_query.py b/samples/client/echo_api/python/openapi_client/models/data_query.py index dc9a58598e6..ba1a837b4d3 100644 --- a/samples/client/echo_api/python/openapi_client/models/data_query.py +++ b/samples/client/echo_api/python/openapi_client/models/data_query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/default_value.py b/samples/client/echo_api/python/openapi_client/models/default_value.py index feee1843319..73bbdf7da9b 100644 --- a/samples/client/echo_api/python/openapi_client/models/default_value.py +++ b/samples/client/echo_api/python/openapi_client/models/default_value.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/number_properties_only.py b/samples/client/echo_api/python/openapi_client/models/number_properties_only.py index 08b3d5600ff..cd649d39520 100644 --- a/samples/client/echo_api/python/openapi_client/models/number_properties_only.py +++ b/samples/client/echo_api/python/openapi_client/models/number_properties_only.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/pet.py b/samples/client/echo_api/python/openapi_client/models/pet.py index 0a0ae74d115..fd27af47627 100644 --- a/samples/client/echo_api/python/openapi_client/models/pet.py +++ b/samples/client/echo_api/python/openapi_client/models/pet.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/query.py b/samples/client/echo_api/python/openapi_client/models/query.py index 97199fb7fd9..3dfcb2499b1 100644 --- a/samples/client/echo_api/python/openapi_client/models/query.py +++ b/samples/client/echo_api/python/openapi_client/models/query.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/string_enum_ref.py b/samples/client/echo_api/python/openapi_client/models/string_enum_ref.py index 90328aea76d..a61ff40dfba 100644 --- a/samples/client/echo_api/python/openapi_client/models/string_enum_ref.py +++ b/samples/client/echo_api/python/openapi_client/models/string_enum_ref.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import json from enum import Enum @@ -36,4 +35,3 @@ class StringEnumRef(str, Enum): """Create an instance of StringEnumRef from a JSON string""" return cls(json.loads(json_str)) - diff --git a/samples/client/echo_api/python/openapi_client/models/tag.py b/samples/client/echo_api/python/openapi_client/models/tag.py index feec4b3f31c..bd600dbdfaa 100644 --- a/samples/client/echo_api/python/openapi_client/models/tag.py +++ b/samples/client/echo_api/python/openapi_client/models/tag.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/test_form_object_multipart_request_marker.py b/samples/client/echo_api/python/openapi_client/models/test_form_object_multipart_request_marker.py index 9f7747151bd..b14e920ea3d 100644 --- a/samples/client/echo_api/python/openapi_client/models/test_form_object_multipart_request_marker.py +++ b/samples/client/echo_api/python/openapi_client/models/test_form_object_multipart_request_marker.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py b/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py index 8ed0f58c990..3bfc60fa5ff 100644 --- a/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py +++ b/samples/client/echo_api/python/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py b/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py index a9a7a5929f2..c7f197daba6 100644 --- a/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py +++ b/samples/client/echo_api/python/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from __future__ import annotations import pprint import re # noqa: F401 diff --git a/samples/client/echo_api/python/openapi_client/rest.py b/samples/client/echo_api/python/openapi_client/rest.py index b97741ddfce..c3845de4834 100644 --- a/samples/client/echo_api/python/openapi_client/rest.py +++ b/samples/client/echo_api/python/openapi_client/rest.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - import io import json import re diff --git a/samples/client/echo_api/python/setup.py b/samples/client/echo_api/python/setup.py index 64d7cd1c9db..c514596811e 100644 --- a/samples/client/echo_api/python/setup.py +++ b/samples/client/echo_api/python/setup.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - from setuptools import setup, find_packages # noqa: H301 # To install the library, run the following diff --git a/samples/client/echo_api/ruby-faraday/docs/Bird.md b/samples/client/echo_api/ruby-faraday/docs/Bird.md index 53207a9a2f1..3b1f2cfc7a0 100644 --- a/samples/client/echo_api/ruby-faraday/docs/Bird.md +++ b/samples/client/echo_api/ruby-faraday/docs/Bird.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Bird.new( color: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/Category.md b/samples/client/echo_api/ruby-faraday/docs/Category.md index 17adafbed75..b446f5c207f 100644 --- a/samples/client/echo_api/ruby-faraday/docs/Category.md +++ b/samples/client/echo_api/ruby-faraday/docs/Category.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Category.new( name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/DataQuery.md b/samples/client/echo_api/ruby-faraday/docs/DataQuery.md index 2ef4c6b1a0d..b87c96706dd 100644 --- a/samples/client/echo_api/ruby-faraday/docs/DataQuery.md +++ b/samples/client/echo_api/ruby-faraday/docs/DataQuery.md @@ -19,4 +19,3 @@ instance = OpenapiClient::DataQuery.new( date: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/DefaultValue.md b/samples/client/echo_api/ruby-faraday/docs/DefaultValue.md index 72736b7608d..83ac9ccdb80 100644 --- a/samples/client/echo_api/ruby-faraday/docs/DefaultValue.md +++ b/samples/client/echo_api/ruby-faraday/docs/DefaultValue.md @@ -29,4 +29,3 @@ instance = OpenapiClient::DefaultValue.new( string_nullable: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/NumberPropertiesOnly.md b/samples/client/echo_api/ruby-faraday/docs/NumberPropertiesOnly.md index 5040bff00dd..431022478af 100644 --- a/samples/client/echo_api/ruby-faraday/docs/NumberPropertiesOnly.md +++ b/samples/client/echo_api/ruby-faraday/docs/NumberPropertiesOnly.md @@ -19,4 +19,3 @@ instance = OpenapiClient::NumberPropertiesOnly.new( double: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/Pet.md b/samples/client/echo_api/ruby-faraday/docs/Pet.md index 817b46ce714..5084d224ef7 100644 --- a/samples/client/echo_api/ruby-faraday/docs/Pet.md +++ b/samples/client/echo_api/ruby-faraday/docs/Pet.md @@ -25,4 +25,3 @@ instance = OpenapiClient::Pet.new( status: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/Query.md b/samples/client/echo_api/ruby-faraday/docs/Query.md index e7b670a033d..4ae83ce678b 100644 --- a/samples/client/echo_api/ruby-faraday/docs/Query.md +++ b/samples/client/echo_api/ruby-faraday/docs/Query.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Query.new( outcomes: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/StringEnumRef.md b/samples/client/echo_api/ruby-faraday/docs/StringEnumRef.md index 169bcb44d76..ce772a5f3bb 100644 --- a/samples/client/echo_api/ruby-faraday/docs/StringEnumRef.md +++ b/samples/client/echo_api/ruby-faraday/docs/StringEnumRef.md @@ -12,4 +12,3 @@ require 'openapi_client' instance = OpenapiClient::StringEnumRef.new() ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/Tag.md b/samples/client/echo_api/ruby-faraday/docs/Tag.md index d3bcb5933ab..b3ba35c01a8 100644 --- a/samples/client/echo_api/ruby-faraday/docs/Tag.md +++ b/samples/client/echo_api/ruby-faraday/docs/Tag.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Tag.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/TestFormObjectMultipartRequestMarker.md b/samples/client/echo_api/ruby-faraday/docs/TestFormObjectMultipartRequestMarker.md index caf8f833177..0d212249f83 100644 --- a/samples/client/echo_api/ruby-faraday/docs/TestFormObjectMultipartRequestMarker.md +++ b/samples/client/echo_api/ruby-faraday/docs/TestFormObjectMultipartRequestMarker.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestFormObjectMultipartRequestMarker.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md b/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md index a0f7cd16fe8..573fdb16fd9 100644 --- a/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md @@ -21,4 +21,3 @@ instance = OpenapiClient::TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObj name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md index b21365f8f3a..1b06c6c25a6 100644 --- a/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-faraday/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestQueryStyleFormExplodeTrueArrayStringQueryObjectPar values: null ) ``` - diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client.rb index a67f7fed8bc..9488533e316 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/auth_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/auth_api.rb index cc4631d0f32..58d9a745e8d 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/auth_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/auth_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/body_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/body_api.rb index 9ce0f0900c3..c17639193e7 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/body_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/body_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/form_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/form_api.rb index ea11b6fafa1..0b7521bd1a5 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/form_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/form_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/header_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/header_api.rb index 59c72e21f69..bea55345604 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/header_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/header_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/path_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/path_api.rb index 9d81de732cd..af9dbdd9b88 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/path_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/path_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/query_api.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/query_api.rb index 9aeb686f1ff..8dc232f3f29 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/query_api.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api/query_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_client.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_client.rb index f4eb40bbfac..267fff11b62 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_client.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -245,7 +244,6 @@ module OpenapiClient end end end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_error.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_error.rb index 4f97191633a..e946f8c5747 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_error.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/configuration.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/configuration.rb index 731f582785b..c1c571395d0 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/configuration.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient @@ -150,7 +149,6 @@ module OpenapiClient # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders attr_accessor :params_encoder - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/bird.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/bird.rb index 696a770e262..c383fa8a2b4 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/bird.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/bird.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/category.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/category.rb index b8390e4726d..f0f0dcffdf1 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/category.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/data_query.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/data_query.rb index 91bef372eab..26a250d6c5b 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/data_query.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/data_query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/default_value.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/default_value.rb index 0e072f0ccdf..f66e52e90df 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/default_value.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/number_properties_only.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/number_properties_only.rb index e12e145145b..3a3ac7619c8 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/number_properties_only.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/number_properties_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/pet.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/pet.rb index 48109c6e675..735877ad970 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/pet.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/query.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/query.rb index 2e6891e7120..6edde80e601 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/query.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/string_enum_ref.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/string_enum_ref.rb index 2e811af240d..30c7514f881 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/string_enum_ref.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/string_enum_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module OpenapiClient return value if StringEnumRef.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #StringEnumRef" end - end -end + endend diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/tag.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/tag.rb index 23157234b5d..c4f9ac9f6ac 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/tag.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_form_object_multipart_request_marker.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_form_object_multipart_request_marker.rb index adf4f15a5f0..6c571f867fb 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_form_object_multipart_request_marker.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_form_object_multipart_request_marker.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb index fb75021de63..39d5ca02233 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb index 717042bdc63..e78a6d43f65 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-faraday/lib/openapi_client/version.rb b/samples/client/echo_api/ruby-faraday/lib/openapi_client/version.rb index 9ccf46939b3..0b5e9c52bd1 100644 --- a/samples/client/echo_api/ruby-faraday/lib/openapi_client/version.rb +++ b/samples/client/echo_api/ruby-faraday/lib/openapi_client/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-faraday/openapi_client.gemspec b/samples/client/echo_api/ruby-faraday/openapi_client.gemspec index 2c98dd8abbc..9d23d0b9a34 100644 --- a/samples/client/echo_api/ruby-faraday/openapi_client.gemspec +++ b/samples/client/echo_api/ruby-faraday/openapi_client.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/echo_api/ruby-faraday/spec/spec_helper.rb b/samples/client/echo_api/ruby-faraday/spec/spec_helper.rb index 36fe04107e2..b3141e2fc89 100644 --- a/samples/client/echo_api/ruby-faraday/spec/spec_helper.rb +++ b/samples/client/echo_api/ruby-faraday/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/echo_api/ruby-httpx/docs/Bird.md b/samples/client/echo_api/ruby-httpx/docs/Bird.md index 53207a9a2f1..3b1f2cfc7a0 100644 --- a/samples/client/echo_api/ruby-httpx/docs/Bird.md +++ b/samples/client/echo_api/ruby-httpx/docs/Bird.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Bird.new( color: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/Category.md b/samples/client/echo_api/ruby-httpx/docs/Category.md index 17adafbed75..b446f5c207f 100644 --- a/samples/client/echo_api/ruby-httpx/docs/Category.md +++ b/samples/client/echo_api/ruby-httpx/docs/Category.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Category.new( name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/DataQuery.md b/samples/client/echo_api/ruby-httpx/docs/DataQuery.md index 2ef4c6b1a0d..b87c96706dd 100644 --- a/samples/client/echo_api/ruby-httpx/docs/DataQuery.md +++ b/samples/client/echo_api/ruby-httpx/docs/DataQuery.md @@ -19,4 +19,3 @@ instance = OpenapiClient::DataQuery.new( date: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/DefaultValue.md b/samples/client/echo_api/ruby-httpx/docs/DefaultValue.md index 72736b7608d..83ac9ccdb80 100644 --- a/samples/client/echo_api/ruby-httpx/docs/DefaultValue.md +++ b/samples/client/echo_api/ruby-httpx/docs/DefaultValue.md @@ -29,4 +29,3 @@ instance = OpenapiClient::DefaultValue.new( string_nullable: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/NumberPropertiesOnly.md b/samples/client/echo_api/ruby-httpx/docs/NumberPropertiesOnly.md index 5040bff00dd..431022478af 100644 --- a/samples/client/echo_api/ruby-httpx/docs/NumberPropertiesOnly.md +++ b/samples/client/echo_api/ruby-httpx/docs/NumberPropertiesOnly.md @@ -19,4 +19,3 @@ instance = OpenapiClient::NumberPropertiesOnly.new( double: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/Pet.md b/samples/client/echo_api/ruby-httpx/docs/Pet.md index 817b46ce714..5084d224ef7 100644 --- a/samples/client/echo_api/ruby-httpx/docs/Pet.md +++ b/samples/client/echo_api/ruby-httpx/docs/Pet.md @@ -25,4 +25,3 @@ instance = OpenapiClient::Pet.new( status: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/Query.md b/samples/client/echo_api/ruby-httpx/docs/Query.md index e7b670a033d..4ae83ce678b 100644 --- a/samples/client/echo_api/ruby-httpx/docs/Query.md +++ b/samples/client/echo_api/ruby-httpx/docs/Query.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Query.new( outcomes: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/StringEnumRef.md b/samples/client/echo_api/ruby-httpx/docs/StringEnumRef.md index 169bcb44d76..ce772a5f3bb 100644 --- a/samples/client/echo_api/ruby-httpx/docs/StringEnumRef.md +++ b/samples/client/echo_api/ruby-httpx/docs/StringEnumRef.md @@ -12,4 +12,3 @@ require 'openapi_client' instance = OpenapiClient::StringEnumRef.new() ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/Tag.md b/samples/client/echo_api/ruby-httpx/docs/Tag.md index d3bcb5933ab..b3ba35c01a8 100644 --- a/samples/client/echo_api/ruby-httpx/docs/Tag.md +++ b/samples/client/echo_api/ruby-httpx/docs/Tag.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Tag.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/TestFormObjectMultipartRequestMarker.md b/samples/client/echo_api/ruby-httpx/docs/TestFormObjectMultipartRequestMarker.md index caf8f833177..0d212249f83 100644 --- a/samples/client/echo_api/ruby-httpx/docs/TestFormObjectMultipartRequestMarker.md +++ b/samples/client/echo_api/ruby-httpx/docs/TestFormObjectMultipartRequestMarker.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestFormObjectMultipartRequestMarker.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md b/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md index a0f7cd16fe8..573fdb16fd9 100644 --- a/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md @@ -21,4 +21,3 @@ instance = OpenapiClient::TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObj name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md index b21365f8f3a..1b06c6c25a6 100644 --- a/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-httpx/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestQueryStyleFormExplodeTrueArrayStringQueryObjectPar values: null ) ``` - diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client.rb index a67f7fed8bc..9488533e316 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/auth_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/auth_api.rb index cc4631d0f32..58d9a745e8d 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/auth_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/auth_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/body_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/body_api.rb index 9ce0f0900c3..c17639193e7 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/body_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/body_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/form_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/form_api.rb index ea11b6fafa1..0b7521bd1a5 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/form_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/form_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/header_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/header_api.rb index 59c72e21f69..bea55345604 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/header_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/header_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/path_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/path_api.rb index 9d81de732cd..af9dbdd9b88 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/path_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/path_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/query_api.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/query_api.rb index 9aeb686f1ff..8dc232f3f29 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/query_api.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api/query_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_client.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_client.rb index c510b4b3507..997932bd032 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_client.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -178,7 +177,6 @@ module OpenapiClient @session = session end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_error.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_error.rb index 4f97191633a..e946f8c5747 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_error.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/configuration.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/configuration.rb index 4481f4a384b..2ee6541cbd9 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/configuration.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient @@ -121,7 +120,6 @@ module OpenapiClient # @return [Hash{Symbol => Object}, nil] attr_accessor :proxy - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/bird.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/bird.rb index 696a770e262..c383fa8a2b4 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/bird.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/bird.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/category.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/category.rb index b8390e4726d..f0f0dcffdf1 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/category.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/data_query.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/data_query.rb index 91bef372eab..26a250d6c5b 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/data_query.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/data_query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/default_value.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/default_value.rb index 0e072f0ccdf..f66e52e90df 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/default_value.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/number_properties_only.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/number_properties_only.rb index e12e145145b..3a3ac7619c8 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/number_properties_only.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/number_properties_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/pet.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/pet.rb index 48109c6e675..735877ad970 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/pet.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/query.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/query.rb index 2e6891e7120..6edde80e601 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/query.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/string_enum_ref.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/string_enum_ref.rb index 2e811af240d..30c7514f881 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/string_enum_ref.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/string_enum_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module OpenapiClient return value if StringEnumRef.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #StringEnumRef" end - end -end + endend diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/tag.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/tag.rb index 23157234b5d..c4f9ac9f6ac 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/tag.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_form_object_multipart_request_marker.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_form_object_multipart_request_marker.rb index adf4f15a5f0..6c571f867fb 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_form_object_multipart_request_marker.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_form_object_multipart_request_marker.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb index fb75021de63..39d5ca02233 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb index 717042bdc63..e78a6d43f65 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-httpx/lib/openapi_client/version.rb b/samples/client/echo_api/ruby-httpx/lib/openapi_client/version.rb index 9ccf46939b3..0b5e9c52bd1 100644 --- a/samples/client/echo_api/ruby-httpx/lib/openapi_client/version.rb +++ b/samples/client/echo_api/ruby-httpx/lib/openapi_client/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-httpx/openapi_client.gemspec b/samples/client/echo_api/ruby-httpx/openapi_client.gemspec index e11b1101403..a2b3ba65220 100644 --- a/samples/client/echo_api/ruby-httpx/openapi_client.gemspec +++ b/samples/client/echo_api/ruby-httpx/openapi_client.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/echo_api/ruby-httpx/spec/spec_helper.rb b/samples/client/echo_api/ruby-httpx/spec/spec_helper.rb index 36fe04107e2..b3141e2fc89 100644 --- a/samples/client/echo_api/ruby-httpx/spec/spec_helper.rb +++ b/samples/client/echo_api/ruby-httpx/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/echo_api/ruby-typhoeus/docs/Bird.md b/samples/client/echo_api/ruby-typhoeus/docs/Bird.md index 53207a9a2f1..3b1f2cfc7a0 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/Bird.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/Bird.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Bird.new( color: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/Category.md b/samples/client/echo_api/ruby-typhoeus/docs/Category.md index 17adafbed75..b446f5c207f 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/Category.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/Category.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Category.new( name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/DataQuery.md b/samples/client/echo_api/ruby-typhoeus/docs/DataQuery.md index 2ef4c6b1a0d..b87c96706dd 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/DataQuery.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/DataQuery.md @@ -19,4 +19,3 @@ instance = OpenapiClient::DataQuery.new( date: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/DefaultValue.md b/samples/client/echo_api/ruby-typhoeus/docs/DefaultValue.md index 72736b7608d..83ac9ccdb80 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/DefaultValue.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/DefaultValue.md @@ -29,4 +29,3 @@ instance = OpenapiClient::DefaultValue.new( string_nullable: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/NumberPropertiesOnly.md b/samples/client/echo_api/ruby-typhoeus/docs/NumberPropertiesOnly.md index 5040bff00dd..431022478af 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/NumberPropertiesOnly.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/NumberPropertiesOnly.md @@ -19,4 +19,3 @@ instance = OpenapiClient::NumberPropertiesOnly.new( double: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/Pet.md b/samples/client/echo_api/ruby-typhoeus/docs/Pet.md index 817b46ce714..5084d224ef7 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/Pet.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/Pet.md @@ -25,4 +25,3 @@ instance = OpenapiClient::Pet.new( status: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/Query.md b/samples/client/echo_api/ruby-typhoeus/docs/Query.md index e7b670a033d..4ae83ce678b 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/Query.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/Query.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Query.new( outcomes: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/StringEnumRef.md b/samples/client/echo_api/ruby-typhoeus/docs/StringEnumRef.md index 169bcb44d76..ce772a5f3bb 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/StringEnumRef.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/StringEnumRef.md @@ -12,4 +12,3 @@ require 'openapi_client' instance = OpenapiClient::StringEnumRef.new() ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/Tag.md b/samples/client/echo_api/ruby-typhoeus/docs/Tag.md index d3bcb5933ab..b3ba35c01a8 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/Tag.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/Tag.md @@ -17,4 +17,3 @@ instance = OpenapiClient::Tag.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/TestFormObjectMultipartRequestMarker.md b/samples/client/echo_api/ruby-typhoeus/docs/TestFormObjectMultipartRequestMarker.md index caf8f833177..0d212249f83 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/TestFormObjectMultipartRequestMarker.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/TestFormObjectMultipartRequestMarker.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestFormObjectMultipartRequestMarker.new( name: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md b/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md index a0f7cd16fe8..573fdb16fd9 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md @@ -21,4 +21,3 @@ instance = OpenapiClient::TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObj name: Dogs ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md b/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md index b21365f8f3a..1b06c6c25a6 100644 --- a/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md +++ b/samples/client/echo_api/ruby-typhoeus/docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md @@ -15,4 +15,3 @@ instance = OpenapiClient::TestQueryStyleFormExplodeTrueArrayStringQueryObjectPar values: null ) ``` - diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client.rb index a67f7fed8bc..9488533e316 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/auth_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/auth_api.rb index cc4631d0f32..58d9a745e8d 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/auth_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/auth_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/body_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/body_api.rb index 9ce0f0900c3..c17639193e7 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/body_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/body_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/form_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/form_api.rb index ea11b6fafa1..0b7521bd1a5 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/form_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/form_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/header_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/header_api.rb index 59c72e21f69..bea55345604 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/header_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/header_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/path_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/path_api.rb index 9d81de732cd..af9dbdd9b88 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/path_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/path_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/query_api.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/query_api.rb index 9aeb686f1ff..8dc232f3f29 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/query_api.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api/query_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_client.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_client.rb index d2a2ba44217..18c880f913b 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_client.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ module OpenapiClient tempfile end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_error.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_error.rb index 4f97191633a..e946f8c5747 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_error.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/configuration.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/configuration.rb index 80457418da0..34065b47ce3 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/configuration.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient @@ -151,7 +150,6 @@ module OpenapiClient # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96 attr_accessor :params_encoding - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/bird.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/bird.rb index 696a770e262..c383fa8a2b4 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/bird.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/bird.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/category.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/category.rb index b8390e4726d..f0f0dcffdf1 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/category.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/data_query.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/data_query.rb index 91bef372eab..26a250d6c5b 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/data_query.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/data_query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/default_value.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/default_value.rb index 0e072f0ccdf..f66e52e90df 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/default_value.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/number_properties_only.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/number_properties_only.rb index e12e145145b..3a3ac7619c8 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/number_properties_only.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/number_properties_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/pet.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/pet.rb index 48109c6e675..735877ad970 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/pet.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/query.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/query.rb index 2e6891e7120..6edde80e601 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/query.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/query.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/string_enum_ref.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/string_enum_ref.rb index 2e811af240d..30c7514f881 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/string_enum_ref.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/string_enum_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module OpenapiClient return value if StringEnumRef.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #StringEnumRef" end - end -end + endend diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/tag.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/tag.rb index 23157234b5d..c4f9ac9f6ac 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/tag.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_form_object_multipart_request_marker.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_form_object_multipart_request_marker.rb index adf4f15a5f0..6c571f867fb 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_form_object_multipart_request_marker.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_form_object_multipart_request_marker.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb index fb75021de63..39d5ca02233 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb index 717042bdc63..e78a6d43f65 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module OpenapiClient value end end - end - end diff --git a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/version.rb b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/version.rb index 9ccf46939b3..0b5e9c52bd1 100644 --- a/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/version.rb +++ b/samples/client/echo_api/ruby-typhoeus/lib/openapi_client/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module OpenapiClient diff --git a/samples/client/echo_api/ruby-typhoeus/openapi_client.gemspec b/samples/client/echo_api/ruby-typhoeus/openapi_client.gemspec index a5497ea1cb1..bea56481188 100644 --- a/samples/client/echo_api/ruby-typhoeus/openapi_client.gemspec +++ b/samples/client/echo_api/ruby-typhoeus/openapi_client.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/echo_api/ruby-typhoeus/spec/spec_helper.rb b/samples/client/echo_api/ruby-typhoeus/spec/spec_helper.rb index 36fe04107e2..b3141e2fc89 100644 --- a/samples/client/echo_api/ruby-typhoeus/spec/spec_helper.rb +++ b/samples/client/echo_api/ruby-typhoeus/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 0.1.0 Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/echo_api/typescript-axios/build/api.ts b/samples/client/echo_api/typescript-axios/build/api.ts index ffe05310d2d..9e6ec6a1bfd 100644 --- a/samples/client/echo_api/typescript-axios/build/api.ts +++ b/samples/client/echo_api/typescript-axios/build/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -271,7 +270,6 @@ export const StringEnumRef = { export type StringEnumRef = typeof StringEnumRef[keyof typeof StringEnumRef]; - /** * * @export @@ -519,7 +517,6 @@ export class AuthApi extends BaseAPI { } - /** * BodyApi - axios parameter creator * @export @@ -1255,7 +1252,6 @@ export class BodyApi extends BaseAPI { } - /** * FormApi - axios parameter creator * @export @@ -1574,7 +1570,6 @@ export class FormApi extends BaseAPI { } - /** * HeaderApi - axios parameter creator * @export @@ -1730,7 +1725,6 @@ export const TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum = { } as const; export type TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum = typeof TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum[keyof typeof TestHeaderIntegerBooleanStringEnumsEnumNonrefStringHeaderEnum]; - /** * PathApi - axios parameter creator * @export @@ -1868,7 +1862,6 @@ export const TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnum } as const; export type TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum = typeof TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum[keyof typeof TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum]; - /** * QueryApi - axios parameter creator * @export @@ -2670,4 +2663,3 @@ export const TestEnumRefStringEnumNonrefStringQueryEnum = { } as const; export type TestEnumRefStringEnumNonrefStringQueryEnum = typeof TestEnumRefStringEnumNonrefStringQueryEnum[keyof typeof TestEnumRefStringEnumNonrefStringQueryEnum]; - diff --git a/samples/client/echo_api/typescript-axios/build/base.ts b/samples/client/echo_api/typescript-axios/build/base.ts index b95cd69a9ed..edc23abc6cd 100644 --- a/samples/client/echo_api/typescript-axios/build/base.ts +++ b/samples/client/echo_api/typescript-axios/build/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/echo_api/typescript-axios/build/common.ts b/samples/client/echo_api/typescript-axios/build/common.ts index fc1881f27b3..3a4a39f611a 100644 --- a/samples/client/echo_api/typescript-axios/build/common.ts +++ b/samples/client/echo_api/typescript-axios/build/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/echo_api/typescript-axios/build/configuration.ts b/samples/client/echo_api/typescript-axios/build/configuration.ts index c952b7aefd7..dbacb1c9bcb 100644 --- a/samples/client/echo_api/typescript-axios/build/configuration.ts +++ b/samples/client/echo_api/typescript-axios/build/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/echo_api/typescript-axios/build/index.ts b/samples/client/echo_api/typescript-axios/build/index.ts index 99df53bd2b8..deff2a0f460 100644 --- a/samples/client/echo_api/typescript-axios/build/index.ts +++ b/samples/client/echo_api/typescript-axios/build/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartArrayRequest.cs b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartArrayRequest.cs index a9568625dbc..01c9835b4ea 100644 --- a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartArrayRequest.cs +++ b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartArrayRequest.cs @@ -115,7 +115,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequest.cs b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequest.cs index 5c75594cab7..3be74b7bba3 100644 --- a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequest.cs +++ b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequest.cs @@ -161,7 +161,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequestMarker.cs b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequestMarker.cs index 22c4d970da1..c29be54dcb0 100644 --- a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequestMarker.cs +++ b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartMixedRequestMarker.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartSingleRequest.cs b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartSingleRequest.cs index f3922222c8d..3d7ec00d06a 100644 --- a/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartSingleRequest.cs +++ b/samples/client/others/csharp-complex-files/src/Org.OpenAPITools/Model/MultipartSingleRequest.cs @@ -115,7 +115,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_additional_data.go b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_additional_data.go index a7186d87f51..9a549093ee4 100644 --- a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_additional_data.go +++ b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_additional_data.go @@ -239,4 +239,3 @@ func (v *NullableAdditionalData) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_base_item.go b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_base_item.go index 96d4179808c..0afba2cce91 100644 --- a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_base_item.go +++ b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_base_item.go @@ -183,4 +183,3 @@ func (v *NullableBaseItem) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_final_item.go b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_final_item.go index d3845f84998..4ea353827c5 100644 --- a/samples/client/others/go/allof_multiple_ref_and_discriminator/model_final_item.go +++ b/samples/client/others/go/allof_multiple_ref_and_discriminator/model_final_item.go @@ -244,4 +244,3 @@ func (v *NullableFinalItem) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/oneof-anyof-required/model_nested_object1.go b/samples/client/others/go/oneof-anyof-required/model_nested_object1.go index f403748a896..47be1241d67 100644 --- a/samples/client/others/go/oneof-anyof-required/model_nested_object1.go +++ b/samples/client/others/go/oneof-anyof-required/model_nested_object1.go @@ -156,4 +156,3 @@ func (v *NullableNestedObject1) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/oneof-anyof-required/model_nested_object2.go b/samples/client/others/go/oneof-anyof-required/model_nested_object2.go index c3f9468bc15..8032959b1e6 100644 --- a/samples/client/others/go/oneof-anyof-required/model_nested_object2.go +++ b/samples/client/others/go/oneof-anyof-required/model_nested_object2.go @@ -156,4 +156,3 @@ func (v *NullableNestedObject2) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/oneof-anyof-required/model_object.go b/samples/client/others/go/oneof-anyof-required/model_object.go index f0a03353b5c..ae61ffb22d6 100644 --- a/samples/client/others/go/oneof-anyof-required/model_object.go +++ b/samples/client/others/go/oneof-anyof-required/model_object.go @@ -154,4 +154,3 @@ func (v *NullableObject) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/go/oneof-anyof-required/model_object2.go b/samples/client/others/go/oneof-anyof-required/model_object2.go index ee4ff5ec523..705ea87fc03 100644 --- a/samples/client/others/go/oneof-anyof-required/model_object2.go +++ b/samples/client/others/go/oneof-anyof-required/model_object2.go @@ -104,4 +104,3 @@ func (v *NullableObject2) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/docs/Example.md b/samples/client/others/java/jersey2-oneOf-Mixed/docs/Example.md index 0e1dbddcd6a..c75da8ef279 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/docs/Example.md +++ b/samples/client/others/java/jersey2-oneOf-Mixed/docs/Example.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index c1e4f4a3352..f340e9fd129 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/Example.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/Example.java index eeb8f388226..3c7511697ff 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/Example.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/model/Example.java @@ -49,6 +49,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Example.ExampleDeserializer.class) @JsonSerialize(using = Example.ExampleSerializer.class) public class Example extends AbstractOpenApiSchema { @@ -140,7 +141,6 @@ public class Example extends AbstractOpenApiSchema { public Example() { super("oneOf", Boolean.FALSE); } - public Example(UUID o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/docs/Example.md b/samples/client/others/java/jersey2-oneOf-duplicates/docs/Example.md index f9241275dbb..c2474e8419e 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/docs/Example.md +++ b/samples/client/others/java/jersey2-oneOf-duplicates/docs/Example.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index c1e4f4a3352..f340e9fd129 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/Example.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/Example.java index b8ced5fc431..55ad8ecd5b8 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/Example.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/model/Example.java @@ -49,6 +49,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Example.ExampleDeserializer.class) @JsonSerialize(using = Example.ExampleSerializer.class) public class Example extends AbstractOpenApiSchema { @@ -140,7 +141,6 @@ public class Example extends AbstractOpenApiSchema { public Example() { super("oneOf", Boolean.FALSE); } - public Example(List o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 01169dfa047..40ad48a08a1 100644 --- a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/MyExampleGet200Response.java b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/MyExampleGet200Response.java index f5b0e2c17c6..038996ec2db 100644 --- a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/MyExampleGet200Response.java +++ b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/MyExampleGet200Response.java @@ -55,6 +55,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MyExampleGet200Response extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(MyExampleGet200Response.class.getName()); diff --git a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/OneOf1.java b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/OneOf1.java index 281db31de5e..f633d21d306 100644 --- a/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/OneOf1.java +++ b/samples/client/others/java/okhttp-gson-oneOf-array/src/main/java/org/openapitools/client/model/OneOf1.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * OneOf1 */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OneOf1 { public static final String SERIALIZED_NAME_MESSAGE1 = "message1"; @SerializedName(SERIALIZED_NAME_MESSAGE1) - @javax.annotation.Nullable - private String message1; + @javax.annotation.Nullable private String message1; public OneOf1() { } @@ -69,9 +69,7 @@ public class OneOf1 { * Get message1 * @return message1 */ - @javax.annotation.Nullable - - public String getMessage1() { + @javax.annotation.Nullable public String getMessage1() { return message1; } @@ -80,7 +78,6 @@ public class OneOf1 { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 97a2c41ba8a..aeb590e8779 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/MyExamplePostRequest.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/MyExamplePostRequest.java index 40270516374..e9f52d3ad0a 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/MyExamplePostRequest.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/model/MyExamplePostRequest.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MyExamplePostRequest extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(MyExamplePostRequest.class.getName()); diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 9404f782b20..11f02a32cf2 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SimpleOneOf.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SimpleOneOf.java index 6e8377845f9..1f7beff4848 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SimpleOneOf.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SimpleOneOf.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SimpleOneOf extends AbstractOpenApiSchema implements Serializable { private static final Logger log = Logger.getLogger(SimpleOneOf.class.getName()); diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SomeObj.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SomeObj.java index b15c6f7d4c7..8421dd4a7f9 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SomeObj.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/model/SomeObj.java @@ -50,6 +50,7 @@ import org.openapitools.client.JSON; * SomeObj */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SomeObj implements Serializable { private static final long serialVersionUID = 1L; @@ -102,31 +103,25 @@ public class SomeObj implements Serializable { TypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_$_TYPE = "$_type"; @SerializedName(SERIALIZED_NAME_$_TYPE) - @javax.annotation.Nullable - private TypeEnum $type = TypeEnum.SOME_OBJ_IDENTIFIER; + @javax.annotation.Nullable private TypeEnum $type = TypeEnum.SOME_OBJ_IDENTIFIER; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_ACTIVE = "active"; @SerializedName(SERIALIZED_NAME_ACTIVE) - @javax.annotation.Nullable - private Boolean active; + @javax.annotation.Nullable private Boolean active; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public SomeObj() { } @@ -140,8 +135,7 @@ public class SomeObj implements Serializable { * Get $type * @return $type */ - @javax.annotation.Nullable - public TypeEnum get$Type() { + @javax.annotation.Nullable public TypeEnum get$Type() { return $type; } @@ -159,8 +153,7 @@ public class SomeObj implements Serializable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -178,8 +171,7 @@ public class SomeObj implements Serializable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -197,8 +189,7 @@ public class SomeObj implements Serializable { * Get active * @return active */ - @javax.annotation.Nullable - public Boolean getActive() { + @javax.annotation.Nullable public Boolean getActive() { return active; } @@ -216,8 +207,7 @@ public class SomeObj implements Serializable { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -226,7 +216,6 @@ public class SomeObj implements Serializable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catComposed.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catComposed.ts index 5a0e145deb8..adc03949847 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catComposed.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catComposed.ts @@ -14,4 +14,3 @@ export interface CatComposedModel { hunts?: boolean; } - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catInherited.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catInherited.ts index 0edfd1a0717..435d13840b2 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catInherited.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catInherited.ts @@ -14,4 +14,3 @@ export interface CatInheritedModel { hunts?: boolean; } - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catMapped.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catMapped.ts index a45844e85f2..2b50d2e5fd4 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catMapped.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/catMapped.ts @@ -14,4 +14,3 @@ export interface CatMappedModel { hunts?: boolean; } - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogComposed.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogComposed.ts index 79f4f55c047..8295e03888e 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogComposed.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogComposed.ts @@ -20,4 +20,3 @@ export enum DogComposedModelInlineBreedEnum { - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogInherited.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogInherited.ts index 37104f1e2d4..55787555391 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogInherited.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogInherited.ts @@ -17,4 +17,3 @@ export interface DogInheritedModel { - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogMapped.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogMapped.ts index 24a3e3a0424..eb07ddbd273 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogMapped.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dogMapped.ts @@ -17,4 +17,3 @@ export interface DogMappedModel { - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dummy.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dummy.ts index 39744d61210..28ce8912b39 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dummy.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/dummy.ts @@ -13,4 +13,3 @@ export interface DummyModel { 'property.name'?: string; } - diff --git a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/petWithoutDiscriminator.ts b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/petWithoutDiscriminator.ts index 2fc3c93a5bc..ad6f90e1e17 100644 --- a/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/petWithoutDiscriminator.ts +++ b/samples/client/others/typescript-angular/builds/composed-schemas-tagged-unions/model/petWithoutDiscriminator.ts @@ -13,4 +13,3 @@ export interface PetWithoutDiscriminatorModel { petType: string; } - diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/api.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/api.ts index 76a72f3a74a..1047512983a 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/api.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/api.ts @@ -14,4 +14,3 @@ - diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/base.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/base.ts index 208ec53dda4..3d7ce8653e4 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/base.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/common.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/common.ts index 95d62a0dcdd..29f66409989 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/common.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/configuration.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/configuration.ts index 2b516f9129e..0de3571269b 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/configuration.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/index.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/index.ts index 09f94830a1f..5919c078a7b 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/index.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; export * from "./model"; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-flat-stock-pick-order-base-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-flat-stock-pick-order-base-dto.ts index 9604cf4c300..3be24c42de0 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-flat-stock-pick-order-base-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-flat-stock-pick-order-base-dto.ts @@ -13,7 +13,6 @@ */ - /** * * @export diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-user-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-user-dto.ts index 3643cc60cff..2a0892f03ef 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-user-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/abstract-user-dto.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - // May contain unused imports in some cases // @ts-ignore import type { BranchDto } from './branch-dto'; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/branch-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/branch-dto.ts index 4c6d31ceb24..619a9bb1064 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/branch-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/branch-dto.ts @@ -13,7 +13,6 @@ */ - /** * * @export diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/flat-stock-pick-order-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/flat-stock-pick-order-dto.ts index 12cd97a7d4c..f422254ea47 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/flat-stock-pick-order-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/flat-stock-pick-order-dto.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - // May contain unused imports in some cases // @ts-ignore import type { AbstractFlatStockPickOrderBaseDto } from './abstract-flat-stock-pick-order-base-dto'; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/internal-authenticated-user-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/internal-authenticated-user-dto.ts index b3d1d3737ca..d5499daf8db 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/internal-authenticated-user-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/internal-authenticated-user-dto.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - // May contain unused imports in some cases // @ts-ignore import type { AbstractUserDto } from './abstract-user-dto'; diff --git a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/remote-authenticated-user-dto.ts b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/remote-authenticated-user-dto.ts index 0cfe57c46a7..2f18f848d5f 100644 --- a/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/remote-authenticated-user-dto.ts +++ b/samples/client/others/typescript-axios/with-separate-models-and-api-inheritance/model/remote-authenticated-user-dto.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - // May contain unused imports in some cases // @ts-ignore import type { AbstractUserDto } from './abstract-user-dto'; diff --git a/samples/client/others/typescript-fetch/self-import-issue/models/AbstractUserDto.ts b/samples/client/others/typescript-fetch/self-import-issue/models/AbstractUserDto.ts index 53bf52f50bb..37eec88de4f 100644 --- a/samples/client/others/typescript-fetch/self-import-issue/models/AbstractUserDto.ts +++ b/samples/client/others/typescript-fetch/self-import-issue/models/AbstractUserDto.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { BranchDto } from './BranchDto'; import { @@ -48,7 +47,6 @@ export interface AbstractUserDto { */ type?: string; } - /** * Check if a given object implements the AbstractUserDto interface. */ @@ -107,4 +105,3 @@ export function AbstractUserDtoFromJSONTyped(json: any, ignoreDiscriminator: boo 'type': value['type'], }; } - diff --git a/samples/client/others/typescript-fetch/self-import-issue/models/BranchDto.ts b/samples/client/others/typescript-fetch/self-import-issue/models/BranchDto.ts index 5de31fa073f..e8222c8be5c 100644 --- a/samples/client/others/typescript-fetch/self-import-issue/models/BranchDto.ts +++ b/samples/client/others/typescript-fetch/self-import-issue/models/BranchDto.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface BranchDto { */ name?: string; } - /** * Check if a given object implements the BranchDto interface. */ @@ -62,4 +60,3 @@ export function BranchDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/others/typescript-fetch/self-import-issue/models/InternalAuthenticatedUserDto.ts b/samples/client/others/typescript-fetch/self-import-issue/models/InternalAuthenticatedUserDto.ts index 14a4f768ac4..10291ce36de 100644 --- a/samples/client/others/typescript-fetch/self-import-issue/models/InternalAuthenticatedUserDto.ts +++ b/samples/client/others/typescript-fetch/self-import-issue/models/InternalAuthenticatedUserDto.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { BranchDto } from './BranchDto'; import { @@ -35,7 +34,6 @@ import { */ export interface InternalAuthenticatedUserDto extends AbstractUserDto { } - /** * Check if a given object implements the InternalAuthenticatedUserDto interface. */ @@ -58,4 +56,3 @@ export function InternalAuthenticatedUserDtoFromJSONTyped(json: any, ignoreDiscr export function InternalAuthenticatedUserDtoToJSONTyped(value?: InternalAuthenticatedUserDto | null, ignoreDiscriminator: boolean = false): any { return value; } - diff --git a/samples/client/others/typescript-fetch/self-import-issue/models/RemoteAuthenticatedUserDto.ts b/samples/client/others/typescript-fetch/self-import-issue/models/RemoteAuthenticatedUserDto.ts index 6791e2e1216..6819a50e0a7 100644 --- a/samples/client/others/typescript-fetch/self-import-issue/models/RemoteAuthenticatedUserDto.ts +++ b/samples/client/others/typescript-fetch/self-import-issue/models/RemoteAuthenticatedUserDto.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { BranchDto } from './BranchDto'; import { @@ -35,7 +34,6 @@ import { */ export interface RemoteAuthenticatedUserDto extends AbstractUserDto { } - /** * Check if a given object implements the RemoteAuthenticatedUserDto interface. */ @@ -58,4 +56,3 @@ export function RemoteAuthenticatedUserDtoFromJSONTyped(json: any, ignoreDiscrim export function RemoteAuthenticatedUserDtoToJSONTyped(value?: RemoteAuthenticatedUserDto | null, ignoreDiscriminator: boolean = false): any { return value; } - diff --git a/samples/client/others/typescript-fetch/self-import-issue/runtime.ts b/samples/client/others/typescript-fetch/self-import-issue/runtime.ts index 7dab7bfd087..e60287f1e38 100644 --- a/samples/client/others/typescript-fetch/self-import-issue/runtime.ts +++ b/samples/client/others/typescript-fetch/self-import-issue/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://localhost".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/others/typescript-rxjs/allOf-composition/apis/DefaultApi.ts b/samples/client/others/typescript-rxjs/allOf-composition/apis/DefaultApi.ts index 50216e7be70..bf09b2b3499 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/apis/DefaultApi.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/apis/DefaultApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/others/typescript-rxjs/allOf-composition/models/Hero.ts b/samples/client/others/typescript-rxjs/allOf-composition/models/Hero.ts index 98c39a6ecd6..1de11a78177 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/models/Hero.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/models/Hero.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Hero * @export diff --git a/samples/client/others/typescript-rxjs/allOf-composition/models/Human.ts b/samples/client/others/typescript-rxjs/allOf-composition/models/Human.ts index 2122f4c7a13..43449524156 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/models/Human.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/models/Human.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Human * @export diff --git a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBaby.ts b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBaby.ts index 34e768bf77e..6752d32dedc 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBaby.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBaby.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Human, } from './'; diff --git a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBoy.ts b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBoy.ts index 8d648c02f4c..99b9e89896e 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBoy.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperBoy.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Human, } from './'; diff --git a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperMan.ts b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperMan.ts index f66efcce6af..4d8c61ea82b 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/models/SuperMan.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/models/SuperMan.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Hero, Human, diff --git a/samples/client/others/typescript-rxjs/allOf-composition/runtime.ts b/samples/client/others/typescript-rxjs/allOf-composition/runtime.ts index 64b0b2b4ad4..ea971a27453 100644 --- a/samples/client/others/typescript-rxjs/allOf-composition/runtime.ts +++ b/samples/client/others/typescript-rxjs/allOf-composition/runtime.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { of } from 'rxjs'; import type { Observable } from 'rxjs'; import { ajax } from 'rxjs/ajax'; diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASOrder.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASOrder.cls index 641462b2e6c..bbf730d7ed2 100644 --- a/samples/client/petstore/apex/force-app/main/default/classes/OASOrder.cls +++ b/samples/client/petstore/apex/force-app/main/default/classes/OASOrder.cls @@ -46,7 +46,6 @@ public class OASOrder { APPROVED, DELIVERED } - /** * Order Status * @return status diff --git a/samples/client/petstore/apex/force-app/main/default/classes/OASPet.cls b/samples/client/petstore/apex/force-app/main/default/classes/OASPet.cls index b9794447897..0d6b3a02d6f 100644 --- a/samples/client/petstore/apex/force-app/main/default/classes/OASPet.cls +++ b/samples/client/petstore/apex/force-app/main/default/classes/OASPet.cls @@ -52,7 +52,6 @@ public class OASPet { PENDING, SOLD } - /** * pet status in the store * @return status diff --git a/samples/client/petstore/crystal/src/petstore/models/another_property_name_mapping.cr b/samples/client/petstore/crystal/src/petstore/models/another_property_name_mapping.cr index a95e2c312f8..368d209bb3d 100644 --- a/samples/client/petstore/crystal/src/petstore/models/another_property_name_mapping.cr +++ b/samples/client/petstore/crystal/src/petstore/models/another_property_name_mapping.cr @@ -187,7 +187,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/api_response.cr b/samples/client/petstore/crystal/src/petstore/models/api_response.cr index 5bf7e9b38a8..def54c3d784 100644 --- a/samples/client/petstore/crystal/src/petstore/models/api_response.cr +++ b/samples/client/petstore/crystal/src/petstore/models/api_response.cr @@ -184,7 +184,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/category.cr b/samples/client/petstore/crystal/src/petstore/models/category.cr index 7b98fe879d2..0f5bb91f9d5 100644 --- a/samples/client/petstore/crystal/src/petstore/models/category.cr +++ b/samples/client/petstore/crystal/src/petstore/models/category.cr @@ -197,7 +197,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/format_test.cr b/samples/client/petstore/crystal/src/petstore/models/format_test.cr index 4789e105239..81dd69ddece 100644 --- a/samples/client/petstore/crystal/src/petstore/models/format_test.cr +++ b/samples/client/petstore/crystal/src/petstore/models/format_test.cr @@ -433,7 +433,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/order.cr b/samples/client/petstore/crystal/src/petstore/models/order.cr index ff8688ffe31..c5bf9c45c41 100644 --- a/samples/client/petstore/crystal/src/petstore/models/order.cr +++ b/samples/client/petstore/crystal/src/petstore/models/order.cr @@ -232,7 +232,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/pet.cr b/samples/client/petstore/crystal/src/petstore/models/pet.cr index a61796119ca..c6d3cb81865 100644 --- a/samples/client/petstore/crystal/src/petstore/models/pet.cr +++ b/samples/client/petstore/crystal/src/petstore/models/pet.cr @@ -233,7 +233,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/tag.cr b/samples/client/petstore/crystal/src/petstore/models/tag.cr index 0aee24114a5..d0a9a896ec4 100644 --- a/samples/client/petstore/crystal/src/petstore/models/tag.cr +++ b/samples/client/petstore/crystal/src/petstore/models/tag.cr @@ -180,7 +180,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/crystal/src/petstore/models/user.cr b/samples/client/petstore/crystal/src/petstore/models/user.cr index 67fbf89356d..48f289cccb1 100644 --- a/samples/client/petstore/crystal/src/petstore/models/user.cr +++ b/samples/client/petstore/crystal/src/petstore/models/user.cr @@ -205,7 +205,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs index e9013f0ed0d..40c4c74fcb8 100644 --- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs +++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Order.cs @@ -78,7 +78,6 @@ namespace Org.OpenAPITools.Models [EnumMember(Value = "delivered")] DeliveredEnum = 3 } - /// /// Order Status /// diff --git a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs index d5a816cd5ee..9a37e9201bf 100644 --- a/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs +++ b/samples/client/petstore/csharp-functions/src/Org.OpenAPITools/Models/Pet.cs @@ -86,7 +86,6 @@ namespace Org.OpenAPITools.Models [EnumMember(Value = "sold")] SoldEnum = 3 } - /// /// pet status in the store /// diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKEYSApi.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKEYSApi.cs index 01bfb94eced..c8463cbfb55 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKEYSApi.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKEYSApi.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -156,8 +155,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetApiKeysId_1(ref suppressDefaultLog, apiResponseLocalVar, id); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -179,8 +177,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetApiKeysId_1(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, id); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -302,7 +299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKeys0Api.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKeys0Api.cs index 01f8b704639..5c9f48bb79b 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKeys0Api.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/APIKeys0Api.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -156,8 +155,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetApiKeysId_0(ref suppressDefaultLog, apiResponseLocalVar, id); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -179,8 +177,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetApiKeysId_0(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, id); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -302,7 +299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/ApiKeys1Api.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/ApiKeys1Api.cs index be13fa923c7..dfe401a004e 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/ApiKeys1Api.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Api/ApiKeys1Api.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -156,8 +155,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetApiKeysId(ref suppressDefaultLog, apiResponseLocalVar, id); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -179,8 +177,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetApiKeysId(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, id); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -302,7 +299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiException.cs index 2e24a58ea04..199453bd527 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiException.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiResponse`1.cs index faa5d765bed..388c598d257 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 2e5bda82ea8..b289a379d41 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -27,7 +27,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 0ced717f3e3..cc019e9a885 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -27,7 +27,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index fb959c7d7cc..d5a97ad7c27 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -41,7 +41,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 454404eb886..a4fa97f8864 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -41,7 +41,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/Option.cs index 70193a99d42..492c8129243 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 7537f0872a2..5fd689af787 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 19ecb669108..fcad0b8160f 100644 --- a/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -8,7 +8,6 @@ * Contact: support@files.com * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs index 4e25fbff573..546de37dc3d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -158,8 +157,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterList(ref suppressDefaultLog, apiResponseLocalVar, personId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -181,8 +179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorList(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, personId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -316,9 +313,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Person Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -346,7 +343,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiException.cs index 78fdad8039f..051114c5c25 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 0d99f099669..edc2fc6b750 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index a7f3806b960..d2ac4eec749 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index c818977618f..0b74c2d903f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/Option.cs index 0b113d11177..70967c615a5 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 53ad628a9a3..db4b3209d70 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index ed829aca772..a7f2e8229bc 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Adult.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Adult.cs index 3cdde4b29d9..212edbb1f3b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Adult.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Adult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,7 +77,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -193,13 +191,11 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("children"); JsonSerializer.Serialize(writer, adult.Children, jsonSerializerOptions); } - if (adult.FirstNameOption.IsSet) - writer.WriteString("firstName", adult.FirstName); - - if (adult.LastNameOption.IsSet) - writer.WriteString("lastName", adult.LastName); - - writer.WriteString("$_type", adult.Type); + if (adult.FirstNameOption.IsSet) + writer.WriteString("firstName", adult.FirstName); + if (adult.LastNameOption.IsSet) + writer.WriteString("lastName", adult.LastName); + writer.WriteString("$_type", adult.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Child.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Child.cs index 7f96dcd8b66..497d3534e43 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Child.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Child.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -94,7 +93,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -209,19 +207,16 @@ namespace Org.OpenAPITools.Model if (child.LastNameOption.IsSet && child.LastName == null) throw new ArgumentNullException(nameof(child.LastName), "Property is required for class Child."); - if (child.AgeOption.IsSet) - writer.WriteNumber("age", child.AgeOption.Value.Value); + if (child.AgeOption.IsSet) + writer.WriteNumber("age", child.AgeOption.Value.Value); + if (child.FirstNameOption.IsSet) + writer.WriteString("firstName", child.FirstName); + if (child.LastNameOption.IsSet) + writer.WriteString("lastName", child.LastName); + writer.WriteString("$_type", child.Type); - if (child.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); - - if (child.BoosterSeatOption.IsSet) - writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value.Value); + if (child.BoosterSeatOption.IsSet) + writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Person.cs b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Person.cs index 6c9261c9879..88f0894aa66 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Person.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Model/Person.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,9 +115,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,13 +232,11 @@ namespace Org.OpenAPITools.Model if (person.LastNameOption.IsSet && person.LastName == null) throw new ArgumentNullException(nameof(person.LastName), "Property is required for class Person."); - if (person.FirstNameOption.IsSet) - writer.WriteString("firstName", person.FirstName); - - if (person.LastNameOption.IsSet) - writer.WriteString("lastName", person.LastName); - - writer.WriteString("$_type", person.Type); + if (person.FirstNameOption.IsSet) + writer.WriteString("firstName", person.FirstName); + if (person.LastNameOption.IsSet) + writer.WriteString("lastName", person.LastName); + writer.WriteString("$_type", person.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Apple.cs index 7867e664541..263bf9b911e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Banana.cs index 15899a012af..5cd766ff985 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs index cd1e938ffb3..be08e3b49df 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -110,9 +109,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,8 +232,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs index 70534c23212..321baaa577d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -82,9 +81,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs index bdb8dcaba25..6171c154f3e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -82,9 +81,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,8 +161,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs index de8c3fcf7b7..853771b26ad 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,9 +108,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,8 +231,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 1fd1ffef4fe..0b7550d442f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -363,9 +360,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs index 879c3ecdb9a..1f358e75458 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -539,9 +536,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -569,7 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -598,8 +595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -621,8 +617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -764,7 +759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -779,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -800,8 +794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -927,9 +920,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -972,8 +965,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -993,8 +985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1120,9 +1111,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1150,7 +1141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1165,8 +1156,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1186,8 +1176,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1313,9 +1302,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1343,7 +1332,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs index 38f93620766..f0973138ec4 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1448,9 +1445,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1478,7 +1475,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1496,8 +1493,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1519,8 +1515,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1665,9 +1660,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1724,8 +1719,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1747,8 +1741,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1895,9 +1888,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1943,8 +1936,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1966,8 +1958,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2112,9 +2103,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2172,8 +2163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2197,8 +2187,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2354,9 +2343,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2399,8 +2388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2420,8 +2408,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2547,9 +2534,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2577,7 +2564,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2592,8 +2579,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2613,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2740,9 +2725,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2770,7 +2755,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2785,8 +2770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2806,8 +2790,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2933,9 +2916,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2963,7 +2946,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2992,8 +2975,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3015,8 +2997,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3152,7 +3133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3181,8 +3162,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3204,8 +3184,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3341,7 +3320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3375,8 +3354,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3400,8 +3378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3546,7 +3523,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3575,8 +3552,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3598,8 +3574,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3745,9 +3720,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -3775,7 +3750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3837,8 +3812,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3886,8 +3860,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4121,7 +4094,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4165,8 +4138,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4202,8 +4174,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4396,7 +4367,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4419,8 +4390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4452,8 +4422,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4617,7 +4586,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4646,8 +4615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4669,8 +4637,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4806,7 +4773,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4835,8 +4802,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4858,8 +4824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4995,7 +4960,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5029,8 +4994,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5054,8 +5018,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5202,7 +5165,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5263,8 +5226,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5302,8 +5264,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5467,7 +5428,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5496,8 +5457,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5519,8 +5479,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5656,7 +5615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 010a227c8b2..e40c81e0747 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -376,9 +373,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -406,7 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/PetApi.cs index 6f1add61539..d708463d997 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1075,7 +1070,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1104,8 +1099,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1127,8 +1121,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1289,9 +1282,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1351,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1565,9 +1556,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1601,7 +1592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1619,8 +1610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1642,8 +1632,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1793,9 +1782,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1835,7 +1824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1864,8 +1853,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1887,8 +1875,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2058,7 +2045,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2093,8 +2080,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2120,8 +2106,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2283,7 +2268,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2318,8 +2303,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2345,8 +2329,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2518,9 +2501,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2548,7 +2531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2583,8 +2566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2610,8 +2592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2783,9 +2764,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs index 2cb0523731c..65361e00fea 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -533,7 +530,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -548,8 +545,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -569,8 +565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -705,9 +700,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -735,7 +730,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -753,8 +748,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -776,8 +770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -910,9 +903,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -952,7 +945,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -981,8 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1004,8 +996,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1152,9 +1143,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1188,7 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/UserApi.cs index 46a87aed2c0..3f5816f3c7b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -622,8 +621,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -645,8 +643,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -782,7 +779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -811,8 +808,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -834,8 +830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -971,7 +966,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1000,8 +995,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1023,8 +1017,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1160,7 +1153,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1189,8 +1182,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1212,8 +1204,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1342,7 +1333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1371,8 +1362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1394,8 +1384,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1530,9 +1519,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1586,9 +1575,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1616,7 +1605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1650,8 +1639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1675,8 +1663,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1820,9 +1807,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1856,7 +1843,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1871,8 +1858,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1892,8 +1878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2008,7 +1993,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2042,8 +2027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2067,8 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2214,7 +2197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 416f7a04e3d..364befb0206 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 973f9e9d4e8..218395c8830 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index b491c61f07f..6817e3c3927 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 5c4159491ee..f58b4501c67 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 534f27a8cc5..1b233732bfc 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Activity.cs index a5e4bd35e9b..58d445021e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index d7b4374e6a7..cf96397d517 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index ec17222fbc8..9eef9e63b10 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Animal.cs index 74cb14f52d9..c574d5a2ea6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs index 77ec0bd5ed2..3b312a560cb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Apple.cs index df3bc9af06c..9fda4189530 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs index 1cc72ecd59d..44bf8667e20 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d2398a452ee..f00c246ac84 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cce8d5d564b..073503dca9e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs index 3fbc72e2f5a..30a9fd8381d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Banana.cs index d92ba4ae6ae..2a87cf4680b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs index c9734cbe380..f3366e53886 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs index a1fb0b3eb57..55c4682af23 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Cat.cs index 0ffe1228015..dc43e6dd6cd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Category.cs index f483d87f36c..4bf85931618 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs index 8d76e5b9a7c..bd1d1a7976c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,7 +75,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("pet_type", ChildCatAllOfPetTypeValueConverter.ToJsonValue(childCat.PetType)); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs index 9e8bc253fdb..21f91ce0dd4 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs index 7c49d7adb55..cb921fcaf86 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1c478cf336d..eb80cbda5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 08067c5cc07..ab41548c768 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Dog.cs index 605dc512434..486f9de7413 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Drawing.cs index a853b96144e..d0abaf05c05 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs index 6520bebabc0..0e8a2f08a7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs index c620b7197c4..a400e7a5e60 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs index 4a414d11d0d..9fdae014962 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs index cb22e561fea..bb7ca09ead8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -204,9 +203,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs index 3a1302bf271..549f50903ee 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs index cd0add6cf3c..19db7af3bb0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs index adad28355b7..307c5035bc7 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/File.cs index 092f10c0932..9d2bdcce286 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index f9d9d9f7a7b..6e1c51ef8b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs index da357d93dd2..e02997cbefd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Foo.cs index 3eeca0aa211..d82c3b21439 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index c7d04366611..274ef7b4267 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs index 86d63c7ac5f..285c83264ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Fruit.cs index cc8b4530f01..f1ec3159ed1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs index 78cb87b61a3..5b356ea284f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 16afc025fa0..e1e0d40f4ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/List.cs index 050d58f85c2..7dcc77628b9 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 522ba51e6cb..fa3c03f346f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTest.cs index 120a8fb0dd5..b0e44363fdd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs index 441ea5dcb7d..6c9c1eecc95 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs index d18711f5103..31dd097161f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs index c81de3d2f67..7e50c69e51b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 5de026753ef..2416a236128 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs index 32515bc0440..a4467dcf5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 3cef3330300..a0b39c8f722 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs index 34198e6f437..03d7fe50ba8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs index bf37307ad96..63f3b46af6e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs index 5d459e8b5eb..a1162409132 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Name.cs index b322aaf568c..2348f9b6ea3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs index 42533f9c7eb..5be040369fd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 286d13258dc..f4dcb87a774 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs index 29f5a80e646..abd2ee91e7e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 83f513bc63b..a81386ab9db 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Order.cs index 3dbb629ecf9..fadca2c0670 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - if (order.StatusOption.IsSet) + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + if (order.StatusOption.IsSet) { var statusRawValue = OrderStatusValueConverter.ToJsonValue(order.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs index 6566ca4aa56..cb3a96c98c6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs index 92ec1939d1a..2cbec554f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pet.cs index e4049df78c0..e8649965341 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -150,9 +149,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - if (pet.StatusOption.IsSet) + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + if (pet.StatusOption.IsSet) { var statusRawValue = PetStatusValueConverter.ToJsonValue(pet.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs index 9e19b612bf9..80e8237afa9 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a7cd43316ac..2f95cf4e946 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs index 4eb4f6acc58..422ccd7db4b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -621,9 +620,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); writer.WriteNumber("required_notnullable_enum_integer", requiredNotnullableEnumIntegerRawValue); var requiredNotnullableEnumIntegerOnlyRawValue = RequiredClassRequiredNotnullableEnumIntegerOnlyValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly); @@ -1131,42 +1125,33 @@ namespace Org.OpenAPITools.Model var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) { var notrequiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableEnumInteger.Value); writer.WriteNumber("notrequired_notnullable_enum_integer", notrequiredNotnullableEnumIntegerRawValue); @@ -1186,13 +1171,11 @@ namespace Org.OpenAPITools.Model var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -1200,19 +1183,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) { var notrequiredNullableEnumIntegerRawValue = RequiredClassRequiredNullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value); @@ -1244,19 +1225,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -1264,21 +1243,18 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger == null) + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger == null) writer.WriteNull("required_nullable_enum_integer"); else { @@ -1306,11 +1282,10 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -1322,14 +1297,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs index 04988ef3ee9..5a88e78a43d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs index 775aba4f6af..aa2ab4bd895 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs index 5b4f29294ac..5d7b5f2e72b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs index 365504a241b..413ba5f0353 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs index 4c5f2c56ba5..8a9e8944305 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs index 36bcb148131..9e1a16e28b4 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Return.cs index 6a2c4c85eb4..031648b131a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 46625cb093a..3505a0f0ecf 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 29c8760c972..8b7c60dbfd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs index 7ec3c110c2a..c6abc777133 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Tag.cs index 4290e8270ff..04370428772 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 11d1cd5963c..e51918c7a30 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 04d04337aa4..4743b09271d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs index ccb446b0250..b0d3189ca1e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs index ec14b39944d..47602a4ec2a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs index 33ff2ce2cc2..3270c9d4cca 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs index d86b48d4a9b..2a92b6fa5b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs index 4f1c9c53c60..cc15199cd7f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 33f5183651a..13c411093c3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/User.cs index e89d5845732..f92a3edc061 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Whale.cs index 834e6957c67..156753c7251 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Zebra.cs index 0b9bb3c3bc5..755bd2d5bfa 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - if (zebra.TypeOption.IsSet) + writer.WriteString("className", zebra.ClassName); + if (zebra.TypeOption.IsSet) { var typeRawValue = ZebraTypeValueConverter.ToJsonValue(zebra.Type.Value); writer.WriteString("type", typeRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs index 4a54f2a265a..18ee3f6629b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index d538b722cae..0b47e8dbb78 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs index 2b062a550ab..44b4495cdd2 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Apple.cs index 7867e664541..263bf9b911e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Banana.cs index 15899a012af..5cd766ff985 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Fruit.cs index 1d1c7c5388c..7c048dcc1c2 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/OneOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -106,9 +105,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,8 +215,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 1fd1ffef4fe..0b7550d442f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -363,9 +360,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs index 879c3ecdb9a..1f358e75458 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -539,9 +536,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -569,7 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -598,8 +595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -621,8 +617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -764,7 +759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -779,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -800,8 +794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -927,9 +920,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -972,8 +965,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -993,8 +985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1120,9 +1111,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1150,7 +1141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1165,8 +1156,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1186,8 +1176,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1313,9 +1302,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1343,7 +1332,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs index b3b0cf5352f..4716b57d5b8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1448,9 +1445,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1478,7 +1475,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1496,8 +1493,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1519,8 +1515,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1665,9 +1660,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1724,8 +1719,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1747,8 +1741,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1895,9 +1888,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1943,8 +1936,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1966,8 +1958,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2112,9 +2103,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2172,8 +2163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2197,8 +2187,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2354,9 +2343,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2399,8 +2388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2420,8 +2408,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2547,9 +2534,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2577,7 +2564,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2592,8 +2579,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2613,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2740,9 +2725,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2770,7 +2755,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2785,8 +2770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2806,8 +2790,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2933,9 +2916,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2963,7 +2946,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2992,8 +2975,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3015,8 +2997,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3152,7 +3133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3181,8 +3162,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3204,8 +3184,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3341,7 +3320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3375,8 +3354,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3400,8 +3378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3546,7 +3523,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3575,8 +3552,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3598,8 +3574,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3745,9 +3720,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -3775,7 +3750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3837,8 +3812,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3886,8 +3860,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4121,7 +4094,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4177,8 +4150,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4214,8 +4186,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4408,7 +4379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4431,8 +4402,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4464,8 +4434,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4629,7 +4598,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4658,8 +4627,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4681,8 +4649,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4818,7 +4785,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4847,8 +4814,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4870,8 +4836,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5007,7 +4972,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5041,8 +5006,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5066,8 +5030,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5214,7 +5177,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5275,8 +5238,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5314,8 +5276,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5479,7 +5440,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5508,8 +5469,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5531,8 +5491,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5668,7 +5627,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 010a227c8b2..e40c81e0747 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -376,9 +373,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -406,7 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/PetApi.cs index e86b5564713..e74582c1039 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1075,7 +1070,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1104,8 +1099,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1127,8 +1121,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1289,9 +1282,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1351,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1565,9 +1556,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1601,7 +1592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1619,8 +1610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1642,8 +1632,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1793,9 +1782,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1835,7 +1824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1864,8 +1853,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1887,8 +1875,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2058,7 +2045,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2093,8 +2080,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2120,8 +2106,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2283,7 +2268,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2318,8 +2303,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2345,8 +2329,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2518,9 +2501,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2548,7 +2531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2583,8 +2566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2610,8 +2592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2783,9 +2764,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs index 2cb0523731c..65361e00fea 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -533,7 +530,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -548,8 +545,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -569,8 +565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -705,9 +700,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -735,7 +730,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -753,8 +748,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -776,8 +770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -910,9 +903,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -952,7 +945,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -981,8 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1004,8 +996,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1152,9 +1143,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1188,7 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/UserApi.cs index 46a87aed2c0..3f5816f3c7b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -622,8 +621,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -645,8 +643,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -782,7 +779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -811,8 +808,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -834,8 +830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -971,7 +966,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1000,8 +995,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1023,8 +1017,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1160,7 +1153,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1189,8 +1182,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1212,8 +1204,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1342,7 +1333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1371,8 +1362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1394,8 +1384,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1530,9 +1519,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1586,9 +1575,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1616,7 +1605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1650,8 +1639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1675,8 +1663,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1820,9 +1807,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1856,7 +1843,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1871,8 +1858,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1892,8 +1878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2008,7 +1993,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2042,8 +2027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2067,8 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2214,7 +2197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 416f7a04e3d..364befb0206 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 973f9e9d4e8..218395c8830 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index b491c61f07f..6817e3c3927 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 5c4159491ee..f58b4501c67 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 534f27a8cc5..1b233732bfc 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs index a5e4bd35e9b..58d445021e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index d7b4374e6a7..cf96397d517 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index ec17222fbc8..9eef9e63b10 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 74cb14f52d9..c574d5a2ea6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index 77ec0bd5ed2..3b312a560cb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs index df3bc9af06c..9fda4189530 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 1cc72ecd59d..44bf8667e20 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d2398a452ee..f00c246ac84 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cce8d5d564b..073503dca9e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 3fbc72e2f5a..30a9fd8381d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs index d92ba4ae6ae..2a87cf4680b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index c9734cbe380..f3366e53886 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index a1fb0b3eb57..55c4682af23 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs index 0ffe1228015..dc43e6dd6cd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs index f483d87f36c..4bf85931618 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 2eb5dd8dc35..6027bde8f37 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -93,7 +92,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7c49d7adb55..cb921fcaf86 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1c478cf336d..eb80cbda5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 08067c5cc07..ab41548c768 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 605dc512434..486f9de7413 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index a853b96144e..d0abaf05c05 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index b6716a58e53..23f818fe472 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,7 +108,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 08e96129872..9970b90fe0b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -207,7 +206,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption.Value != null) diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs index 092f10c0932..9d2bdcce286 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index f9d9d9f7a7b..6e1c51ef8b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3eeca0aa211..d82c3b21439 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index c7d04366611..274ef7b4267 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index 86d63c7ac5f..285c83264ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Fruit.cs index cc8b4530f01..f1ec3159ed1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs index 78cb87b61a3..5b356ea284f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 16afc025fa0..e1e0d40f4ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs index 050d58f85c2..7dcc77628b9 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 522ba51e6cb..fa3c03f346f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 97588d56888..f6e951e924e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,7 +112,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index d18711f5103..31dd097161f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index c81de3d2f67..7e50c69e51b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 5de026753ef..2416a236128 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 32515bc0440..a4467dcf5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 3cef3330300..a0b39c8f722 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 34198e6f437..03d7fe50ba8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index bf37307ad96..63f3b46af6e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 5d459e8b5eb..a1162409132 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs index b322aaf568c..2348f9b6ea3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 42533f9c7eb..5be040369fd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 286d13258dc..f4dcb87a774 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 29f5a80e646..abd2ee91e7e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 83f513bc63b..a81386ab9db 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs index 580ef432ecf..ce567c49227 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 92ec1939d1a..2cbec554f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 81d80e33de7..73b618198e7 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a7cd43316ac..2f95cf4e946 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 0990c0ab7a4..81d8bab84e7 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -186,7 +185,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2260,31 +2227,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2298,19 +2261,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2318,42 +2279,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2365,14 +2320,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs index 6a2c4c85eb4..031648b131a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 46625cb093a..3505a0f0ecf 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 29c8760c972..8b7c60dbfd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 7ec3c110c2a..c6abc777133 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 4290e8270ff..04370428772 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 11d1cd5963c..e51918c7a30 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 04d04337aa4..4743b09271d 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 33f5183651a..13c411093c3 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs index e89d5845732..f92a3edc061 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 834e6957c67..156753c7251 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index bdf48981527..798ed23c9b1 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -123,7 +122,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); writer.WriteString("type", typeRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index a6d408aeecc..ea1af5c7ee4 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -107,7 +106,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs index 1662385fe8f..7e03dff8740 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterNowGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorNowGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NowGet200Response Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs index cf39d3c11d7..2489028b042 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs index fe5b2fe67aa..3371a880a41 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 52e971d082a..48937d5478e 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 968d29161b1..84d3f229312 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs index 2b34371084b..4a8753660d6 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index cddb8405886..70e61323455 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 069d5230868..633c345decd 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs index 504c2976b3f..a86ce711c8c 100644 --- a/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -91,9 +90,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NowGet200Response nowGet200Response, JsonSerializerOptions jsonSerializerOptions) { - if (nowGet200Response.NowOption.IsSet) - writer.WriteString("now", nowGet200Response.NowOption.Value.Value.ToString(NowFormat)); - - if (nowGet200Response.TodayOption.IsSet) - writer.WriteString("today", nowGet200Response.TodayOption.Value.Value.ToString(TodayFormat)); + if (nowGet200Response.NowOption.IsSet) + writer.WriteString("now", nowGet200Response.NowOption.Value.Value.ToString(NowFormat)); + if (nowGet200Response.TodayOption.IsSet) + writer.WriteString("today", nowGet200Response.TodayOption.Value.Value.ToString(TodayFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs index 4e25fbff573..546de37dc3d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -158,8 +157,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterList(ref suppressDefaultLog, apiResponseLocalVar, personId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -181,8 +179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorList(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, personId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -316,9 +313,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Person Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -346,7 +343,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs index 78fdad8039f..051114c5c25 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 0d99f099669..edc2fc6b750 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index a7f3806b960..d2ac4eec749 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index c818977618f..0b74c2d903f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/Option.cs index 0b113d11177..70967c615a5 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 53ad628a9a3..db4b3209d70 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index ed829aca772..a7f2e8229bc 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Adult.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Adult.cs index 3cdde4b29d9..212edbb1f3b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Adult.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Adult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,7 +77,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -193,13 +191,11 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("children"); JsonSerializer.Serialize(writer, adult.Children, jsonSerializerOptions); } - if (adult.FirstNameOption.IsSet) - writer.WriteString("firstName", adult.FirstName); - - if (adult.LastNameOption.IsSet) - writer.WriteString("lastName", adult.LastName); - - writer.WriteString("$_type", adult.Type); + if (adult.FirstNameOption.IsSet) + writer.WriteString("firstName", adult.FirstName); + if (adult.LastNameOption.IsSet) + writer.WriteString("lastName", adult.LastName); + writer.WriteString("$_type", adult.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Child.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Child.cs index 7f96dcd8b66..497d3534e43 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Child.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Child.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -94,7 +93,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -209,19 +207,16 @@ namespace Org.OpenAPITools.Model if (child.LastNameOption.IsSet && child.LastName == null) throw new ArgumentNullException(nameof(child.LastName), "Property is required for class Child."); - if (child.AgeOption.IsSet) - writer.WriteNumber("age", child.AgeOption.Value.Value); + if (child.AgeOption.IsSet) + writer.WriteNumber("age", child.AgeOption.Value.Value); + if (child.FirstNameOption.IsSet) + writer.WriteString("firstName", child.FirstName); + if (child.LastNameOption.IsSet) + writer.WriteString("lastName", child.LastName); + writer.WriteString("$_type", child.Type); - if (child.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); - - if (child.BoosterSeatOption.IsSet) - writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value.Value); + if (child.BoosterSeatOption.IsSet) + writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Person.cs b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Person.cs index 6c9261c9879..88f0894aa66 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Person.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AllOf/src/Org.OpenAPITools/Model/Person.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,9 +115,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,13 +232,11 @@ namespace Org.OpenAPITools.Model if (person.LastNameOption.IsSet && person.LastName == null) throw new ArgumentNullException(nameof(person.LastName), "Property is required for class Person."); - if (person.FirstNameOption.IsSet) - writer.WriteString("firstName", person.FirstName); - - if (person.LastNameOption.IsSet) - writer.WriteString("lastName", person.LastName); - - writer.WriteString("$_type", person.Type); + if (person.FirstNameOption.IsSet) + writer.WriteString("firstName", person.FirstName); + if (person.LastNameOption.IsSet) + writer.WriteString("lastName", person.LastName); + writer.WriteString("$_type", person.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs index 7867e664541..263bf9b911e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs index 15899a012af..5cd766ff985 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs index cd1e938ffb3..be08e3b49df 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -110,9 +109,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,8 +232,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs index 70534c23212..321baaa577d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -82,9 +81,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs index bdb8dcaba25..6171c154f3e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -82,9 +81,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,8 +161,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs index de8c3fcf7b7..853771b26ad 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,9 +108,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,8 +231,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 1fd1ffef4fe..0b7550d442f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -363,9 +360,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs index 879c3ecdb9a..1f358e75458 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -539,9 +536,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -569,7 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -598,8 +595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -621,8 +617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -764,7 +759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -779,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -800,8 +794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -927,9 +920,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -972,8 +965,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -993,8 +985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1120,9 +1111,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1150,7 +1141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1165,8 +1156,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1186,8 +1176,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1313,9 +1302,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1343,7 +1332,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs index 38f93620766..f0973138ec4 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1448,9 +1445,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1478,7 +1475,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1496,8 +1493,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1519,8 +1515,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1665,9 +1660,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1724,8 +1719,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1747,8 +1741,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1895,9 +1888,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1943,8 +1936,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1966,8 +1958,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2112,9 +2103,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2172,8 +2163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2197,8 +2187,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2354,9 +2343,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2399,8 +2388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2420,8 +2408,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2547,9 +2534,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2577,7 +2564,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2592,8 +2579,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2613,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2740,9 +2725,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2770,7 +2755,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2785,8 +2770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2806,8 +2790,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2933,9 +2916,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2963,7 +2946,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2992,8 +2975,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3015,8 +2997,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3152,7 +3133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3181,8 +3162,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3204,8 +3184,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3341,7 +3320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3375,8 +3354,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3400,8 +3378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3546,7 +3523,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3575,8 +3552,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3598,8 +3574,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3745,9 +3720,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -3775,7 +3750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3837,8 +3812,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3886,8 +3860,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4121,7 +4094,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4165,8 +4138,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4202,8 +4174,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4396,7 +4367,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4419,8 +4390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4452,8 +4422,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4617,7 +4586,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4646,8 +4615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4669,8 +4637,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4806,7 +4773,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4835,8 +4802,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4858,8 +4824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4995,7 +4960,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5029,8 +4994,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5054,8 +5018,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5202,7 +5165,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5263,8 +5226,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5302,8 +5264,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5467,7 +5428,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5496,8 +5457,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5519,8 +5479,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5656,7 +5615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 010a227c8b2..e40c81e0747 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -376,9 +373,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -406,7 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs index 6f1add61539..d708463d997 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1075,7 +1070,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1104,8 +1099,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1127,8 +1121,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1289,9 +1282,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1351,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1565,9 +1556,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1601,7 +1592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1619,8 +1610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1642,8 +1632,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1793,9 +1782,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1835,7 +1824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1864,8 +1853,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1887,8 +1875,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2058,7 +2045,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2093,8 +2080,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2120,8 +2106,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2283,7 +2268,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2318,8 +2303,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2345,8 +2329,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2518,9 +2501,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2548,7 +2531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2583,8 +2566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2610,8 +2592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2783,9 +2764,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs index 2cb0523731c..65361e00fea 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -533,7 +530,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -548,8 +545,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -569,8 +565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -705,9 +700,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -735,7 +730,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -753,8 +748,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -776,8 +770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -910,9 +903,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -952,7 +945,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -981,8 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1004,8 +996,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1152,9 +1143,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1188,7 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs index 46a87aed2c0..3f5816f3c7b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -622,8 +621,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -645,8 +643,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -782,7 +779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -811,8 +808,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -834,8 +830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -971,7 +966,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1000,8 +995,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1023,8 +1017,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1160,7 +1153,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1189,8 +1182,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1212,8 +1204,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1342,7 +1333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1371,8 +1362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1394,8 +1384,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1530,9 +1519,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1586,9 +1575,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1616,7 +1605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1650,8 +1639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1675,8 +1663,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1820,9 +1807,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1856,7 +1843,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1871,8 +1858,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1892,8 +1878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2008,7 +1993,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2042,8 +2027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2067,8 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2214,7 +2197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 416f7a04e3d..364befb0206 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 973f9e9d4e8..218395c8830 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index b491c61f07f..6817e3c3927 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 5c4159491ee..f58b4501c67 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 534f27a8cc5..1b233732bfc 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Activity.cs index a5e4bd35e9b..58d445021e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index d7b4374e6a7..cf96397d517 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index ec17222fbc8..9eef9e63b10 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Animal.cs index 74cb14f52d9..c574d5a2ea6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs index 77ec0bd5ed2..3b312a560cb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Apple.cs index df3bc9af06c..9fda4189530 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs index 1cc72ecd59d..44bf8667e20 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d2398a452ee..f00c246ac84 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cce8d5d564b..073503dca9e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs index 3fbc72e2f5a..30a9fd8381d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Banana.cs index d92ba4ae6ae..2a87cf4680b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs index c9734cbe380..f3366e53886 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs index a1fb0b3eb57..55c4682af23 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Cat.cs index 0ffe1228015..dc43e6dd6cd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Category.cs index f483d87f36c..4bf85931618 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs index 8d76e5b9a7c..bd1d1a7976c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,7 +75,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("pet_type", ChildCatAllOfPetTypeValueConverter.ToJsonValue(childCat.PetType)); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs index 9e8bc253fdb..21f91ce0dd4 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs index 7c49d7adb55..cb921fcaf86 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1c478cf336d..eb80cbda5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 08067c5cc07..ab41548c768 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Dog.cs index 605dc512434..486f9de7413 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs index a853b96144e..d0abaf05c05 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs index 6520bebabc0..0e8a2f08a7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs index c620b7197c4..a400e7a5e60 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs index 4a414d11d0d..9fdae014962 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs index cb22e561fea..bb7ca09ead8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -204,9 +203,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs index 3a1302bf271..549f50903ee 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs index cd0add6cf3c..19db7af3bb0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs index adad28355b7..307c5035bc7 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/File.cs index 092f10c0932..9d2bdcce286 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index f9d9d9f7a7b..6e1c51ef8b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs index da357d93dd2..e02997cbefd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Foo.cs index 3eeca0aa211..d82c3b21439 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index c7d04366611..274ef7b4267 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs index 86d63c7ac5f..285c83264ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs index cc8b4530f01..f1ec3159ed1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs index 78cb87b61a3..5b356ea284f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 16afc025fa0..e1e0d40f4ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/List.cs index 050d58f85c2..7dcc77628b9 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 522ba51e6cb..fa3c03f346f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs index 120a8fb0dd5..b0e44363fdd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs index 441ea5dcb7d..6c9c1eecc95 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs index d18711f5103..31dd097161f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs index c81de3d2f67..7e50c69e51b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 5de026753ef..2416a236128 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs index 32515bc0440..a4467dcf5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 3cef3330300..a0b39c8f722 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs index 34198e6f437..03d7fe50ba8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs index bf37307ad96..63f3b46af6e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs index 5d459e8b5eb..a1162409132 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Name.cs index b322aaf568c..2348f9b6ea3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs index 42533f9c7eb..5be040369fd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 286d13258dc..f4dcb87a774 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs index 29f5a80e646..abd2ee91e7e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 83f513bc63b..a81386ab9db 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Order.cs index 3dbb629ecf9..fadca2c0670 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - if (order.StatusOption.IsSet) + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + if (order.StatusOption.IsSet) { var statusRawValue = OrderStatusValueConverter.ToJsonValue(order.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs index 6566ca4aa56..cb3a96c98c6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs index 92ec1939d1a..2cbec554f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pet.cs index e4049df78c0..e8649965341 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -150,9 +149,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - if (pet.StatusOption.IsSet) + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + if (pet.StatusOption.IsSet) { var statusRawValue = PetStatusValueConverter.ToJsonValue(pet.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs index 9e19b612bf9..80e8237afa9 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a7cd43316ac..2f95cf4e946 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs index 4eb4f6acc58..422ccd7db4b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -621,9 +620,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); writer.WriteNumber("required_notnullable_enum_integer", requiredNotnullableEnumIntegerRawValue); var requiredNotnullableEnumIntegerOnlyRawValue = RequiredClassRequiredNotnullableEnumIntegerOnlyValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly); @@ -1131,42 +1125,33 @@ namespace Org.OpenAPITools.Model var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) { var notrequiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableEnumInteger.Value); writer.WriteNumber("notrequired_notnullable_enum_integer", notrequiredNotnullableEnumIntegerRawValue); @@ -1186,13 +1171,11 @@ namespace Org.OpenAPITools.Model var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -1200,19 +1183,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) { var notrequiredNullableEnumIntegerRawValue = RequiredClassRequiredNullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value); @@ -1244,19 +1225,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -1264,21 +1243,18 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger == null) + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger == null) writer.WriteNull("required_nullable_enum_integer"); else { @@ -1306,11 +1282,10 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -1322,14 +1297,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs index 04988ef3ee9..5a88e78a43d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs index 775aba4f6af..aa2ab4bd895 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs index 5b4f29294ac..5d7b5f2e72b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs index 365504a241b..413ba5f0353 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs index 4c5f2c56ba5..8a9e8944305 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs index 36bcb148131..9e1a16e28b4 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Return.cs index 6a2c4c85eb4..031648b131a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 46625cb093a..3505a0f0ecf 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 29c8760c972..8b7c60dbfd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs index 7ec3c110c2a..c6abc777133 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Tag.cs index 4290e8270ff..04370428772 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 11d1cd5963c..e51918c7a30 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 04d04337aa4..4743b09271d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs index ccb446b0250..b0d3189ca1e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs index ec14b39944d..47602a4ec2a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs index 33ff2ce2cc2..3270c9d4cca 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs index d86b48d4a9b..2a92b6fa5b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs index 4f1c9c53c60..cc15199cd7f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 33f5183651a..13c411093c3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/User.cs index e89d5845732..f92a3edc061 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Whale.cs index 834e6957c67..156753c7251 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs index 0b9bb3c3bc5..755bd2d5bfa 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - if (zebra.TypeOption.IsSet) + writer.WriteString("className", zebra.ClassName); + if (zebra.TypeOption.IsSet) { var typeRawValue = ZebraTypeValueConverter.ToJsonValue(zebra.Type.Value); writer.WriteString("type", typeRawValue); diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs index 4a54f2a265a..18ee3f6629b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index d538b722cae..0b47e8dbb78 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs index 2b062a550ab..44b4495cdd2 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs index c2a2d862a62..47399531699 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs index 1d43e69742f..b87facb8932 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 96bba846789..99eb4714a50 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 68e90f4ecbb..8b40c1d5460 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 3cb4b6ce51e..b07b11762f6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/Option.cs index 55d56f3f204..9721738eaf3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 8e7bed46e9c..80fcdd367e3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 3924246ab7c..abcc7cbee93 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Apple.cs index 7867e664541..263bf9b911e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Banana.cs index 15899a012af..5cd766ff985 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs index 1d1c7c5388c..7c048dcc1c2 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -106,9 +105,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,8 +215,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 1fd1ffef4fe..0b7550d442f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -363,9 +360,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs index 879c3ecdb9a..1f358e75458 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -539,9 +536,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -569,7 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -598,8 +595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -621,8 +617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -764,7 +759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -779,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -800,8 +794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -927,9 +920,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -972,8 +965,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -993,8 +985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1120,9 +1111,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1150,7 +1141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1165,8 +1156,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1186,8 +1176,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1313,9 +1302,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1343,7 +1332,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs index b3b0cf5352f..4716b57d5b8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1448,9 +1445,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1478,7 +1475,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1496,8 +1493,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1519,8 +1515,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1665,9 +1660,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1724,8 +1719,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1747,8 +1741,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1895,9 +1888,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1943,8 +1936,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1966,8 +1958,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2112,9 +2103,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2172,8 +2163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2197,8 +2187,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2354,9 +2343,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2399,8 +2388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2420,8 +2408,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2547,9 +2534,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2577,7 +2564,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2592,8 +2579,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2613,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2740,9 +2725,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2770,7 +2755,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2785,8 +2770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2806,8 +2790,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2933,9 +2916,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2963,7 +2946,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2992,8 +2975,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3015,8 +2997,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3152,7 +3133,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3181,8 +3162,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3204,8 +3184,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3341,7 +3320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3375,8 +3354,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3400,8 +3378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3546,7 +3523,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3575,8 +3552,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3598,8 +3574,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3745,9 +3720,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -3775,7 +3750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3837,8 +3812,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3886,8 +3860,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4121,7 +4094,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4177,8 +4150,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4214,8 +4186,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4408,7 +4379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4431,8 +4402,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4464,8 +4434,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4629,7 +4598,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4658,8 +4627,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4681,8 +4649,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4818,7 +4785,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4847,8 +4814,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4870,8 +4836,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5007,7 +4972,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5041,8 +5006,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5066,8 +5030,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5214,7 +5177,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5275,8 +5238,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5314,8 +5276,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5479,7 +5440,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5508,8 +5469,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5531,8 +5491,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5668,7 +5627,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 010a227c8b2..e40c81e0747 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -376,9 +373,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -406,7 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs index e86b5564713..e74582c1039 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1075,7 +1070,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1104,8 +1099,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1127,8 +1121,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1289,9 +1282,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1351,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1565,9 +1556,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1601,7 +1592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1619,8 +1610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1642,8 +1632,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1793,9 +1782,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1835,7 +1824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1864,8 +1853,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1887,8 +1875,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2058,7 +2045,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2093,8 +2080,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2120,8 +2106,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2283,7 +2268,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2318,8 +2303,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2345,8 +2329,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2518,9 +2501,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2548,7 +2531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2583,8 +2566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2610,8 +2592,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2783,9 +2764,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs index 2cb0523731c..65361e00fea 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -533,7 +530,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -548,8 +545,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -569,8 +565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -705,9 +700,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -735,7 +730,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -753,8 +748,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -776,8 +770,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -910,9 +903,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -952,7 +945,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -981,8 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1004,8 +996,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1152,9 +1143,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1188,7 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs index 46a87aed2c0..3f5816f3c7b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -622,8 +621,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -645,8 +643,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -782,7 +779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -811,8 +808,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -834,8 +830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -971,7 +966,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1000,8 +995,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1023,8 +1017,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1160,7 +1153,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1189,8 +1182,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1212,8 +1204,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1342,7 +1333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1371,8 +1362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1394,8 +1384,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1530,9 +1519,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1586,9 +1575,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1616,7 +1605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1650,8 +1639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1675,8 +1663,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1820,9 +1807,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1856,7 +1843,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1871,8 +1858,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1892,8 +1878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2008,7 +1993,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2042,8 +2027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2067,8 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2214,7 +2197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 416f7a04e3d..364befb0206 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 973f9e9d4e8..218395c8830 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index b491c61f07f..6817e3c3927 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 5c4159491ee..f58b4501c67 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 534f27a8cc5..1b233732bfc 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs index a5e4bd35e9b..58d445021e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index d7b4374e6a7..cf96397d517 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index ec17222fbc8..9eef9e63b10 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 74cb14f52d9..c574d5a2ea6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index 77ec0bd5ed2..3b312a560cb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs index df3bc9af06c..9fda4189530 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 1cc72ecd59d..44bf8667e20 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d2398a452ee..f00c246ac84 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cce8d5d564b..073503dca9e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 3fbc72e2f5a..30a9fd8381d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs index d92ba4ae6ae..2a87cf4680b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index c9734cbe380..f3366e53886 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index a1fb0b3eb57..55c4682af23 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs index 0ffe1228015..dc43e6dd6cd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs index f483d87f36c..4bf85931618 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 2eb5dd8dc35..6027bde8f37 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -93,7 +92,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7c49d7adb55..cb921fcaf86 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1c478cf336d..eb80cbda5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 08067c5cc07..ab41548c768 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 605dc512434..486f9de7413 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index a853b96144e..d0abaf05c05 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index b6716a58e53..23f818fe472 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,7 +108,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 08e96129872..9970b90fe0b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -207,7 +206,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption.Value != null) diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs index 092f10c0932..9d2bdcce286 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index f9d9d9f7a7b..6e1c51ef8b0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3eeca0aa211..d82c3b21439 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index c7d04366611..274ef7b4267 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index 86d63c7ac5f..285c83264ae 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs index cc8b4530f01..f1ec3159ed1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs index 78cb87b61a3..5b356ea284f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 16afc025fa0..e1e0d40f4ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs index 050d58f85c2..7dcc77628b9 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 522ba51e6cb..fa3c03f346f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 97588d56888..f6e951e924e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,7 +112,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index d18711f5103..31dd097161f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index c81de3d2f67..7e50c69e51b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 5de026753ef..2416a236128 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 32515bc0440..a4467dcf5ff 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 3cef3330300..a0b39c8f722 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 34198e6f437..03d7fe50ba8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index bf37307ad96..63f3b46af6e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 5d459e8b5eb..a1162409132 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs index b322aaf568c..2348f9b6ea3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 42533f9c7eb..5be040369fd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 286d13258dc..f4dcb87a774 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 29f5a80e646..abd2ee91e7e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 83f513bc63b..a81386ab9db 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs index 580ef432ecf..ce567c49227 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 92ec1939d1a..2cbec554f7c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 81d80e33de7..73b618198e7 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a7cd43316ac..2f95cf4e946 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 0990c0ab7a4..81d8bab84e7 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -186,7 +185,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2260,31 +2227,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2298,19 +2261,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2318,42 +2279,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2365,14 +2320,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs index 6a2c4c85eb4..031648b131a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 46625cb093a..3505a0f0ecf 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 29c8760c972..8b7c60dbfd1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 7ec3c110c2a..c6abc777133 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 4290e8270ff..04370428772 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 11d1cd5963c..e51918c7a30 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 04d04337aa4..4743b09271d 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 33f5183651a..13c411093c3 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs index e89d5845732..f92a3edc061 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 834e6957c67..156753c7251 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index bdf48981527..798ed23c9b1 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -123,7 +122,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); writer.WriteString("type", typeRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index a6d408aeecc..ea1af5c7ee4 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -107,7 +106,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs index 1662385fe8f..7e03dff8740 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -142,8 +141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterNowGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -163,8 +161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorNowGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -290,9 +287,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NowGet200Response Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -320,7 +317,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs index cf39d3c11d7..2489028b042 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs index fe5b2fe67aa..3371a880a41 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 52e971d082a..48937d5478e 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 968d29161b1..84d3f229312 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs index 2b34371084b..4a8753660d6 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index cddb8405886..70e61323455 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 069d5230868..633c345decd 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs index 504c2976b3f..a86ce711c8c 100644 --- a/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs +++ b/samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -91,9 +90,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NowGet200Response nowGet200Response, JsonSerializerOptions jsonSerializerOptions) { - if (nowGet200Response.NowOption.IsSet) - writer.WriteString("now", nowGet200Response.NowOption.Value.Value.ToString(NowFormat)); - - if (nowGet200Response.TodayOption.IsSet) - writer.WriteString("today", nowGet200Response.TodayOption.Value.Value.ToString(TodayFormat)); + if (nowGet200Response.NowOption.IsSet) + writer.WriteString("now", nowGet200Response.NowOption.Value.Value.ToString(NowFormat)); + if (nowGet200Response.TodayOption.IsSet) + writer.WriteString("today", nowGet200Response.TodayOption.Value.Value.ToString(TodayFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs index 910c5c211fb..f7b8a9cb2cd 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -160,8 +159,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterList(ref suppressDefaultLog, apiResponseLocalVar, personId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -183,8 +181,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorList(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, personId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -319,9 +316,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Person? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -349,7 +346,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs index eaf62115550..bf99cd2cf0d 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 29ca5094b34..724a1133152 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index f7fe9362993..e5b76b9c9ff 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index a5cb490f3ef..7a16707547d 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 79fb8600e4b..c046a0663c1 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 26d8b0757ba..87a26fea7e4 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/Option.cs index b3419229d65..8ca6449d369 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index d50991f16ec..9d5cef4f2f7 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 25a52d3c718..54dfd87a7c8 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Adult.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Adult.cs index 061761d954f..b5584f4aafc 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Adult.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Adult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -80,7 +79,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -195,13 +193,11 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("children"); JsonSerializer.Serialize(writer, adult.Children, jsonSerializerOptions); } - if (adult.FirstNameOption.IsSet) - writer.WriteString("firstName", adult.FirstName); - - if (adult.LastNameOption.IsSet) - writer.WriteString("lastName", adult.LastName); - - writer.WriteString("$_type", adult.Type); + if (adult.FirstNameOption.IsSet) + writer.WriteString("firstName", adult.FirstName); + if (adult.LastNameOption.IsSet) + writer.WriteString("lastName", adult.LastName); + writer.WriteString("$_type", adult.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Child.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Child.cs index 94bb37a7732..08254db30ac 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Child.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Child.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -96,7 +95,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -211,19 +209,16 @@ namespace Org.OpenAPITools.Model if (child.LastNameOption.IsSet && child.LastName == null) throw new ArgumentNullException(nameof(child.LastName), "Property is required for class Child."); - if (child.AgeOption.IsSet) - writer.WriteNumber("age", child.AgeOption.Value!.Value); + if (child.AgeOption.IsSet) + writer.WriteNumber("age", child.AgeOption.Value!.Value); + if (child.FirstNameOption.IsSet) + writer.WriteString("firstName", child.FirstName); + if (child.LastNameOption.IsSet) + writer.WriteString("lastName", child.LastName); + writer.WriteString("$_type", child.Type); - if (child.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); - - if (child.BoosterSeatOption.IsSet) - writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value!.Value); + if (child.BoosterSeatOption.IsSet) + writer.WriteBoolean("boosterSeat", child.BoosterSeatOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Person.cs b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Person.cs index d3f9d198830..798b6d69258 100644 --- a/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Person.cs +++ b/samples/client/petstore/csharp/generichost/net8/AllOf/src/Org.OpenAPITools/Model/Person.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,13 +234,11 @@ namespace Org.OpenAPITools.Model if (person.LastNameOption.IsSet && person.LastName == null) throw new ArgumentNullException(nameof(person.LastName), "Property is required for class Person."); - if (person.FirstNameOption.IsSet) - writer.WriteString("firstName", person.FirstName); - - if (person.LastNameOption.IsSet) - writer.WriteString("lastName", person.LastName); - - writer.WriteString("$_type", person.Type); + if (person.FirstNameOption.IsSet) + writer.WriteString("firstName", person.FirstName); + if (person.LastNameOption.IsSet) + writer.WriteString("lastName", person.LastName); + writer.WriteString("$_type", person.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs index 030cc3bf12e..e0a5c962867 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -144,8 +143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -165,8 +163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -293,9 +290,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -323,7 +320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs index 6ca1d86d4a3..4a1897951fa 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 2675478b8b4..eba42d9fae9 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 5009ae5304f..deb94fa62fd 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 02dda463ab2..77d24176265 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 4be8e3a725e..049f791ce62 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 06d46536f03..e9cf0b8d003 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/Option.cs index 6f4db75a445..e1feaf22dc4 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index b10d5ac58f5..8628cb568d3 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index db3ce767d4a..3de98d60d63 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs index dd3528fa42a..03ee3d05aa7 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs index 66a33723aeb..7caa64b812e 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value!.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs index 64a206e3bd5..a2d2d96bf48 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -112,9 +111,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,8 +234,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs index 030cc3bf12e..e0a5c962867 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -144,8 +143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -165,8 +163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -293,9 +290,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -323,7 +320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs index 6ca1d86d4a3..4a1897951fa 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 2675478b8b4..eba42d9fae9 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 5009ae5304f..deb94fa62fd 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 02dda463ab2..77d24176265 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 4be8e3a725e..049f791ce62 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 06d46536f03..e9cf0b8d003 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs index 6f4db75a445..e1feaf22dc4 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index b10d5ac58f5..8628cb568d3 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs index db3ce767d4a..3de98d60d63 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs index 8531edebf73..6487aa80a4d 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs index 36e0ac854e6..2f16244f311 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value!.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs index 73c92d0cded..efe48ced636 100644 --- a/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -111,9 +110,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -236,8 +233,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 3d7d0c48233..0e3700e310c 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -364,9 +361,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -394,7 +391,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs index 84ec2eff6bf..3833fc084cf 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -540,9 +537,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -570,7 +567,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -599,8 +596,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -622,8 +618,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -765,7 +760,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -780,8 +775,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -801,8 +795,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -929,9 +922,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -959,7 +952,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -974,8 +967,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -995,8 +987,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1123,9 +1114,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1153,7 +1144,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1168,8 +1159,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1189,8 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1317,9 +1306,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1347,7 +1336,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs index 567ffe1fa4d..195cd42f039 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1449,9 +1446,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1479,7 +1476,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1497,8 +1494,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1520,8 +1516,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1667,9 +1662,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1697,7 +1692,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1726,8 +1721,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1749,8 +1743,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1898,9 +1891,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1928,7 +1921,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1946,8 +1939,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1969,8 +1961,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2116,9 +2107,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2146,7 +2137,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2176,8 +2167,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2201,8 +2191,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2359,9 +2348,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2389,7 +2378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2404,8 +2393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2425,8 +2413,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2553,9 +2540,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2583,7 +2570,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2598,8 +2585,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2619,8 +2605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2747,9 +2732,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2777,7 +2762,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2792,8 +2777,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2813,8 +2797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2941,9 +2924,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2971,7 +2954,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3000,8 +2983,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3023,8 +3005,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3160,7 +3141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3189,8 +3170,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3212,8 +3192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3349,7 +3328,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3383,8 +3362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3408,8 +3386,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3554,7 +3531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3583,8 +3560,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3606,8 +3582,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3754,9 +3729,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -3784,7 +3759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3846,8 +3821,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3895,8 +3869,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4130,7 +4103,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4174,8 +4147,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4211,8 +4183,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4405,7 +4376,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4428,8 +4399,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4461,8 +4431,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4627,7 +4596,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4656,8 +4625,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4679,8 +4647,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4816,7 +4783,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4845,8 +4812,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4868,8 +4834,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5005,7 +4970,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5039,8 +5004,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5064,8 +5028,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5212,7 +5175,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5273,8 +5236,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5312,8 +5274,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5478,7 +5439,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5507,8 +5468,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5530,8 +5490,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5667,7 +5626,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index a12284afb01..7a27b67e847 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -377,9 +374,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -407,7 +404,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs index 3361c03e39b..97fe26c11d8 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1076,7 +1071,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1105,8 +1100,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1128,8 +1122,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1291,9 +1284,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1353,7 +1346,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1382,8 +1375,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1405,8 +1397,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1568,9 +1559,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1604,7 +1595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1622,8 +1613,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1645,8 +1635,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1797,9 +1786,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1839,7 +1828,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1868,8 +1857,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1891,8 +1879,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2062,7 +2049,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2097,8 +2084,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2124,8 +2110,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2287,7 +2272,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2322,8 +2307,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2349,8 +2333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2523,9 +2506,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2553,7 +2536,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2588,8 +2571,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2615,8 +2597,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2789,9 +2770,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2819,7 +2800,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs index b3cd5adcbcc..78e30b12975 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -534,7 +531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -549,8 +546,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -570,8 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -707,9 +702,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -737,7 +732,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -755,8 +750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -778,8 +772,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -913,9 +906,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -955,7 +948,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -984,8 +977,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1007,8 +999,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1156,9 +1147,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1192,7 +1183,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs index 788e681d73c..533534faad9 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; @@ -630,8 +629,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -653,8 +651,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -790,7 +787,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -819,8 +816,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -842,8 +838,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -979,7 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1008,8 +1003,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1031,8 +1025,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1168,7 +1161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1197,8 +1190,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1220,8 +1212,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1351,7 +1342,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1371,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1540,9 +1529,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1596,9 +1585,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1626,7 +1615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1660,8 +1649,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1685,8 +1673,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1858,9 +1845,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1894,7 +1881,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1909,8 +1896,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1930,8 +1916,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2047,7 +2032,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2081,8 +2066,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2106,8 +2090,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2253,7 +2236,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 794b3601c85..1508675e41d 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 11b10005651..c61f8d5dedd 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 92ef8f6c92b..80cde8635d9 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 623f3c18353..377941f9d86 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 43730a86b86..c1c4ebac9ff 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 012e633f989..f629b4e8564 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index eb894eec841..7895afa24ef 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Activity.cs index f9d2680b0ad..4a1a8d59f28 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index f5bcaf71203..3c4df990ffc 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 8d4153d5302..3af354e696f 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Animal.cs index d0b07da62cc..0c6a356ae8b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs index 3b185247e44..01fd9f5dd84 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Apple.cs index 26fbe051684..00b4a21fa06 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs index 942640761b2..d5e361f9582 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index debcff217b9..72d121d8c76 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index ded293438a4..8b3ac888c67 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs index ee7b94f08bd..1e9afa3065f 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Banana.cs index 476a1c25352..776e9d0234b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs index a3a0a15428b..44b747359a6 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs index 8308df3a091..8d39e16c9b2 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Cat.cs index 6a1dfe1d90b..57af710a4ba 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Category.cs index 9bd38764607..4ec9fec9069 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs index d920c4ded98..2615246e5ea 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,7 +75,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("pet_type", ChildCatAllOfPetTypeValueConverter.ToJsonValue(childCat.PetType)); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs index 9e8bc253fdb..21f91ce0dd4 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ChildCatAllOfPetType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs index 9730e5b1185..9fa23ffeedf 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1f3a3bb8a98..48fae80bb0e 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 65695f863ab..30aa92910e5 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Dog.cs index 2ab1ca19d2d..af2b116fb36 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs index 72e59c9baf4..da48ce14093 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs index 516c952c207..348856f1f84 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs index c620b7197c4..a400e7a5e60 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysArrayEnumInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs index 4a414d11d0d..9fdae014962 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumArraysJustSymbol.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs index 49ce4b0a6d6..9aa31f048fc 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -204,9 +203,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs index 3a1302bf271..549f50903ee 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs index cd0add6cf3c..19db7af3bb0 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs index adad28355b7..307c5035bc7 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EnumTestEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/File.cs index 3962bf2beee..1ee1f107e4b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index b4307b69a3b..927f689a358 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs index da357d93dd2..e02997cbefd 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FindPetsByStatusStatusParameterInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Foo.cs index 8c2e7c2aeb3..cee3f52e782 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1540483527a..ad986f43ffc 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs index 96902abd13a..f418f77f5f5 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs index 1b74f3034c8..33771a4ef56 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs index d5f9d222bc0..ecf219c0526 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 4b7b17d3f58..c11463b097e 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/List.cs index 8880c4c197e..4d1589542ef 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 4c97ce2b006..78005783400 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs index 101cfb09d2a..783c836b1e6 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs index 441ea5dcb7d..6c9c1eecc95 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MapTestMapOfEnumStringValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs index defed9c5c7c..27daa918c44 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 67435838030..1d8226dbd94 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 4d5b99d03e4..b6ea8b7090d 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs index 2467daa6e2b..9b4ac118ad0 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 808a4b66c6f..fd6dacc5a40 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs index 05c06c0129e..381f8efb274 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs index 8e865d8efae..3a1bb5c19b2 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs index 60a778b3a74..af9c6d96109 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Name.cs index db407f5e355..8721d4865ac 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs index 3b9f00ed666..4a4426e5def 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 5f369537bb2..b5dafb7a278 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs index f720208fafe..b563ff00339 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 50ad5aef5a1..bc7109de178 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Order.cs index c9c24d32fc4..f22ddfd108a 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - if (order.StatusOption.IsSet) + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + if (order.StatusOption.IsSet) { var statusRawValue = OrderStatusValueConverter.ToJsonValue(order.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs index 6566ca4aa56..cb3a96c98c6 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OrderStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs index 5a072449fae..cb6ab8552e2 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pet.cs index 6b354389b24..60bf48ab9b9 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -150,9 +149,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - if (pet.StatusOption.IsSet) + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + if (pet.StatusOption.IsSet) { var statusRawValue = PetStatusValueConverter.ToJsonValue(pet.Status.Value); writer.WriteString("status", statusRawValue); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs index 9e19b612bf9..80e8237afa9 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PetStatus.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index b1907fda818..7efa2a804d0 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs index 6465301de4d..54cb06c9b06 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -621,9 +620,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + var requiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumInteger); writer.WriteNumber("required_notnullable_enum_integer", requiredNotnullableEnumIntegerRawValue); var requiredNotnullableEnumIntegerOnlyRawValue = RequiredClassRequiredNotnullableEnumIntegerOnlyValueConverter.ToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly); @@ -1131,42 +1125,33 @@ namespace Org.OpenAPITools.Model var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) { var notrequiredNotnullableEnumIntegerRawValue = RequiredClassRequiredNotnullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableEnumInteger.Value); writer.WriteNumber("notrequired_notnullable_enum_integer", notrequiredNotnullableEnumIntegerRawValue); @@ -1186,13 +1171,11 @@ namespace Org.OpenAPITools.Model var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -1200,19 +1183,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) { var notrequiredNullableEnumIntegerRawValue = RequiredClassRequiredNullableEnumIntegerValueConverter.ToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value); @@ -1244,19 +1225,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -1264,21 +1243,18 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger == null) + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger == null) writer.WriteNull("required_nullable_enum_integer"); else { @@ -1306,11 +1282,10 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -1322,14 +1297,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs index 04988ef3ee9..5a88e78a43d 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs index 775aba4f6af..aa2ab4bd895 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs index 5b4f29294ac..5d7b5f2e72b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNotnullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs index 365504a241b..413ba5f0353 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs index 4c5f2c56ba5..8a9e8944305 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumIntegerOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs index 36bcb148131..9e1a16e28b4 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RequiredClassRequiredNullableEnumString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Return.cs index 9d1fbcfd0f6..1119fbfaa73 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 749507fe8e0..430b00daaee 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 5b5b7899e3c..49ee7a8df49 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs index 08b9d580d9f..23bfb4ea7fe 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Tag.cs index d5fb2f5610a..5768e589766 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 215caa45302..9511eca7a61 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 1936341f8ba..2e90ff2e14b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs index ccb446b0250..b0d3189ca1e 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumHeaderStringParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs index ec14b39944d..47602a4ec2a 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryDoubleParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs index 33ff2ce2cc2..3270c9d4cca 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersEnumQueryIntegerParameter.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs index d86b48d4a9b..2a92b6fa5b0 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs index 4f1c9c53c60..cc15199cd7f 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestEnumParametersRequestEnumFormStringArrayInner.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index fbd7dddd9dc..a19728f0c17 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/User.cs index 0c2e096925e..aeb4ed56498 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Whale.cs index a445c5ac182..92b13210b61 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs index d3fbe37b12e..26f2987fcde 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - if (zebra.TypeOption.IsSet) + writer.WriteString("className", zebra.ClassName); + if (zebra.TypeOption.IsSet) { var typeRawValue = ZebraTypeValueConverter.ToJsonValue(zebra.Type.Value); writer.WriteString("type", typeRawValue); diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs index 4a54f2a265a..18ee3f6629b 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZebraType.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 7373bc5873d..f1e355baedc 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs index 2b062a550ab..44b4495cdd2 100644 --- a/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/FormModels/src/Org.OpenAPITools/Model/ZeroBasedEnumClassZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index a34c828167b..f4304a25972 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -195,8 +194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -218,8 +216,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -366,9 +363,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -396,7 +393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/DefaultApi.cs index cced9ce3479..bb890256c82 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -393,8 +392,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -414,8 +412,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -542,9 +539,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse? Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -572,7 +569,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -601,8 +598,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -624,8 +620,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -767,7 +762,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -782,8 +777,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -803,8 +797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -931,9 +924,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -961,7 +954,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -976,8 +969,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -997,8 +989,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1125,9 +1116,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1155,7 +1146,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1170,8 +1161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1191,8 +1181,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1319,9 +1308,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1349,7 +1338,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeApi.cs index 39b422f6f7f..c560a68da46 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -1302,8 +1301,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1323,8 +1321,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1451,9 +1448,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1481,7 +1478,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1499,8 +1496,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1522,8 +1518,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1669,9 +1664,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1699,7 +1694,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1728,8 +1723,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1751,8 +1745,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1900,9 +1893,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1930,7 +1923,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1948,8 +1941,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1971,8 +1963,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2118,9 +2109,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2148,7 +2139,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2178,8 +2169,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2203,8 +2193,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2361,9 +2350,9 @@ namespace Org.OpenAPITools.Api public string? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2391,7 +2380,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2406,8 +2395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2427,8 +2415,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2555,9 +2542,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2585,7 +2572,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2600,8 +2587,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2621,8 +2607,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2749,9 +2734,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2779,7 +2764,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2794,8 +2779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2815,8 +2799,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2943,9 +2926,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2973,7 +2956,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3002,8 +2985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3025,8 +3007,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3162,7 +3143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3191,8 +3172,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3214,8 +3194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3351,7 +3330,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3385,8 +3364,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3410,8 +3388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3556,7 +3533,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3585,8 +3562,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3608,8 +3584,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3756,9 +3731,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -3786,7 +3761,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3848,8 +3823,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3897,8 +3871,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4132,7 +4105,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4188,8 +4161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4225,8 +4197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4419,7 +4390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4442,8 +4413,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4475,8 +4445,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4641,7 +4610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4670,8 +4639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4693,8 +4661,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4830,7 +4797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4859,8 +4826,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4882,8 +4848,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5019,7 +4984,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5053,8 +5018,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5078,8 +5042,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5226,7 +5189,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5287,8 +5250,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5326,8 +5288,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5492,7 +5453,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5521,8 +5482,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5544,8 +5504,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5681,7 +5640,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index d70af83c911..752983ca5d6 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -195,8 +194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -218,8 +216,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -379,9 +376,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -409,7 +406,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/PetApi.cs index 1d959b49106..f1ba6920ed5 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -699,8 +698,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -722,8 +720,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -881,7 +878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -911,8 +908,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -936,8 +932,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1078,7 +1073,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1107,8 +1102,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1130,8 +1124,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1293,9 +1286,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1355,7 +1348,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1384,8 +1377,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1407,8 +1399,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1570,9 +1561,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1606,7 +1597,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1624,8 +1615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1647,8 +1637,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1799,9 +1788,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1841,7 +1830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1870,8 +1859,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1893,8 +1881,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2064,7 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2099,8 +2086,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2126,8 +2112,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2289,7 +2274,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2324,8 +2309,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2351,8 +2335,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2525,9 +2508,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2555,7 +2538,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2590,8 +2573,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2617,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2791,9 +2772,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2821,7 +2802,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/StoreApi.cs index 1677ff9901e..3621391bc37 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -382,8 +381,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -405,8 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -536,7 +533,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -551,8 +548,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -572,8 +568,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -709,9 +704,9 @@ namespace Org.OpenAPITools.Api public Dictionary? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -739,7 +734,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -757,8 +752,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -780,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -915,9 +908,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -986,8 +979,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1009,8 +1001,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1158,9 +1149,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1194,7 +1185,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/UserApi.cs index 0352814ae67..fa5c48d6efb 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -632,8 +631,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -655,8 +653,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -792,7 +789,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -821,8 +818,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -844,8 +840,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -981,7 +976,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1010,8 +1005,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1033,8 +1027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1170,7 +1163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1199,8 +1192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1222,8 +1214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1353,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1382,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1405,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1542,9 +1531,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1598,9 +1587,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User? CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1628,7 +1617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1662,8 +1651,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1687,8 +1675,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1860,9 +1847,9 @@ namespace Org.OpenAPITools.Api public string? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1896,7 +1883,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1911,8 +1898,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1932,8 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2049,7 +2034,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2083,8 +2068,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2108,8 +2092,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2255,7 +2238,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiException.cs index 76274524017..127c144308a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 88b4a497394..a7ab9cb7c1a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index c9dc766e463..1a75435a485 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 5e42c9efb85..8e8456c8ba1 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index de6a37a17df..b9814227c92 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 02b767330d0..fc808b18df6 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 2d8c0b2a52f..40dc2b32047 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/Option.cs index e6fd1c26872..d1745d11fd7 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index d5510735d39..6dfaaa50f3d 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/TokenProvider`1.cs index b873d5323e7..58256a5f0ad 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Activity.cs index 87bc3578658..72d437304db 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index 546931023bb..c02043d2bb1 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -196,10 +193,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 20b8444349b..3f52b33ba27 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -198,9 +197,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Animal.cs index 648b8fde887..df0013d973f 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -216,8 +213,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ApiResponse.cs index cd20dcc6f2a..980a62aa5e3 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -219,14 +216,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value!.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value!.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Apple.cs index 601dae95aa1..2e2e94d290b 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -118,38 +117,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -251,14 +248,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AppleReq.cs index e4d0962e9ef..6178040e9ef 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -182,10 +179,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value!.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 9b23c016665..286dbb88fad 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cfe30e6ce66..93ff58a8ed4 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayTest.cs index 0899aecaee6..aa6f4eaae67 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Banana.cs index 308d4078b7f..22b87caacad 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value!.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BananaReq.cs index 46e11565b53..a6e36f6871a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value!.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BasquePig.cs index 7eaeac5cde6..c8aaf1da42c 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Capitalization.cs index 133845a991f..71874eb258f 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -166,9 +165,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -300,23 +297,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Cat.cs index f6a4492730f..df53cc47a2d 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,7 +78,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value!.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Category.cs index 96854b6b0e4..b91b697b4ec 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -94,9 +93,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -189,10 +186,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value!.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value!.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ChildCat.cs index 35e299d05c1..854666f0e34 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -95,7 +94,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -130,7 +128,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -224,10 +221,9 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ClassModel.cs index 5a199576ee2..9562fd73466 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 018f49af861..aedf942dc08 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DanishPig.cs index c0042b4d884..f3a579f24d5 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DateOnlyClass.cs index a84805aa801..aae6b67c047 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -173,8 +170,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value!.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value!.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 68e0836b632..9dd235f2b39 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Dog.cs index f09923475b0..b4146ccb890 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,7 +78,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -183,11 +181,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Drawing.cs index 837b5ef56bf..2a285c01a12 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumArrays.cs index 83efec82813..9fdd13a7569 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -111,7 +110,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -177,7 +175,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -233,9 +230,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumClass.cs index 03b2780c484..a5a3b22d3f5 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumTest.cs index 204a7a95d7e..a9c0ef003dd 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -209,7 +208,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -274,7 +272,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -346,7 +343,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -425,7 +421,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -588,7 +583,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -690,9 +684,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -844,16 +836,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value!.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value!.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value!.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value!.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value!.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value!.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value!.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value!.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption!.Value != null) diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 12983d68a09..d01c974d213 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/File.cs index dab2e4e27b3..951503a8620 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,8 +167,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 7b9bfd4fbeb..081a0748e02 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Foo.cs index b8128f4c3e4..e34e90ed330 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 3c5e2512bb0..a0c4d1c34e1 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FormatTest.cs index 5244065820e..dc04a76ff75 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -540,42 +539,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -591,9 +590,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -897,75 +894,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value!.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value!.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value!.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value!.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value!.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value!.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value!.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value!.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value!.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value!.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value!.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value!.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value!.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value!.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value!.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value!.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value!.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value!.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value!.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value!.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value!.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value!.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value!.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value!.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value!.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Fruit.cs index eb12679ed27..004df63f0d8 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -213,8 +210,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FruitReq.cs index 357be438844..ea98c48240c 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GmFruit.cs index 9be524db707..9077987f83a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -105,9 +104,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -230,8 +227,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 4cefd4ca621..3d854e63d2e 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 50826dd0da5..f48f69c07a9 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -142,9 +141,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -236,11 +233,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 2a3a8e527f6..9c3534a5377 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index 8aca45893e6..a2d19fa2d89 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -80,9 +79,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,9 +177,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/List.cs index ddf0d615fd3..accfef1943c 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 5993dd82adc..b984e11ed7d 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -195,11 +192,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Mammal.cs index 132f1e462ce..a1bbf9620b4 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MapTest.cs index bba52b3ffbc..4bc7ee4dea3 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -115,7 +114,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -199,9 +197,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs index 564d9aa1a81..d2c976ebbb3 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -534,9 +533,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -928,102 +925,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value!.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value!.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value!.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value!.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value!.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value!.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value!.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value!.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOf.cs index ac4b562eb3e..92f7b33be28 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 05de563f77d..87e39d7ad56 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -138,9 +137,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOf.cs index 7a8da4dbed1..6e6757ce3b1 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 15e011ce091..519382bf9f6 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -135,9 +134,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 17ee15eb2f4..e600c7a9bcc 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -133,16 +132,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()!).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()!).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -254,19 +251,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value!.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value!.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value!.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedSubId.cs index 6b56e6017b1..6d0b18c9033 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Model200Response.cs index bb28841a9e5..cccafa024ea 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value!.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ModelClient.cs index 7a982b8104d..48ea0f25cd8 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Name.cs index fb877759c60..928dd7b77fe 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -167,9 +166,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -278,16 +275,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value!.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value!.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value!.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index f7e59fb345a..fcc6bc85326 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,7 +185,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableClass.cs index 91695a8649d..914db82f9cf 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -261,9 +260,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -437,37 +434,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value!.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value!.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value!.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value!.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value!.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value!.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value!.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value!.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value!.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value!.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -488,11 +480,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 83619d03114..ec82821e9f6 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,11 +162,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value!.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value!.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableShape.cs index a06afa2a9be..730643e6e23 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NumberOnly.cs index b52b1cc177f..1f2f3a50af4 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value!.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index ec6905ea3a7..35bcafc65e2 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -260,11 +257,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value!.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value!.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OneOfString.cs index 5471f08f519..a8389c2d29b 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -75,9 +74,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Order.cs index a3e3679fe3d..b525b02d16e 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -134,7 +133,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -248,9 +246,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -376,22 +372,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value!.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value!.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value!.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value!.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value!.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value!.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value!.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value!.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value!.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value!.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value!.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value!.Value); writer.WriteString("status", statusRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterComposite.cs index 01d4f3844eb..7d4c836eb16 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value!.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value!.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value!.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value!.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnum.cs index 96af6f3670d..70e965db401 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index a50d5c056ec..6c639c33324 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 41ecebcf8f5..6ace62fef3a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index 902dbb06639..e59c0d43cbe 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumTest.cs index 03a8ccdecac..230f170cec6 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ParentPet.cs index a4b1ab4347d..b086ba9616e 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -62,7 +61,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pet.cs index 55df1e0579f..7daf84165c1 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -134,7 +133,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -234,9 +232,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,19 +370,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value!.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value!.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value!.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value!.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pig.cs index 2cd41f15027..62428dfb08e 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index 3c1b978da7f..6e2bd6b3935 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -120,9 +119,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Quadrilateral.cs index 5c7aa541ffc..e41282ccade 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index c535142bde6..3569c9dc814 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a48fcb21dbe..1ec8d6abab7 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -139,9 +138,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -233,11 +230,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RequiredClass.cs index 15688d958f0..fb537878742 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -188,7 +187,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -253,7 +251,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -409,7 +406,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -480,7 +476,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -552,7 +547,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -715,7 +709,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -800,7 +793,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -872,7 +864,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1038,7 +1029,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1123,7 +1113,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1188,7 +1177,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1347,7 +1335,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1701,9 +1688,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2183,78 +2168,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value!.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value!.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value!.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value!.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value!.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value!.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value!.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value!.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value!.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value!.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value!.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value!.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value!.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value!.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value!.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value!.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value!.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value!.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue!.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value!.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value!.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2262,31 +2229,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value!.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value!.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value!.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value!.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value!.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value!.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value!.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value!.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value!.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value!.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2300,19 +2263,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value!.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value!.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2320,42 +2281,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString!.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString!.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2367,14 +2322,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Return.cs index 0d9fe3516e6..02413c162c8 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -119,9 +118,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,18 +228,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value!.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value!.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHash.cs index d520cfcc9a9..5b4a3cd639a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -199,8 +196,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value!.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 684ca8e8b51..53c55c94588 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 926b431dda3..2a815ad0b6b 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Shape.cs index c608b7288d9..f7f47746aaf 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeInterface.cs index 15777abac01..a40d786f1df 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 3fc9f273509..e8108e9b4fb 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index bab36d28f5e..938a2096272 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SpecialModelName.cs index d66e2a9e732..88c177a3799 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value!.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Tag.cs index 92de05e2d75..f68c97a1de0 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value!.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value!.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index f1a1940574e..cc0ea814880 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index ed3d3f74081..d5b44c91245 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 102413449b1..fc324825b4a 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Triangle.cs index f34f2cf6013..130ef89ce06 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TriangleInterface.cs index 6ccbe196f3d..4405b633fc7 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/User.cs index 7b55e2baf5b..536db09b6f8 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -266,9 +265,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -458,19 +455,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value!.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value!.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -483,17 +476,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value!.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value!.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Whale.cs index a655c0d30e9..860f9a88682 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -110,9 +109,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -213,13 +210,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value!.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value!.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value!.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Zebra.cs index 4ca12a36d09..0700277e77c 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -125,7 +124,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -174,9 +172,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -270,9 +266,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value!.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value!.Value); writer.WriteString("type", typeRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 1db14d35a9e..74ec34b7920 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index dfb39512439..651bbfb21ca 100644 --- a/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/NullReferenceTypes/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -109,7 +108,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -151,9 +149,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs index 030cc3bf12e..e0a5c962867 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -144,8 +143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRootGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -165,8 +163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRootGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -293,9 +290,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Fruit? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -323,7 +320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs index 6ca1d86d4a3..4a1897951fa 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 2675478b8b4..eba42d9fae9 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 5009ae5304f..deb94fa62fd 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 02dda463ab2..77d24176265 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 4be8e3a725e..049f791ce62 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 06d46536f03..e9cf0b8d003 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/Option.cs index 6f4db75a445..e1feaf22dc4 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index b10d5ac58f5..8628cb568d3 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs index db3ce767d4a..3de98d60d63 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Apple.cs index dd3528fa42a..03ee3d05aa7 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ namespace Org.OpenAPITools.Model if (apple.KindOption.IsSet && apple.Kind == null) throw new ArgumentNullException(nameof(apple.Kind), "Property is required for class Apple."); - if (apple.KindOption.IsSet) - writer.WriteString("kind", apple.Kind); + if (apple.KindOption.IsSet) + writer.WriteString("kind", apple.Kind); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Banana.cs index 66a33723aeb..7caa64b812e 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.CountOption.IsSet) - writer.WriteNumber("count", banana.CountOption.Value!.Value); + if (banana.CountOption.IsSet) + writer.WriteNumber("count", banana.CountOption.Value!.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs index d58b2b4db1d..70af3c1066c 100644 --- a/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/OneOf/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 0.0.1 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -220,8 +217,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 3d7d0c48233..0e3700e310c 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -364,9 +361,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -394,7 +391,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs index 84ec2eff6bf..3833fc084cf 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -391,8 +390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -412,8 +410,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -540,9 +537,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -570,7 +567,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -599,8 +596,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -622,8 +618,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -765,7 +760,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -780,8 +775,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -801,8 +795,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -929,9 +922,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -959,7 +952,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -974,8 +967,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -995,8 +987,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1123,9 +1114,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1153,7 +1144,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1168,8 +1159,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1189,8 +1179,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1317,9 +1306,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1347,7 +1336,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs index 55126502478..164991bd399 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1300,8 +1299,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1321,8 +1319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1449,9 +1446,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1479,7 +1476,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1497,8 +1494,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1520,8 +1516,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1667,9 +1662,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1697,7 +1692,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1726,8 +1721,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1749,8 +1743,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1898,9 +1891,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1928,7 +1921,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1946,8 +1939,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1969,8 +1961,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2116,9 +2107,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2146,7 +2137,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2176,8 +2167,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2201,8 +2191,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2359,9 +2348,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2389,7 +2378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2404,8 +2393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2425,8 +2413,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2553,9 +2540,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2583,7 +2570,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2598,8 +2585,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2619,8 +2605,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2747,9 +2732,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2777,7 +2762,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2792,8 +2777,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2813,8 +2797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2941,9 +2924,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2971,7 +2954,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3000,8 +2983,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3023,8 +3005,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3160,7 +3141,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3189,8 +3170,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3212,8 +3192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3349,7 +3328,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3383,8 +3362,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3408,8 +3386,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3554,7 +3531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3583,8 +3560,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3606,8 +3582,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3754,9 +3729,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -3784,7 +3759,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3846,8 +3821,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3895,8 +3869,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4130,7 +4103,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4186,8 +4159,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4223,8 +4195,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4417,7 +4388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4440,8 +4411,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4473,8 +4443,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4639,7 +4608,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4668,8 +4637,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4691,8 +4659,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4828,7 +4795,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4857,8 +4824,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4880,8 +4846,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5017,7 +4982,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5051,8 +5016,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5076,8 +5040,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5224,7 +5187,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5285,8 +5248,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5324,8 +5286,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5490,7 +5451,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5519,8 +5480,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5542,8 +5502,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5679,7 +5638,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index a12284afb01..7a27b67e847 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -193,8 +192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -216,8 +214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -377,9 +374,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -407,7 +404,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs index 0350d428124..66897176203 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -697,8 +696,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -720,8 +718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -879,7 +876,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -909,8 +906,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -934,8 +930,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1076,7 +1071,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1105,8 +1100,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1128,8 +1122,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1291,9 +1284,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1353,7 +1346,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1382,8 +1375,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1405,8 +1397,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1568,9 +1559,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1604,7 +1595,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1622,8 +1613,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1645,8 +1635,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1797,9 +1786,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1839,7 +1828,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1868,8 +1857,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1891,8 +1879,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2062,7 +2049,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2097,8 +2084,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2124,8 +2110,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2287,7 +2272,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2322,8 +2307,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2349,8 +2333,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2523,9 +2506,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2553,7 +2536,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2588,8 +2571,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2615,8 +2597,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2789,9 +2770,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2819,7 +2800,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs index b3cd5adcbcc..78e30b12975 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -380,8 +379,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -403,8 +401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -534,7 +531,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -549,8 +546,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -570,8 +566,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -707,9 +702,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -737,7 +732,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -755,8 +750,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -778,8 +772,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -913,9 +906,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -955,7 +948,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -984,8 +977,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1007,8 +999,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1156,9 +1147,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1192,7 +1183,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs index 788e681d73c..533534faad9 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; @@ -630,8 +629,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -653,8 +651,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -790,7 +787,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -819,8 +816,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -842,8 +838,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -979,7 +974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1008,8 +1003,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1031,8 +1025,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1168,7 +1161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1197,8 +1190,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1220,8 +1212,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1351,7 +1342,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1380,8 +1371,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1403,8 +1393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1540,9 +1529,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1596,9 +1585,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1626,7 +1615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1660,8 +1649,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1685,8 +1673,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1858,9 +1845,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1894,7 +1881,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1909,8 +1896,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1930,8 +1916,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2047,7 +2032,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2081,8 +2066,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2106,8 +2090,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2253,7 +2236,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 794b3601c85..1508675e41d 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Diagnostics.CodeAnalysis; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index 11b10005651..c61f8d5dedd 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 92ef8f6c92b..80cde8635d9 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 623f3c18353..377941f9d86 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 43730a86b86..c1c4ebac9ff 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 012e633f989..f629b4e8564 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index eb894eec841..7895afa24ef 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Activity.cs index f9d2680b0ad..4a1a8d59f28 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index f5bcaf71203..3c4df990ffc 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 8d4153d5302..3af354e696f 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Animal.cs index d0b07da62cc..0c6a356ae8b 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index 3b185247e44..01fd9f5dd84 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 26fbe051684..00b4a21fa06 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 942640761b2..d5e361f9582 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index debcff217b9..72d121d8c76 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index ded293438a4..8b3ac888c67 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index ee7b94f08bd..1e9afa3065f 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Banana.cs index 476a1c25352..776e9d0234b 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index a3a0a15428b..44b747359a6 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index 8308df3a091..8d39e16c9b2 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Cat.cs index 6a1dfe1d90b..57af710a4ba 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Category.cs index 9bd38764607..4ec9fec9069 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 87a49cbe08f..fb4ae3a1fd0 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -93,7 +92,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 9730e5b1185..9fa23ffeedf 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1f3a3bb8a98..48fae80bb0e 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 65695f863ab..30aa92910e5 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 2ab1ca19d2d..af2b116fb36 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 72e59c9baf4..da48ce14093 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index 4eb9365b1f5..b22d9be32f6 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,7 +108,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index f7a3a20b1b1..a9f0ea901b9 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -207,7 +206,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption.Value != null) diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/File.cs index 3962bf2beee..1ee1f107e4b 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index b4307b69a3b..927f689a358 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 8c2e7c2aeb3..cee3f52e782 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1540483527a..ad986f43ffc 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index 96902abd13a..f418f77f5f5 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs index 1b74f3034c8..33771a4ef56 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs index d5f9d222bc0..ecf219c0526 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 4b7b17d3f58..c11463b097e 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/List.cs index 8880c4c197e..4d1589542ef 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 4c97ce2b006..78005783400 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 938d01fec44..aa80bb24e8a 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,7 +112,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index defed9c5c7c..27daa918c44 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 67435838030..1d8226dbd94 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 4d5b99d03e4..b6ea8b7090d 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 2467daa6e2b..9b4ac118ad0 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 808a4b66c6f..fd6dacc5a40 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 05c06c0129e..381f8efb274 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index 8e865d8efae..3a1bb5c19b2 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 60a778b3a74..af9c6d96109 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Name.cs index db407f5e355..8721d4865ac 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 3b9f00ed666..4a4426e5def 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 5f369537bb2..b5dafb7a278 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index f720208fafe..b563ff00339 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 50ad5aef5a1..bc7109de178 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Order.cs index ee5777aabe7..d021444cba8 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 5a072449fae..cb6ab8552e2 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 8e7b548b39f..2786891a253 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index b1907fda818..7efa2a804d0 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index f1483ce9939..e8ae8fb80f8 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -186,7 +185,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2260,31 +2227,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2298,19 +2261,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2318,42 +2279,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2365,14 +2320,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Return.cs index 9d1fbcfd0f6..1119fbfaa73 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 749507fe8e0..430b00daaee 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 5b5b7899e3c..49ee7a8df49 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 08b9d580d9f..23bfb4ea7fe 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Tag.cs index d5fb2f5610a..5768e589766 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 215caa45302..9511eca7a61 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 1936341f8ba..2e90ff2e14b 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index fbd7dddd9dc..a19728f0c17 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/User.cs index 0c2e096925e..aeb4ed56498 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Whale.cs index a445c5ac182..92b13210b61 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 0efe7f985a3..accb0a1ce96 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -123,7 +122,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); writer.WriteString("type", typeRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 9722305fcb2..3729ccd3369 100644 --- a/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -107,7 +106,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index a34c828167b..f4304a25972 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -195,8 +194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -218,8 +216,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -366,9 +363,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -396,7 +393,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/DefaultApi.cs index cced9ce3479..bb890256c82 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -393,8 +392,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -414,8 +412,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -542,9 +539,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse? Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -572,7 +569,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -601,8 +598,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -624,8 +620,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -767,7 +762,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -782,8 +777,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -803,8 +797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -931,9 +924,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -961,7 +954,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -976,8 +969,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -997,8 +989,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1125,9 +1116,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1155,7 +1146,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1170,8 +1161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1191,8 +1181,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1319,9 +1308,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1349,7 +1338,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeApi.cs index 39b422f6f7f..c560a68da46 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -1302,8 +1301,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1323,8 +1321,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1451,9 +1448,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1481,7 +1478,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1499,8 +1496,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1522,8 +1518,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1669,9 +1664,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1699,7 +1694,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1728,8 +1723,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1751,8 +1745,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1900,9 +1893,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1930,7 +1923,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1948,8 +1941,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1971,8 +1963,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2118,9 +2109,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2148,7 +2139,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2178,8 +2169,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2203,8 +2193,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2361,9 +2350,9 @@ namespace Org.OpenAPITools.Api public string? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2391,7 +2380,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2406,8 +2395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2427,8 +2415,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2555,9 +2542,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2585,7 +2572,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2600,8 +2587,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2621,8 +2607,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2749,9 +2734,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2779,7 +2764,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2794,8 +2779,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2815,8 +2799,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2943,9 +2926,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2973,7 +2956,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3002,8 +2985,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3025,8 +3007,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3162,7 +3143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3191,8 +3172,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3214,8 +3194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3351,7 +3330,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3385,8 +3364,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3410,8 +3388,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3556,7 +3533,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3585,8 +3562,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3608,8 +3584,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3756,9 +3731,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -3786,7 +3761,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3848,8 +3823,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3897,8 +3871,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4132,7 +4105,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4188,8 +4161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4225,8 +4197,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4419,7 +4390,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4442,8 +4413,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4475,8 +4445,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4641,7 +4610,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4670,8 +4639,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4693,8 +4661,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4830,7 +4797,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4859,8 +4826,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4882,8 +4848,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5019,7 +4984,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5053,8 +5018,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5078,8 +5042,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5226,7 +5189,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5287,8 +5250,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5326,8 +5288,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5492,7 +5453,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5521,8 +5482,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5544,8 +5504,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5681,7 +5640,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index d70af83c911..752983ca5d6 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -195,8 +194,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -218,8 +216,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -379,9 +376,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -409,7 +406,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/PetApi.cs index 1d959b49106..f1ba6920ed5 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -699,8 +698,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -722,8 +720,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -881,7 +878,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -911,8 +908,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -936,8 +932,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1078,7 +1073,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1107,8 +1102,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1130,8 +1124,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1293,9 +1286,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1355,7 +1348,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1384,8 +1377,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1407,8 +1399,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1570,9 +1561,9 @@ namespace Org.OpenAPITools.Api public List? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1606,7 +1597,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1624,8 +1615,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1647,8 +1637,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1799,9 +1788,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1841,7 +1830,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1870,8 +1859,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1893,8 +1881,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2064,7 +2051,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2099,8 +2086,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2126,8 +2112,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2289,7 +2274,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2324,8 +2309,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2351,8 +2335,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2525,9 +2508,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2555,7 +2538,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2590,8 +2573,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2617,8 +2599,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2791,9 +2772,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2821,7 +2802,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/StoreApi.cs index 1677ff9901e..3621391bc37 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -382,8 +381,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -405,8 +403,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -536,7 +533,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -551,8 +548,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -572,8 +568,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -709,9 +704,9 @@ namespace Org.OpenAPITools.Api public Dictionary? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : null; } /// @@ -739,7 +734,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -757,8 +752,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -780,8 +774,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -915,9 +908,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -957,7 +950,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -986,8 +979,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1009,8 +1001,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1158,9 +1149,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1194,7 +1185,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/UserApi.cs index 0352814ae67..fa5c48d6efb 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -632,8 +631,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -655,8 +653,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -792,7 +789,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -821,8 +818,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -844,8 +840,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -981,7 +976,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1010,8 +1005,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1033,8 +1027,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1170,7 +1163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1199,8 +1192,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1222,8 +1214,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1353,7 +1344,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1382,8 +1373,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1405,8 +1395,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1542,9 +1531,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1598,9 +1587,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User? CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1628,7 +1617,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1662,8 +1651,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1687,8 +1675,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1860,9 +1847,9 @@ namespace Org.OpenAPITools.Api public string? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1896,7 +1883,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1911,8 +1898,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1932,8 +1918,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2049,7 +2034,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2083,8 +2068,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2108,8 +2092,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2255,7 +2238,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiException.cs index 76274524017..127c144308a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 88b4a497394..a7ab9cb7c1a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs index c9dc766e463..1a75435a485 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs index 5e42c9efb85..8e8456c8ba1 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateOnlyNullableJsonConverter.cs @@ -26,7 +26,6 @@ namespace Org.OpenAPITools.Client public static string[] Formats { get; } = { "yyyy'-'MM'-'dd", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index de6a37a17df..b9814227c92 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index 02b767330d0..fc808b18df6 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -40,7 +40,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.ffK", "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 2d8c0b2a52f..40dc2b32047 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/Option.cs index e6fd1c26872..d1745d11fd7 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index d5510735d39..6dfaaa50f3d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/TokenProvider`1.cs index b873d5323e7..58256a5f0ad 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Activity.cs index 97aaf78dd30..5feba7662d6 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The ActivitySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index 993b2a750ce..eb045bf1d70 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,17 +194,15 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); } } } - /// /// The ActivityOutputElementRepresentationSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index fe4e050f537..1d508348240 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -199,9 +198,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -400,7 +397,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The AdditionalPropertiesClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Animal.cs index 7c54e55cb7b..fb062f7e625 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,11 +214,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } - /// /// The AnimalSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ApiResponse.cs index 4ae5d07dcfe..e70310f1331 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -220,17 +217,14 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value!.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value!.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } - /// /// The ApiResponseSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Apple.cs index 3dab90bbeb3..a12b6c20ae0 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -119,38 +118,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,17 +249,14 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } - /// /// The AppleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AppleReq.cs index 840e615e228..3c49d1e51fb 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -183,13 +180,11 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value!.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value!.Value); } } - /// /// The AppleReqSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d27c45fdcd1..3108b66c807 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The ArrayOfArrayOfNumberOnlySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index 72dc6b5327f..1f418f9d59a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The ArrayOfNumberOnlySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayTest.cs index 947e074e139..15dae60fb4b 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -242,7 +239,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The ArrayTestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Banana.cs index 06208194730..cbf077bb021 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,11 +165,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value!.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value!.Value); } } - /// /// The BananaSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BananaReq.cs index c145e62672f..5c405055e54 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -181,13 +178,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value!.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value!.Value); } } - /// /// The BananaReqSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BasquePig.cs index cdd31db8f50..2be764c7638 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,9 +78,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } - /// /// The BasquePigSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Capitalization.cs index e36a343dc5e..9a80a55286e 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -167,9 +166,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -301,26 +298,20 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } - /// /// The CapitalizationSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Cat.cs index 352bba5d51e..d4c06f2c667 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -80,7 +79,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -182,14 +180,12 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value!.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value!.Value); } } - /// /// The CatSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Category.cs index 286d8b6464b..f6f6d3580ee 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -95,9 +94,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -190,13 +187,11 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value!.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value!.Value); + writer.WriteString("name", category.Name); } } - /// /// The CategorySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ChildCat.cs index 2b39e8e86f0..a2b74ddb06f 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -96,7 +95,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -131,7 +129,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -225,13 +222,11 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } - /// /// The ChildCatSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ClassModel.cs index e38fad89dba..2df71676f1a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } - /// /// The ClassModelSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index acf1f351fe7..d7ea6c922dc 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } - /// /// The ComplexQuadrilateralSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DanishPig.cs index c54e2bd3ea8..42dbdf77c86 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,9 +78,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } - /// /// The DanishPigSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DateOnlyClass.cs index dfa0a603bb6..c05774b2e52 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -174,11 +171,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value!.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value!.Value.ToString(DateOnlyPropertyFormat)); } } - /// /// The DateOnlyClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 0b8716d11ff..8c19fb919bb 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } - /// /// The DeprecatedObjectSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Dog.cs index 4de2c40c018..92feab3b3bd 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -80,7 +79,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -184,14 +182,12 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } - /// /// The DogSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Drawing.cs index 1f8cc546232..9d506c3c240 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,7 +265,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The DrawingSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumArrays.cs index 809acadd522..9287d03ed95 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -112,7 +111,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -178,7 +176,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -234,9 +231,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -337,7 +332,6 @@ namespace Org.OpenAPITools.Model writer.WriteString("just_symbol", justSymbolRawValue); } } - /// /// The EnumArraysSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumClass.cs index 520dc1cfbde..52ec9d16bfb 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -189,7 +188,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The EnumClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumTest.cs index 65adf54ea34..c3885c00d37 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -210,7 +209,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -275,7 +273,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -347,7 +344,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -426,7 +422,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -589,7 +584,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -691,9 +685,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -845,16 +837,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value!.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value!.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value!.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value!.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value!.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value!.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value!.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value!.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption!.Value != null) @@ -881,7 +870,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The EnumTestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index ca7a8101de8..312205652b2 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } - /// /// The EquilateralTriangleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/File.cs index bdc5c25e132..ceedd81f9a7 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,11 +168,10 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } - /// /// The FileSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index d713d6a161e..b1518f9e164 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -210,7 +207,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The FileSchemaTestClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Foo.cs index ac4aeb49df5..254d708996f 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } - /// /// The FooSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index d1d691a8dd2..00d64b79645 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The FooGetDefaultResponseSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FormatTest.cs index d9011f3dbd6..8f0f5baec96 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -541,42 +540,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -592,9 +591,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -898,78 +895,57 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value!.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value!.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value!.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value!.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value!.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value!.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value!.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value!.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value!.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value!.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value!.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value!.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value!.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value!.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value!.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value!.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value!.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value!.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value!.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value!.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value!.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value!.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value!.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value!.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value!.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value!.Value); } } - /// /// The FormatTestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Fruit.cs index 6aa16622208..9639b19f7e8 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,11 +211,10 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } - /// /// The FruitSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FruitReq.cs index 1f75be50f94..b387b5d9d11 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,7 +185,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The FruitReqSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GmFruit.cs index e44c82f2350..987ab85e4f3 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -106,9 +105,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } - /// /// The GmFruitSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 69049f30a58..ff480ef7d70 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model writer.WriteString("pet_type", grandparentAnimal.PetType); } } - /// /// The GrandparentAnimalSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 0bf77a18dca..1b974ec9240 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -143,9 +142,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,14 +234,12 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } - /// /// The HasOnlyReadOnlySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 71f3c4dc4ec..ba992867fc7 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,14 +161,13 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } - /// /// The HealthCheckResultSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index df5fac5540b..4b31666d14d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -181,12 +178,10 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } - /// /// The IsoscelesTriangleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/List.cs index 024998ed763..574940ef885 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } - /// /// The ListSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/LiteralStringClass.cs index e54eebdaa1d..efc2a2ff337 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -196,14 +193,12 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } - /// /// The LiteralStringClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Mammal.cs index fe273665e2c..3c0e90f4c97 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -116,9 +115,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -269,7 +266,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The MammalSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MapTest.cs index cf14472204d..1e58a908c75 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -116,7 +115,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -200,9 +198,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -340,7 +336,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The MapTestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs index 00252197397..5a4f04a363d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -535,9 +534,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -929,105 +926,73 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value!.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value!.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value!.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value!.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value!.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value!.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value!.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value!.Value); + else + writer.WriteNull("totalPrice"); } } - /// /// The MixLogSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOf.cs index cb6c05a7c77..2a0d9b4badd 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The MixedAnyOfSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 72287b1d1b4..0b05e53a88c 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -139,9 +138,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -283,7 +280,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The MixedAnyOfContentSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOf.cs index 2f8ac2dc1d5..d82a216c966 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The MixedOneOfSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 8ea30fde6f8..daad1f95dad 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -261,7 +258,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The MixedOneOfContentSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index a9e28c2f3e8..f8ab8abab49 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -134,16 +133,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()!).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()!).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -255,22 +252,19 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value!.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value!.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value!.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value!.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value!.Value); } } - /// /// The MixedPropertiesAndAdditionalPropertiesClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedSubId.cs index 696681a920f..3e52d422cda 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } - /// /// The MixedSubIdSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Model200Response.cs index a6022a5f9cc..ab4f834709d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value!.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value!.Value); } } - /// /// The Model200ResponseSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ModelClient.cs index 49dcb68c571..a8cd6ac4661 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } - /// /// The ModelClientSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Name.cs index 2632fefd0fa..4ddb70b7daa 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -168,9 +167,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -279,19 +276,15 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value!.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value!.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value!.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value!.Value); } } - /// /// The NameSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index e3a042f07ea..b89a4ee0490 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -189,10 +186,9 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } - /// /// The NotificationtestGetElementsV1ResponseMPayloadSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableClass.cs index 97697787aa3..a85bf165879 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -262,9 +261,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -438,37 +435,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value!.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value!.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value!.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value!.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value!.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value!.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value!.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value!.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value!.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value!.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -489,14 +481,13 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } - /// /// The NullableClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 7db4f508852..03911446342 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -87,9 +86,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,14 +163,13 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value!.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value!.Value); + else + writer.WriteNull("uuid"); } } - /// /// The NullableGuidClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableShape.cs index 25248c75ffa..f4627c95f0a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The NullableShapeSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NumberOnly.cs index b33930dee1b..098e9b97353 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,11 +165,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value!.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value!.Value); } } - /// /// The NumberOnlySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 72d8feb0ba0..98d791a4e6a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -261,14 +258,12 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value!.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value!.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } - /// /// The ObjectWithDeprecatedFieldsSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OneOfString.cs index 269f97ae4fd..5457708fdf7 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -157,7 +154,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OneOfStringSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Order.cs index ad8a7fe42d0..65f82386edd 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -135,7 +134,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -249,9 +247,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -377,26 +373,20 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value!.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value!.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value!.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value!.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value!.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value!.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value!.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value!.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value!.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value!.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value!.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value!.Value); writer.WriteString("status", statusRawValue); } } - /// /// The OrderSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterComposite.cs index 9e354ba3108..f71a17ddc40 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,17 +215,14 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value!.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value!.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value!.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value!.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } - /// /// The OuterCompositeSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnum.cs index 803ca5e1771..0a1fa1bd228 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -189,7 +188,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OuterEnumSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 1d30a9abb74..d77011ea06d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -189,7 +188,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OuterEnumDefaultValueSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 0d9bcfd0835..1655faf87b5 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -180,7 +179,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OuterEnumIntegerSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index b0d7b8ea075..0c5130abf7b 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -180,7 +179,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OuterEnumIntegerDefaultValueSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumTest.cs index 56a81b57e54..b65b2ae564a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -259,7 +258,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The OuterEnumTestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ParentPet.cs index 6218c3add48..ac1673d8522 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -63,7 +62,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -158,7 +156,6 @@ namespace Org.OpenAPITools.Model writer.WriteString("pet_type", parentPet.PetType); } } - /// /// The ParentPetSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pet.cs index f055e78da6e..3cd9c91880a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -135,7 +134,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -235,9 +233,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -375,19 +371,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value!.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value!.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value!.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value!.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { @@ -396,7 +390,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The PetSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pig.cs index 57c4f9a9121..b612744301a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The PigSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index 9e1aaafe221..0bcd43cf132 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -121,9 +120,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The PolymorphicPropertySerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Quadrilateral.cs index 8e308392490..90165eb7688 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The QuadrilateralSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 3d15636fda9..9a3fea60e8b 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,9 +78,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } - /// /// The QuadrilateralInterfaceSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 4d458434bb1..6f7ed8d22d5 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,14 +231,12 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } - /// /// The ReadOnlyFirstSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RequiredClass.cs index f8095975d33..fdee343e827 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -189,7 +188,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -254,7 +252,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -410,7 +407,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -481,7 +477,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -553,7 +548,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -716,7 +710,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -801,7 +794,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -873,7 +865,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1039,7 +1030,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1124,7 +1114,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1189,7 +1178,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1348,7 +1336,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1702,9 +1689,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2184,78 +2169,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value!.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value!.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value!.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value!.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value!.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value!.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value!.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value!.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value!.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value!.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value!.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value!.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value!.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value!.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value!.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value!.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value!.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value!.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue!.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value!.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value!.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2263,31 +2230,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value!.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value!.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value!.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value!.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value!.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value!.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value!.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value!.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value!.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value!.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2301,19 +2264,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value!.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value!.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2321,42 +2282,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString!.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString!.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2368,17 +2323,15 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } - /// /// The RequiredClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Return.cs index 14b4548c610..aa84143575d 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -120,9 +119,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -232,21 +229,17 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value!.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value!.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } - /// /// The ReturnSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 8df9de9ae71..f7f291858db 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -200,11 +197,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value!.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value!.Value); } } - /// /// The RolesReportsHashSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index ba4ac84d8e2..6beb59607de 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } - /// /// The RolesReportsHashRoleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 6ce8c2b68a1..2649e0b72aa 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } - /// /// The ScaleneTriangleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Shape.cs index 71620d915bb..116e2aec801 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The ShapeSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeInterface.cs index 3070f52be3a..a276fecd181 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,9 +78,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } - /// /// The ShapeInterfaceSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 37b5fddee5e..37d12e3a473 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -101,9 +100,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The ShapeOrNullSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index 61ff978f3c2..79640550c0b 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -88,9 +87,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } - /// /// The SimpleQuadrilateralSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SpecialModelName.cs index c72f3539283..7aa0e70c454 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value!.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value!.Value); } } - /// /// The SpecialModelNameSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Tag.cs index 9ac29533f72..62d58fc6c20 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -102,9 +101,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value!.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value!.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } - /// /// The TagSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index b5f8d88ed68..f4330aada30 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } - /// /// The TestCollectionEndingWithWordListSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index bfc3a14472d..f6b40f73c72 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ namespace Org.OpenAPITools.Model } } } - /// /// The TestCollectionEndingWithWordListObjectSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index de60d7c2281..cc8fed138de 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -86,9 +85,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } - /// /// The TestInlineFreeformAdditionalPropertiesRequestSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Triangle.cs index 5c249041025..0692acea52f 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -116,9 +115,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -269,7 +266,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The TriangleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TriangleInterface.cs index a2ef4da28f5..1eb7099fdd4 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -79,9 +78,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } - /// /// The TriangleInterfaceSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/User.cs index 6692b4f2509..8c0fc49c6e7 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -267,9 +266,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -459,19 +456,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value!.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value!.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -484,20 +477,16 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value!.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value!.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } - /// /// The UserSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Whale.cs index f3f3e60766d..7119c62237a 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -111,9 +110,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,16 +211,13 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value!.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value!.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value!.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value!.Value); } } - /// /// The WhaleSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Zebra.cs index 0d0e7222c42..3f1208d4753 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -126,7 +125,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -175,9 +173,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -271,13 +267,11 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value!.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value!.Value); writer.WriteString("type", typeRawValue); } } - /// /// The ZebraSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 15c22d0fc3b..f2668c6162e 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -175,7 +174,6 @@ namespace Org.OpenAPITools.Model } } - /// /// The ZeroBasedEnumSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 74792442fd0..c641326f6fd 100644 --- a/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/net8/SourceGeneration/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -110,7 +109,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -152,9 +150,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +235,6 @@ namespace Org.OpenAPITools.Model writer.WriteString("ZeroBasedEnum", zeroBasedEnumRawValue); } } - /// /// The ZeroBasedEnumClassSerializationContext /// diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs index 7782f09b34b..e8bd67eb3aa 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -144,8 +143,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterNowGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -165,8 +163,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorNowGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -293,9 +290,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NowGet200Response? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -323,7 +320,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs index f7cda3e72ce..b78d082cc46 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 0027952859d..21f45d3a7e3 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 1ebd1220b62..f60fda93b79 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index e92db186bb6..35023389e49 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs index 1c1677e3e3c..9bb8aac2b31 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/Option.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 30ef4703319..765c4da41eb 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs index d9c84d5cc77..b9db4a74c79 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; diff --git a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs index d07559ec527..bcdb3f837c8 100644 --- a/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs +++ b/samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - #nullable enable using System; @@ -93,9 +92,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NowGet200Response nowGet200Response, JsonSerializerOptions jsonSerializerOptions) { - if (nowGet200Response.NowOption.IsSet) - writer.WriteString("now", nowGet200Response.NowOption.Value!.Value.ToString(NowFormat)); - - if (nowGet200Response.TodayOption.IsSet) - writer.WriteString("today", nowGet200Response.TodayOption.Value!.Value.ToString(TodayFormat)); + if (nowGet200Response.NowOption.IsSet) + writer.WriteString("now", nowGet200Response.NowOption.Value!.Value.ToString(NowFormat)); + if (nowGet200Response.TodayOption.IsSet) + writer.WriteString("today", nowGet200Response.TodayOption.Value!.Value.ToString(TodayFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs index 57b7fd8511d..2cdf103f338 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/AnotherFakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -192,8 +191,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCall123TestSpecialTags(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -215,8 +213,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -362,9 +359,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -392,7 +389,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs index e2f9ed3767b..ac434f7fe38 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/DefaultApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -390,8 +389,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFooGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -411,8 +409,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFooGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -538,9 +535,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.FooGetDefaultResponse Default() { // This logic may be modified with the AsModel.mustache template - return IsDefault - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsDefault + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -568,7 +565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -597,8 +594,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetCountry(ref suppressDefaultLog, apiResponseLocalVar, country); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -620,8 +616,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetCountry(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, country); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -763,7 +758,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -778,8 +773,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterHello(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -799,8 +793,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorHello(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -926,9 +919,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -956,7 +949,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -971,8 +964,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterRolesReportGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -992,8 +984,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorRolesReportGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1119,9 +1110,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1149,7 +1140,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1164,8 +1155,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTest(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1185,8 +1175,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTest(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1312,9 +1301,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.NotificationtestGetElementsV1ResponseMPayload Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1342,7 +1331,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs index 0df3dc21b8d..478690ddc3b 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -1299,8 +1298,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeHealthGet(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1320,8 +1318,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeHealthGet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1447,9 +1444,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.HealthCheckResult Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1477,7 +1474,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1495,8 +1492,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterBooleanSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1518,8 +1514,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1664,9 +1659,9 @@ namespace Org.OpenAPITools.Api public bool? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1694,7 +1689,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1723,8 +1718,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterCompositeSerialize(ref suppressDefaultLog, apiResponseLocalVar, outerComposite); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1746,8 +1740,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, outerComposite); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1894,9 +1887,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.OuterComposite Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1924,7 +1917,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1942,8 +1935,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterNumberSerialize(ref suppressDefaultLog, apiResponseLocalVar, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1965,8 +1957,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2111,9 +2102,9 @@ namespace Org.OpenAPITools.Api public decimal? Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2141,7 +2132,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2171,8 +2162,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFakeOuterStringSerialize(ref suppressDefaultLog, apiResponseLocalVar, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2196,8 +2186,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredStringUuid, body); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2353,9 +2342,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2383,7 +2372,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2398,8 +2387,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetArrayOfEnums(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2419,8 +2407,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetArrayOfEnums(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2546,9 +2533,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2576,7 +2563,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2591,8 +2578,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedAnyOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2612,8 +2598,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedAnyOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2739,9 +2724,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedAnyOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2769,7 +2754,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2784,8 +2769,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetMixedOneOf(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2805,8 +2789,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetMixedOneOf(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2932,9 +2915,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.MixedOneOf Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2962,7 +2945,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2991,8 +2974,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestAdditionalPropertiesReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3014,8 +2996,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3151,7 +3132,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3180,8 +3161,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithFileSchema(ref suppressDefaultLog, apiResponseLocalVar, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3203,8 +3183,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, fileSchemaTestClass); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3340,7 +3319,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3374,8 +3353,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestBodyWithQueryParams(ref suppressDefaultLog, apiResponseLocalVar, query, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3399,8 +3377,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, query, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3545,7 +3522,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3574,8 +3551,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClientModel(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3597,8 +3573,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClientModel(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -3744,9 +3719,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -3774,7 +3749,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -3836,8 +3811,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEndpointParameters(ref suppressDefaultLog, apiResponseLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -3885,8 +3859,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEndpointParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4120,7 +4093,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4176,8 +4149,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestEnumParameters(ref suppressDefaultLog, apiResponseLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4213,8 +4185,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestEnumParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4407,7 +4378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4430,8 +4401,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestGroupParameters(ref suppressDefaultLog, apiResponseLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4463,8 +4433,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestGroupParameters(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4628,7 +4597,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4657,8 +4626,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4680,8 +4648,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -4817,7 +4784,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -4846,8 +4813,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, apiResponseLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -4869,8 +4835,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5006,7 +4971,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5040,8 +5005,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestJsonFormData(ref suppressDefaultLog, apiResponseLocalVar, param, param2); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5065,8 +5029,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestJsonFormData(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, param, param2); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5213,7 +5176,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5274,8 +5237,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestQueryParameterCollectionFormat(ref suppressDefaultLog, apiResponseLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5313,8 +5275,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5478,7 +5439,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -5507,8 +5468,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestStringMapReference(ref suppressDefaultLog, apiResponseLocalVar, requestBody); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -5530,8 +5490,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestStringMapReference(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, requestBody); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -5667,7 +5626,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs index 6417fde05b9..624f3228efc 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/FakeClassnameTags123Api.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -192,8 +191,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterTestClassname(ref suppressDefaultLog, apiResponseLocalVar, modelClient); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -215,8 +213,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorTestClassname(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, modelClient); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -375,9 +372,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ModelClient Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -405,7 +402,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/PetApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/PetApi.cs index db54750a432..915fbcc58dd 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/PetApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/PetApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -696,8 +695,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterAddPet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -719,8 +717,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorAddPet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -878,7 +875,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -908,8 +905,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeletePet(ref suppressDefaultLog, apiResponseLocalVar, petId, apiKey); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -933,8 +929,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeletePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, apiKey); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1074,7 +1069,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1103,8 +1098,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByStatus(ref suppressDefaultLog, apiResponseLocalVar, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1126,8 +1120,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByStatus(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1288,9 +1281,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1350,7 +1343,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1379,8 +1372,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterFindPetsByTags(ref suppressDefaultLog, apiResponseLocalVar, tags); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1402,8 +1394,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorFindPetsByTags(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, tags); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1564,9 +1555,9 @@ namespace Org.OpenAPITools.Api public List Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1600,7 +1591,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1618,8 +1609,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetPetById(ref suppressDefaultLog, apiResponseLocalVar, petId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1641,8 +1631,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetPetById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1792,9 +1781,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Pet Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1834,7 +1823,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1863,8 +1852,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePet(ref suppressDefaultLog, apiResponseLocalVar, pet); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1886,8 +1874,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePet(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, pet); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2057,7 +2044,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2092,8 +2079,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdatePetWithForm(ref suppressDefaultLog, apiResponseLocalVar, petId, name, status); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2119,8 +2105,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdatePetWithForm(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, name, status); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2282,7 +2267,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2317,8 +2302,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFile(ref suppressDefaultLog, apiResponseLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2344,8 +2328,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, additionalMetadata, file); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2517,9 +2500,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2547,7 +2530,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2582,8 +2565,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUploadFileWithRequiredFile(ref suppressDefaultLog, apiResponseLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2609,8 +2591,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, petId, requiredFile, additionalMetadata); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2782,9 +2763,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.ApiResponse Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2812,7 +2793,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs index 52a7f2d5612..48e5c52e70f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/StoreApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -379,8 +378,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteOrder(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -402,8 +400,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -532,7 +529,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -547,8 +544,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetInventory(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -568,8 +564,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetInventory(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -704,9 +699,9 @@ namespace Org.OpenAPITools.Api public Dictionary Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize>(RawContent, _jsonSerializerOptions) + : default; } /// @@ -734,7 +729,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -752,8 +747,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetOrderById(ref suppressDefaultLog, apiResponseLocalVar, orderId); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -775,8 +769,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetOrderById(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, orderId); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -909,9 +902,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -951,7 +944,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -980,8 +973,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterPlaceOrder(ref suppressDefaultLog, apiResponseLocalVar, order); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1003,8 +995,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorPlaceOrder(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, order); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1151,9 +1142,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.Order Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1187,7 +1178,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/UserApi.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/UserApi.cs index d29929bbd0f..0956ec8e82c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/UserApi.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Api/UserApi.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Net; @@ -621,8 +620,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUser(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -644,8 +642,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -781,7 +778,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -810,8 +807,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithArrayInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -833,8 +829,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -970,7 +965,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -999,8 +994,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterCreateUsersWithListInput(ref suppressDefaultLog, apiResponseLocalVar, user); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1022,8 +1016,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1159,7 +1152,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1188,8 +1181,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterDeleteUser(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1211,8 +1203,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorDeleteUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1341,7 +1332,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1370,8 +1361,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterGetUserByName(ref suppressDefaultLog, apiResponseLocalVar, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1393,8 +1383,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorGetUserByName(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1529,9 +1518,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1585,9 +1574,9 @@ namespace Org.OpenAPITools.Api public Org.OpenAPITools.Model.User CustomHttpStatusCode599() { // This logic may be modified with the AsModel.mustache template - return IsCustomHttpStatusCode599 - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsCustomHttpStatusCode599 + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1615,7 +1604,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1649,8 +1638,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLoginUser(ref suppressDefaultLog, apiResponseLocalVar, password, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1674,8 +1662,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLoginUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, password, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -1819,9 +1806,9 @@ namespace Org.OpenAPITools.Api public string Ok() { // This logic may be modified with the AsModel.mustache template - return IsOk - ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1855,7 +1842,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -1870,8 +1857,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterLogoutUser(ref suppressDefaultLog, apiResponseLocalVar); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -1891,8 +1877,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorLogoutUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2007,7 +1992,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); @@ -2041,8 +2026,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; AfterUpdateUser(ref suppressDefaultLog, apiResponseLocalVar, user, username); if (!suppressDefaultLog) - Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); - } + Logger.LogInformation("{0,-9} | {1} | {3}", (apiResponseLocalVar.DownloadedAt - apiResponseLocalVar.RequestedAt).TotalSeconds, apiResponseLocalVar.StatusCode, apiResponseLocalVar.Path); } /// /// Processes the server response @@ -2066,8 +2050,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLogLocalVar = false; OnErrorUpdateUser(ref suppressDefaultLogLocalVar, exceptionLocalVar, pathFormatLocalVar, pathLocalVar, user, username); if (!suppressDefaultLogLocalVar) - Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); - } + Logger.LogError(exceptionLocalVar, "An error occurred while sending the request to the server."); } /// /// A partial method that gives developers a way to provide customized exception handling @@ -2213,7 +2196,7 @@ namespace Org.OpenAPITools.Api bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); + Logger.LogError(exception, "An error occurred while deserializing the {code} response.", httpStatusCode); } partial void OnDeserializationError(ref bool suppressDefaultLog, Exception exception, HttpStatusCode httpStatusCode); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiException.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiException.cs index fdd11dd19c9..0f220825a1f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiException.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiException.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; namespace Org.OpenAPITools.Client diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs index 1a0d0a71838..729e729265e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/ApiResponse`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Net; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs index 973f9e9d4e8..218395c8830 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs index b491c61f07f..6817e3c3927 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/DateTimeNullableJsonConverter.cs @@ -42,7 +42,6 @@ namespace Org.OpenAPITools.Client "yyyyMMddTHHmmss.fK", "yyyyMMddTHHmmssK", "yyyyMMdd" - }; /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs index 5c4159491ee..f58b4501c67 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/HttpSigningConfiguration.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.IO; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/Option.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/Option.cs index 8cf79a713b7..0d3b4a720e9 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/Option.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/Option.cs @@ -8,7 +8,6 @@ * Generated by: https://github.com/openapitools/openapi-generator.git */ - namespace Org.OpenAPITools.Client { /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs index 534f27a8cc5..1b233732bfc 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/RateLimitProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs index 36d7dad03e2..996fb07a1fa 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Client/TokenProvider`1.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Linq; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs index a5e4bd35e9b..58d445021e5 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index d7b4374e6a7..cf96397d517 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ namespace Org.OpenAPITools.Model if (activityOutputElementRepresentation.Prop2Option.IsSet && activityOutputElementRepresentation.Prop2 == null) throw new ArgumentNullException(nameof(activityOutputElementRepresentation.Prop2), "Property is required for class ActivityOutputElementRepresentation."); - if (activityOutputElementRepresentation.Prop1Option.IsSet) - writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); - - if (activityOutputElementRepresentation.Prop2Option.IsSet) + if (activityOutputElementRepresentation.Prop1Option.IsSet) + writer.WriteString("prop1", activityOutputElementRepresentation.Prop1); + if (activityOutputElementRepresentation.Prop2Option.IsSet) { writer.WritePropertyName("prop2"); JsonSerializer.Serialize(writer, activityOutputElementRepresentation.Prop2, jsonSerializerOptions); diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index ec17222fbc8..9eef9e63b10 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -196,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 74cb14f52d9..c574d5a2ea6 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -100,9 +99,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", animal.ClassName); - if (animal.ColorOption.IsSet) - writer.WriteString("color", animal.Color); + if (animal.ColorOption.IsSet) + writer.WriteString("color", animal.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index 77ec0bd5ed2..3b312a560cb 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ namespace Org.OpenAPITools.Model if (apiResponse.TypeOption.IsSet && apiResponse.Type == null) throw new ArgumentNullException(nameof(apiResponse.Type), "Property is required for class ApiResponse."); - if (apiResponse.CodeOption.IsSet) - writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); - - if (apiResponse.MessageOption.IsSet) - writer.WriteString("message", apiResponse.Message); - - if (apiResponse.TypeOption.IsSet) - writer.WriteString("type", apiResponse.Type); + if (apiResponse.CodeOption.IsSet) + writer.WriteNumber("code", apiResponse.CodeOption.Value.Value); + if (apiResponse.MessageOption.IsSet) + writer.WriteString("message", apiResponse.Message); + if (apiResponse.TypeOption.IsSet) + writer.WriteString("type", apiResponse.Type); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs index df3bc9af06c..9fda4189530 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -116,38 +115,36 @@ namespace Org.OpenAPITools.Model { if (this.ColorCodeOption.Value != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - - if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + + if (this.ColorCodeOption.Value != null &&!regexColorCode.Match(this.ColorCodeOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } if (this.CultivarOption.Value != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - - if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + + if (this.CultivarOption.Value != null &&!regexCultivar.Match(this.CultivarOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.OriginOption.Value != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.OriginOption.Value != null &&!regexOrigin.Match(this.OriginOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -249,14 +246,12 @@ namespace Org.OpenAPITools.Model if (apple.OriginOption.IsSet && apple.Origin == null) throw new ArgumentNullException(nameof(apple.Origin), "Property is required for class Apple."); - if (apple.ColorCodeOption.IsSet) - writer.WriteString("color_code", apple.ColorCode); - - if (apple.CultivarOption.IsSet) - writer.WriteString("cultivar", apple.Cultivar); - - if (apple.OriginOption.IsSet) - writer.WriteString("origin", apple.Origin); + if (apple.ColorCodeOption.IsSet) + writer.WriteString("color_code", apple.ColorCode); + if (apple.CultivarOption.IsSet) + writer.WriteString("cultivar", apple.Cultivar); + if (apple.OriginOption.IsSet) + writer.WriteString("origin", apple.Origin); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 1cc72ecd59d..44bf8667e20 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ namespace Org.OpenAPITools.Model if (appleReq.Cultivar == null) throw new ArgumentNullException(nameof(appleReq.Cultivar), "Property is required for class AppleReq."); - writer.WriteString("cultivar", appleReq.Cultivar); - - if (appleReq.MealyOption.IsSet) - writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); + writer.WriteString("cultivar", appleReq.Cultivar); + if (appleReq.MealyOption.IsSet) + writer.WriteBoolean("mealy", appleReq.MealyOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index d2398a452ee..f00c246ac84 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index cce8d5d564b..073503dca9e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 3fbc72e2f5a..30a9fd8381d 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs index d92ba4ae6ae..2a87cf4680b 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Banana banana, JsonSerializerOptions jsonSerializerOptions) { - if (banana.LengthCmOption.IsSet) - writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); + if (banana.LengthCmOption.IsSet) + writer.WriteNumber("lengthCm", banana.LengthCmOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index c9734cbe380..f3366e53886 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, BananaReq bananaReq, JsonSerializerOptions jsonSerializerOptions) { - writer.WriteNumber("lengthCm", bananaReq.LengthCm); - - if (bananaReq.SweetOption.IsSet) - writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); + writer.WriteNumber("lengthCm", bananaReq.LengthCm); + if (bananaReq.SweetOption.IsSet) + writer.WriteBoolean("sweet", bananaReq.SweetOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 9938d89e008..4848a599f7c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (basquePig.ClassName == null) throw new ArgumentNullException(nameof(basquePig.ClassName), "Property is required for class BasquePig."); - writer.WriteString("className", basquePig.ClassName); + writer.WriteString("className", basquePig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index a1fb0b3eb57..55c4682af23 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -164,9 +163,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ namespace Org.OpenAPITools.Model if (capitalization.SmallSnakeOption.IsSet && capitalization.SmallSnake == null) throw new ArgumentNullException(nameof(capitalization.SmallSnake), "Property is required for class Capitalization."); - if (capitalization.ATT_NAMEOption.IsSet) - writer.WriteString("ATT_NAME", capitalization.ATT_NAME); - - if (capitalization.CapitalCamelOption.IsSet) - writer.WriteString("CapitalCamel", capitalization.CapitalCamel); - - if (capitalization.CapitalSnakeOption.IsSet) - writer.WriteString("Capital_Snake", capitalization.CapitalSnake); - - if (capitalization.SCAETHFlowPointsOption.IsSet) - writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); - - if (capitalization.SmallCamelOption.IsSet) - writer.WriteString("smallCamel", capitalization.SmallCamel); - - if (capitalization.SmallSnakeOption.IsSet) - writer.WriteString("small_Snake", capitalization.SmallSnake); + if (capitalization.ATT_NAMEOption.IsSet) + writer.WriteString("ATT_NAME", capitalization.ATT_NAME); + if (capitalization.CapitalCamelOption.IsSet) + writer.WriteString("CapitalCamel", capitalization.CapitalCamel); + if (capitalization.CapitalSnakeOption.IsSet) + writer.WriteString("Capital_Snake", capitalization.CapitalSnake); + if (capitalization.SCAETHFlowPointsOption.IsSet) + writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints); + if (capitalization.SmallCamelOption.IsSet) + writer.WriteString("smallCamel", capitalization.SmallCamel); + if (capitalization.SmallSnakeOption.IsSet) + writer.WriteString("small_Snake", capitalization.SmallSnake); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs index 0ffe1228015..dc43e6dd6cd 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", cat.ClassName); - if (cat.ColorOption.IsSet) - writer.WriteString("color", cat.Color); - - if (cat.DeclawedOption.IsSet) - writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); + if (cat.ColorOption.IsSet) + writer.WriteString("color", cat.Color); + if (cat.DeclawedOption.IsSet) + writer.WriteBoolean("declawed", cat.DeclawedOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs index f483d87f36c..4bf85931618 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -92,9 +91,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ namespace Org.OpenAPITools.Model if (category.Name == null) throw new ArgumentNullException(nameof(category.Name), "Property is required for class Category."); - if (category.IdOption.IsSet) - writer.WriteNumber("id", category.IdOption.Value.Value); - - writer.WriteString("name", category.Name); + if (category.IdOption.IsSet) + writer.WriteNumber("id", category.IdOption.Value.Value); + writer.WriteString("name", category.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 2eb5dd8dc35..6027bde8f37 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -93,7 +92,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ namespace Org.OpenAPITools.Model if (childCat.NameOption.IsSet && childCat.Name == null) throw new ArgumentNullException(nameof(childCat.Name), "Property is required for class ChildCat."); - if (childCat.NameOption.IsSet) - writer.WriteString("name", childCat.Name); - - writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); + if (childCat.NameOption.IsSet) + writer.WriteString("name", childCat.Name); + writer.WriteString("pet_type", ChildCat.PetTypeEnumToJsonValue(childCat.PetType)); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7c49d7adb55..cb921fcaf86 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (classModel.ClassOption.IsSet && classModel.Class == null) throw new ArgumentNullException(nameof(classModel.Class), "Property is required for class ClassModel."); - if (classModel.ClassOption.IsSet) - writer.WriteString("_class", classModel.Class); + if (classModel.ClassOption.IsSet) + writer.WriteString("_class", classModel.Class); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 3023a45610e..34179cf3eeb 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (complexQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(complexQuadrilateral.ShapeType), "Property is required for class ComplexQuadrilateral."); - writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", complexQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", complexQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", complexQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 14b2ed3b153..b689eff90ae 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (danishPig.ClassName == null) throw new ArgumentNullException(nameof(danishPig.ClassName), "Property is required for class DanishPig."); - writer.WriteString("className", danishPig.ClassName); + writer.WriteString("className", danishPig.ClassName); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 1c478cf336d..eb80cbda5ff 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, JsonSerializerOptions jsonSerializerOptions) { - if (dateOnlyClass.DateOnlyPropertyOption.IsSet) - writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); + if (dateOnlyClass.DateOnlyPropertyOption.IsSet) + writer.WriteString("dateOnlyProperty", dateOnlyClass.DateOnlyPropertyOption.Value.Value.ToString(DateOnlyPropertyFormat)); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 08067c5cc07..ab41548c768 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (deprecatedObject.NameOption.IsSet && deprecatedObject.Name == null) throw new ArgumentNullException(nameof(deprecatedObject.Name), "Property is required for class DeprecatedObject."); - if (deprecatedObject.NameOption.IsSet) - writer.WriteString("name", deprecatedObject.Name); + if (deprecatedObject.NameOption.IsSet) + writer.WriteString("name", deprecatedObject.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 605dc512434..486f9de7413 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -77,7 +76,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ namespace Org.OpenAPITools.Model writer.WriteString("className", dog.ClassName); - if (dog.BreedOption.IsSet) - writer.WriteString("breed", dog.Breed); - - if (dog.ColorOption.IsSet) - writer.WriteString("color", dog.Color); + if (dog.BreedOption.IsSet) + writer.WriteString("breed", dog.Breed); + if (dog.ColorOption.IsSet) + writer.WriteString("color", dog.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index a853b96144e..d0abaf05c05 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,9 +130,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index b6716a58e53..23f818fe472 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -109,7 +108,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs index b1aff0adf0d..9e4dceb7731 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 08e96129872..9970b90fe0b 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -207,7 +206,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ namespace Org.OpenAPITools.Model { var enumStringRequiredRawValue = EnumTest.EnumStringRequiredEnumToJsonValue(enumTest.EnumStringRequired); writer.WriteString("enum_string_required", enumStringRequiredRawValue); - if (enumTest.EnumIntegerOption.IsSet) - writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); - - if (enumTest.EnumIntegerOnlyOption.IsSet) - writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); - - if (enumTest.EnumNumberOption.IsSet) - writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); - - var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); + if (enumTest.EnumIntegerOption.IsSet) + writer.WriteNumber("enum_integer", EnumTest.EnumIntegerEnumToJsonValue(enumTest.EnumIntegerOption.Value.Value)); + if (enumTest.EnumIntegerOnlyOption.IsSet) + writer.WriteNumber("enum_integer_only", EnumTest.EnumIntegerOnlyEnumToJsonValue(enumTest.EnumIntegerOnlyOption.Value.Value)); + if (enumTest.EnumNumberOption.IsSet) + writer.WriteNumber("enum_number", EnumTest.EnumNumberEnumToJsonValue(enumTest.EnumNumberOption.Value.Value)); + var enumStringRawValue = EnumTest.EnumStringEnumToJsonValue(enumTest.EnumStringOption.Value.Value); writer.WriteString("enum_string", enumStringRawValue); if (enumTest.OuterEnumOption.IsSet) if (enumTest.OuterEnumOption.Value != null) diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d65c7740e5e..4c6b57312e5 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (equilateralTriangle.TriangleType == null) throw new ArgumentNullException(nameof(equilateralTriangle.TriangleType), "Property is required for class EquilateralTriangle."); - writer.WriteString("shapeType", equilateralTriangle.ShapeType); - - writer.WriteString("triangleType", equilateralTriangle.TriangleType); + writer.WriteString("shapeType", equilateralTriangle.ShapeType); + writer.WriteString("triangleType", equilateralTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs index 092f10c0932..9d2bdcce286 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ namespace Org.OpenAPITools.Model if (file.SourceURIOption.IsSet && file.SourceURI == null) throw new ArgumentNullException(nameof(file.SourceURI), "Property is required for class File."); - if (file.SourceURIOption.IsSet) - writer.WriteString("sourceURI", file.SourceURI); + if (file.SourceURIOption.IsSet) + writer.WriteString("sourceURI", file.SourceURI); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index f9d9d9f7a7b..6e1c51ef8b0 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3eeca0aa211..d82c3b21439 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (foo.BarOption.IsSet && foo.Bar == null) throw new ArgumentNullException(nameof(foo.Bar), "Property is required for class Foo."); - if (foo.BarOption.IsSet) - writer.WriteString("bar", foo.Bar); + if (foo.BarOption.IsSet) + writer.WriteString("bar", foo.Bar); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index c7d04366611..274ef7b4267 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index 86d63c7ac5f..285c83264ae 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -538,42 +537,42 @@ namespace Org.OpenAPITools.Model if (this.PatternWithBackslashOption.Value != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - - if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + + if (this.PatternWithBackslashOption.Value != null &&!regexPatternWithBackslash.Match(this.PatternWithBackslashOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } if (this.PatternWithDigitsOption.Value != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - - if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + + if (this.PatternWithDigitsOption.Value != null &&!regexPatternWithDigits.Match(this.PatternWithDigitsOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiterOption.Value != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.PatternWithDigitsAndDelimiterOption.Value != null &&!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiterOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.StringOption.Value != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - - if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + + if (this.StringOption.Value != null &&!regexString.Match(this.StringOption.Value).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // UnsignedInteger (uint) maximum @@ -589,9 +588,7 @@ namespace Org.OpenAPITools.Model } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("byte"); JsonSerializer.Serialize(writer, formatTest.Byte, jsonSerializerOptions); - writer.WriteString("date", formatTest.Date.ToString(DateFormat)); - - writer.WriteNumber("number", formatTest.Number); - - writer.WriteString("password", formatTest.Password); - - if (formatTest.BinaryOption.IsSet) + writer.WriteString("date", formatTest.Date.ToString(DateFormat)); + writer.WriteNumber("number", formatTest.Number); + writer.WriteString("password", formatTest.Password); + if (formatTest.BinaryOption.IsSet) { writer.WritePropertyName("binary"); JsonSerializer.Serialize(writer, formatTest.Binary, jsonSerializerOptions); } - if (formatTest.DateTimeOption.IsSet) - writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (formatTest.DecimalOption.IsSet) + if (formatTest.DateTimeOption.IsSet) + writer.WriteString("dateTime", formatTest.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (formatTest.DecimalOption.IsSet) { writer.WritePropertyName("decimal"); JsonSerializer.Serialize(writer, formatTest.Decimal, jsonSerializerOptions); } - if (formatTest.DoubleOption.IsSet) - writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); - - if (formatTest.FloatOption.IsSet) - writer.WriteNumber("float", formatTest.FloatOption.Value.Value); - - if (formatTest.Int32Option.IsSet) - writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); - - if (formatTest.Int32RangeOption.IsSet) - writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); - - if (formatTest.Int64Option.IsSet) - writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); - - if (formatTest.Int64NegativeOption.IsSet) - writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); - - if (formatTest.Int64NegativeExclusiveOption.IsSet) - writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); - - if (formatTest.Int64PositiveOption.IsSet) - writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); - - if (formatTest.Int64PositiveExclusiveOption.IsSet) - writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); - - if (formatTest.IntegerOption.IsSet) - writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); - - if (formatTest.PatternWithBackslashOption.IsSet) - writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); - - if (formatTest.PatternWithDigitsOption.IsSet) - writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); - - if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) - writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); - - if (formatTest.StringOption.IsSet) - writer.WriteString("string", formatTest.String); - - if (formatTest.UnsignedIntegerOption.IsSet) - writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); - - if (formatTest.UnsignedLongOption.IsSet) - writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); - - if (formatTest.UuidOption.IsSet) - writer.WriteString("uuid", formatTest.UuidOption.Value.Value); + if (formatTest.DoubleOption.IsSet) + writer.WriteNumber("double", formatTest.DoubleOption.Value.Value); + if (formatTest.FloatOption.IsSet) + writer.WriteNumber("float", formatTest.FloatOption.Value.Value); + if (formatTest.Int32Option.IsSet) + writer.WriteNumber("int32", formatTest.Int32Option.Value.Value); + if (formatTest.Int32RangeOption.IsSet) + writer.WriteNumber("int32Range", formatTest.Int32RangeOption.Value.Value); + if (formatTest.Int64Option.IsSet) + writer.WriteNumber("int64", formatTest.Int64Option.Value.Value); + if (formatTest.Int64NegativeOption.IsSet) + writer.WriteNumber("int64Negative", formatTest.Int64NegativeOption.Value.Value); + if (formatTest.Int64NegativeExclusiveOption.IsSet) + writer.WriteNumber("int64NegativeExclusive", formatTest.Int64NegativeExclusiveOption.Value.Value); + if (formatTest.Int64PositiveOption.IsSet) + writer.WriteNumber("int64Positive", formatTest.Int64PositiveOption.Value.Value); + if (formatTest.Int64PositiveExclusiveOption.IsSet) + writer.WriteNumber("int64PositiveExclusive", formatTest.Int64PositiveExclusiveOption.Value.Value); + if (formatTest.IntegerOption.IsSet) + writer.WriteNumber("integer", formatTest.IntegerOption.Value.Value); + if (formatTest.PatternWithBackslashOption.IsSet) + writer.WriteString("pattern_with_backslash", formatTest.PatternWithBackslash); + if (formatTest.PatternWithDigitsOption.IsSet) + writer.WriteString("pattern_with_digits", formatTest.PatternWithDigits); + if (formatTest.PatternWithDigitsAndDelimiterOption.IsSet) + writer.WriteString("pattern_with_digits_and_delimiter", formatTest.PatternWithDigitsAndDelimiter); + if (formatTest.StringOption.IsSet) + writer.WriteString("string", formatTest.String); + if (formatTest.UnsignedIntegerOption.IsSet) + writer.WriteNumber("unsigned_integer", formatTest.UnsignedIntegerOption.Value.Value); + if (formatTest.UnsignedLongOption.IsSet) + writer.WriteNumber("unsigned_long", formatTest.UnsignedLongOption.Value.Value); + if (formatTest.UuidOption.IsSet) + writer.WriteString("uuid", formatTest.UuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Fruit.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Fruit.cs index cc8b4530f01..f1ec3159ed1 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Fruit.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Fruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ namespace Org.OpenAPITools.Model if (fruit.ColorOption.IsSet && fruit.Color == null) throw new ArgumentNullException(nameof(fruit.Color), "Property is required for class Fruit."); - if (fruit.ColorOption.IsSet) - writer.WriteString("color", fruit.Color); + if (fruit.ColorOption.IsSet) + writer.WriteString("color", fruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs index 1e72875d4d3..c9711ef9205 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/FruitReq.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -81,9 +80,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs index 78cb87b61a3..5b356ea284f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GmFruit.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -103,9 +102,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ namespace Org.OpenAPITools.Model if (gmFruit.ColorOption.IsSet && gmFruit.Color == null) throw new ArgumentNullException(nameof(gmFruit.Color), "Property is required for class GmFruit."); - if (gmFruit.ColorOption.IsSet) - writer.WriteString("color", gmFruit.Color); + if (gmFruit.ColorOption.IsSet) + writer.WriteString("color", gmFruit.Color); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index b23e4826fd6..294ed66fcca 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index a4e67f73a8e..dd2d22efc53 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -140,9 +139,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ namespace Org.OpenAPITools.Model if (hasOnlyReadOnly.FooOption.IsSet && hasOnlyReadOnly.Foo == null) throw new ArgumentNullException(nameof(hasOnlyReadOnly.Foo), "Property is required for class HasOnlyReadOnly."); - if (hasOnlyReadOnly.BarOption.IsSet) - writer.WriteString("bar", hasOnlyReadOnly.Bar); - - if (hasOnlyReadOnly.FooOption.IsSet) - writer.WriteString("foo", hasOnlyReadOnly.Foo); + if (hasOnlyReadOnly.BarOption.IsSet) + writer.WriteString("bar", hasOnlyReadOnly.Bar); + if (hasOnlyReadOnly.FooOption.IsSet) + writer.WriteString("foo", hasOnlyReadOnly.Foo); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 16afc025fa0..e1e0d40f4ac 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, HealthCheckResult healthCheckResult, JsonSerializerOptions jsonSerializerOptions) { - if (healthCheckResult.NullableMessageOption.IsSet) - if (healthCheckResult.NullableMessageOption.Value != null) - writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); - else - writer.WriteNull("NullableMessage"); + if (healthCheckResult.NullableMessageOption.IsSet) + if (healthCheckResult.NullableMessageOption.Value != null) + writer.WriteString("NullableMessage", healthCheckResult.NullableMessage); + else + writer.WriteNull("NullableMessage"); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index cce85952411..73a93b84842 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -78,9 +77,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ namespace Org.OpenAPITools.Model if (isoscelesTriangle.TriangleType == null) throw new ArgumentNullException(nameof(isoscelesTriangle.TriangleType), "Property is required for class IsoscelesTriangle."); - writer.WriteString("shapeType", isoscelesTriangle.ShapeType); - - writer.WriteString("triangleType", isoscelesTriangle.TriangleType); + writer.WriteString("shapeType", isoscelesTriangle.ShapeType); + writer.WriteString("triangleType", isoscelesTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs index 050d58f85c2..7dcc77628b9 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (list.Var123ListOption.IsSet && list.Var123List == null) throw new ArgumentNullException(nameof(list.Var123List), "Property is required for class List."); - if (list.Var123ListOption.IsSet) - writer.WriteString("123-list", list.Var123List); + if (list.Var123ListOption.IsSet) + writer.WriteString("123-list", list.Var123List); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 522ba51e6cb..fa3c03f346f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ namespace Org.OpenAPITools.Model if (literalStringClass.UnescapedLiteralStringOption.IsSet && literalStringClass.UnescapedLiteralString == null) throw new ArgumentNullException(nameof(literalStringClass.UnescapedLiteralString), "Property is required for class LiteralStringClass."); - if (literalStringClass.EscapedLiteralStringOption.IsSet) - writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); - - if (literalStringClass.UnescapedLiteralStringOption.IsSet) - writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); + if (literalStringClass.EscapedLiteralStringOption.IsSet) + writer.WriteString("escapedLiteralString", literalStringClass.EscapedLiteralString); + if (literalStringClass.UnescapedLiteralStringOption.IsSet) + writer.WriteString("unescapedLiteralString", literalStringClass.UnescapedLiteralString); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Mammal.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Mammal.cs index 267ac8769d3..401b68452ac 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Mammal.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Mammal.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 97588d56888..f6e951e924e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,7 +112,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index d18711f5103..31dd097161f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -532,9 +531,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ namespace Org.OpenAPITools.Model if (mixLog.ProductNameOption.IsSet && mixLog.ProductName == null) throw new ArgumentNullException(nameof(mixLog.ProductName), "Property is required for class MixLog."); - writer.WriteString("description", mixLog.Description); - - writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); - - writer.WriteString("id", mixLog.Id); - - writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); - - writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); - - writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); - - writer.WriteNumber("totalSkips", mixLog.TotalSkips); - - writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); - - if (mixLog.BatchNumberOption.IsSet) - writer.WriteString("batchNumber", mixLog.BatchNumber); - - if (mixLog.BrandCodeOption.IsSet) - writer.WriteString("brandCode", mixLog.BrandCode); - - if (mixLog.BrandIdOption.IsSet) - writer.WriteString("brandId", mixLog.BrandId); - - if (mixLog.BrandNameOption.IsSet) - writer.WriteString("brandName", mixLog.BrandName); - - if (mixLog.CategoryCodeOption.IsSet) - writer.WriteString("categoryCode", mixLog.CategoryCode); - - if (mixLog.ColorOption.IsSet) - writer.WriteString("color", mixLog.Color); - - if (mixLog.ColorDescriptionOption.IsSet) - writer.WriteString("colorDescription", mixLog.ColorDescription); - - if (mixLog.CommentOption.IsSet) - writer.WriteString("comment", mixLog.Comment); - - if (mixLog.CommercialProductCodeOption.IsSet) - writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); - - if (mixLog.CountryOption.IsSet) - writer.WriteString("country", mixLog.Country); - - if (mixLog.CreatedByOption.IsSet) - writer.WriteString("createdBy", mixLog.CreatedBy); - - if (mixLog.CreatedByFirstNameOption.IsSet) - writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); - - if (mixLog.CreatedByLastNameOption.IsSet) - writer.WriteString("createdByLastName", mixLog.CreatedByLastName); - - if (mixLog.DeltaECalculationRepairedOption.IsSet) - writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); - - if (mixLog.DeltaECalculationSprayoutOption.IsSet) - writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); - - if (mixLog.OwnColorVariantNumberOption.IsSet) - if (mixLog.OwnColorVariantNumberOption.Value != null) - writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); - else - writer.WriteNull("ownColorVariantNumber"); - - if (mixLog.PrimerProductIdOption.IsSet) - writer.WriteString("primerProductId", mixLog.PrimerProductId); - - if (mixLog.ProductIdOption.IsSet) - writer.WriteString("productId", mixLog.ProductId); - - if (mixLog.ProductLineCodeOption.IsSet) - writer.WriteString("productLineCode", mixLog.ProductLineCode); - - if (mixLog.ProductNameOption.IsSet) - writer.WriteString("productName", mixLog.ProductName); - - if (mixLog.SelectedVersionIndexOption.IsSet) - writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); - - if (mixLog.ShopIdOption.IsSet) - writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); - - if (mixLog.SomeCodeOption.IsSet) - if (mixLog.SomeCodeOption.Value != null) - writer.WriteString("someCode", mixLog.SomeCode); - else - writer.WriteNull("someCode"); - - if (mixLog.TotalPriceOption.IsSet) - if (mixLog.TotalPriceOption.Value != null) - writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); - else - writer.WriteNull("totalPrice"); + writer.WriteString("description", mixLog.Description); + writer.WriteString("formulaVersionDate", mixLog.FormulaVersionDate.ToString(FormulaVersionDateFormat)); + writer.WriteString("id", mixLog.Id); + writer.WriteString("mixDate", mixLog.MixDate.ToString(MixDateFormat)); + writer.WriteNumber("totalOverPoors", mixLog.TotalOverPoors); + writer.WriteNumber("totalRecalculations", mixLog.TotalRecalculations); + writer.WriteNumber("totalSkips", mixLog.TotalSkips); + writer.WriteNumber("totalUnderPours", mixLog.TotalUnderPours); + if (mixLog.BatchNumberOption.IsSet) + writer.WriteString("batchNumber", mixLog.BatchNumber); + if (mixLog.BrandCodeOption.IsSet) + writer.WriteString("brandCode", mixLog.BrandCode); + if (mixLog.BrandIdOption.IsSet) + writer.WriteString("brandId", mixLog.BrandId); + if (mixLog.BrandNameOption.IsSet) + writer.WriteString("brandName", mixLog.BrandName); + if (mixLog.CategoryCodeOption.IsSet) + writer.WriteString("categoryCode", mixLog.CategoryCode); + if (mixLog.ColorOption.IsSet) + writer.WriteString("color", mixLog.Color); + if (mixLog.ColorDescriptionOption.IsSet) + writer.WriteString("colorDescription", mixLog.ColorDescription); + if (mixLog.CommentOption.IsSet) + writer.WriteString("comment", mixLog.Comment); + if (mixLog.CommercialProductCodeOption.IsSet) + writer.WriteString("commercialProductCode", mixLog.CommercialProductCode); + if (mixLog.CountryOption.IsSet) + writer.WriteString("country", mixLog.Country); + if (mixLog.CreatedByOption.IsSet) + writer.WriteString("createdBy", mixLog.CreatedBy); + if (mixLog.CreatedByFirstNameOption.IsSet) + writer.WriteString("createdByFirstName", mixLog.CreatedByFirstName); + if (mixLog.CreatedByLastNameOption.IsSet) + writer.WriteString("createdByLastName", mixLog.CreatedByLastName); + if (mixLog.DeltaECalculationRepairedOption.IsSet) + writer.WriteString("deltaECalculationRepaired", mixLog.DeltaECalculationRepaired); + if (mixLog.DeltaECalculationSprayoutOption.IsSet) + writer.WriteString("deltaECalculationSprayout", mixLog.DeltaECalculationSprayout); + if (mixLog.OwnColorVariantNumberOption.IsSet) + if (mixLog.OwnColorVariantNumberOption.Value != null) + writer.WriteNumber("ownColorVariantNumber", mixLog.OwnColorVariantNumberOption.Value.Value); + else + writer.WriteNull("ownColorVariantNumber"); + if (mixLog.PrimerProductIdOption.IsSet) + writer.WriteString("primerProductId", mixLog.PrimerProductId); + if (mixLog.ProductIdOption.IsSet) + writer.WriteString("productId", mixLog.ProductId); + if (mixLog.ProductLineCodeOption.IsSet) + writer.WriteString("productLineCode", mixLog.ProductLineCode); + if (mixLog.ProductNameOption.IsSet) + writer.WriteString("productName", mixLog.ProductName); + if (mixLog.SelectedVersionIndexOption.IsSet) + writer.WriteNumber("selectedVersionIndex", mixLog.SelectedVersionIndexOption.Value.Value); + if (mixLog.ShopIdOption.IsSet) + writer.WriteString("shopId", mixLog.ShopIdOption.Value.Value); + if (mixLog.SomeCodeOption.IsSet) + if (mixLog.SomeCodeOption.Value != null) + writer.WriteString("someCode", mixLog.SomeCode); + else + writer.WriteNull("someCode"); + if (mixLog.TotalPriceOption.IsSet) + if (mixLog.TotalPriceOption.Value != null) + writer.WriteNumber("totalPrice", mixLog.TotalPriceOption.Value.Value); + else + writer.WriteNull("totalPrice"); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index c81de3d2f67..7e50c69e51b 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs index 5de026753ef..2416a236128 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -136,9 +135,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 32515bc0440..a4467dcf5ff 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs index 4cb69dae28c..ae6c47f1fd1 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOfContent.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -133,9 +132,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 3cef3330300..a0b39c8f722 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -131,16 +130,14 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - - if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + + if (this.UuidWithPatternOption.Value != null &&!regexUuidWithPattern.Match(this.UuidWithPatternOption.Value.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -252,19 +249,17 @@ namespace Org.OpenAPITools.Model if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet && mixedPropertiesAndAdditionalPropertiesClass.Map == null) throw new ArgumentNullException(nameof(mixedPropertiesAndAdditionalPropertiesClass.Map), "Property is required for class MixedPropertiesAndAdditionalPropertiesClass."); - if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) - writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); - - if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) + if (mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.IsSet) + writer.WriteString("dateTime", mixedPropertiesAndAdditionalPropertiesClass.DateTimeOption.Value.Value.ToString(DateTimeFormat)); + if (mixedPropertiesAndAdditionalPropertiesClass.MapOption.IsSet) { writer.WritePropertyName("map"); JsonSerializer.Serialize(writer, mixedPropertiesAndAdditionalPropertiesClass.Map, jsonSerializerOptions); } - if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) - writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); - - if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) - writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidOption.IsSet) + writer.WriteString("uuid", mixedPropertiesAndAdditionalPropertiesClass.UuidOption.Value.Value); + if (mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.IsSet) + writer.WriteString("uuid_with_pattern", mixedPropertiesAndAdditionalPropertiesClass.UuidWithPatternOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 34198e6f437..03d7fe50ba8 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (mixedSubId.IdOption.IsSet && mixedSubId.Id == null) throw new ArgumentNullException(nameof(mixedSubId.Id), "Property is required for class MixedSubId."); - if (mixedSubId.IdOption.IsSet) - writer.WriteString("id", mixedSubId.Id); + if (mixedSubId.IdOption.IsSet) + writer.WriteString("id", mixedSubId.Id); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index bf37307ad96..63f3b46af6e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (model200Response.ClassOption.IsSet && model200Response.Class == null) throw new ArgumentNullException(nameof(model200Response.Class), "Property is required for class Model200Response."); - if (model200Response.ClassOption.IsSet) - writer.WriteString("class", model200Response.Class); - - if (model200Response.NameOption.IsSet) - writer.WriteNumber("name", model200Response.NameOption.Value.Value); + if (model200Response.ClassOption.IsSet) + writer.WriteString("class", model200Response.Class); + if (model200Response.NameOption.IsSet) + writer.WriteNumber("name", model200Response.NameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 5d459e8b5eb..a1162409132 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (modelClient.VarClientOption.IsSet && modelClient.VarClient == null) throw new ArgumentNullException(nameof(modelClient.VarClient), "Property is required for class ModelClient."); - if (modelClient.VarClientOption.IsSet) - writer.WriteString("client", modelClient.VarClient); + if (modelClient.VarClientOption.IsSet) + writer.WriteString("client", modelClient.VarClient); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs index b322aaf568c..2348f9b6ea3 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -165,9 +164,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ namespace Org.OpenAPITools.Model if (name.PropertyOption.IsSet && name.Property == null) throw new ArgumentNullException(nameof(name.Property), "Property is required for class Name."); - writer.WriteNumber("name", name.VarName); - - if (name.PropertyOption.IsSet) - writer.WriteString("property", name.Property); - - if (name.SnakeCaseOption.IsSet) - writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); - - if (name.Var123NumberOption.IsSet) - writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); + writer.WriteNumber("name", name.VarName); + if (name.PropertyOption.IsSet) + writer.WriteString("property", name.Property); + if (name.SnakeCaseOption.IsSet) + writer.WriteNumber("snake_case", name.SnakeCaseOption.Value.Value); + if (name.Var123NumberOption.IsSet) + writer.WriteNumber("123Number", name.Var123NumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index ea8abdda0d7..705b4a9724a 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("a_objVariableobject"); JsonSerializer.Serialize(writer, notificationtestGetElementsV1ResponseMPayload.AObjVariableobject, jsonSerializerOptions); - writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); + writer.WriteNumber("pkiNotificationtestID", notificationtestGetElementsV1ResponseMPayload.PkiNotificationtestID); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 42533f9c7eb..5be040369fd 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -259,9 +258,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("array_nullable_prop"); - if (nullableClass.BooleanPropOption.IsSet) - if (nullableClass.BooleanPropOption.Value != null) - writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); - else - writer.WriteNull("boolean_prop"); - - if (nullableClass.DatePropOption.IsSet) - if (nullableClass.DatePropOption.Value != null) - writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); - else - writer.WriteNull("date_prop"); - - if (nullableClass.DatetimePropOption.IsSet) - if (nullableClass.DatetimePropOption.Value != null) - writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); - else - writer.WriteNull("datetime_prop"); - - if (nullableClass.IntegerPropOption.IsSet) - if (nullableClass.IntegerPropOption.Value != null) - writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); - else - writer.WriteNull("integer_prop"); - - if (nullableClass.NumberPropOption.IsSet) - if (nullableClass.NumberPropOption.Value != null) - writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); - else - writer.WriteNull("number_prop"); - - if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) + if (nullableClass.BooleanPropOption.IsSet) + if (nullableClass.BooleanPropOption.Value != null) + writer.WriteBoolean("boolean_prop", nullableClass.BooleanPropOption.Value.Value); + else + writer.WriteNull("boolean_prop"); + if (nullableClass.DatePropOption.IsSet) + if (nullableClass.DatePropOption.Value != null) + writer.WriteString("date_prop", nullableClass.DatePropOption.Value.Value.ToString(DatePropFormat)); + else + writer.WriteNull("date_prop"); + if (nullableClass.DatetimePropOption.IsSet) + if (nullableClass.DatetimePropOption.Value != null) + writer.WriteString("datetime_prop", nullableClass.DatetimePropOption.Value.Value.ToString(DatetimePropFormat)); + else + writer.WriteNull("datetime_prop"); + if (nullableClass.IntegerPropOption.IsSet) + if (nullableClass.IntegerPropOption.Value != null) + writer.WriteNumber("integer_prop", nullableClass.IntegerPropOption.Value.Value); + else + writer.WriteNull("integer_prop"); + if (nullableClass.NumberPropOption.IsSet) + if (nullableClass.NumberPropOption.Value != null) + writer.WriteNumber("number_prop", nullableClass.NumberPropOption.Value.Value); + else + writer.WriteNull("number_prop"); + if (nullableClass.ObjectAndItemsNullablePropOption.IsSet) if (nullableClass.ObjectAndItemsNullablePropOption.Value != null) { writer.WritePropertyName("object_and_items_nullable_prop"); @@ -486,11 +478,11 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("object_nullable_prop"); - if (nullableClass.StringPropOption.IsSet) - if (nullableClass.StringPropOption.Value != null) - writer.WriteString("string_prop", nullableClass.StringProp); - else - writer.WriteNull("string_prop"); + if (nullableClass.StringPropOption.IsSet) + if (nullableClass.StringPropOption.Value != null) + writer.WriteString("string_prop", nullableClass.StringProp); + else + writer.WriteNull("string_prop"); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 286d13258dc..f4dcb87a774 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -84,9 +83,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NullableGuidClass nullableGuidClass, JsonSerializerOptions jsonSerializerOptions) { - if (nullableGuidClass.UuidOption.IsSet) - if (nullableGuidClass.UuidOption.Value != null) - writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); - else - writer.WriteNull("uuid"); + if (nullableGuidClass.UuidOption.IsSet) + if (nullableGuidClass.UuidOption.Value != null) + writer.WriteString("uuid", nullableGuidClass.UuidOption.Value.Value); + else + writer.WriteNull("uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs index 9a93cb734e9..c234d27be97 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableShape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 29f5a80e646..abd2ee91e7e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSerializerOptions jsonSerializerOptions) { - if (numberOnly.JustNumberOption.IsSet) - writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); + if (numberOnly.JustNumberOption.IsSet) + writer.WriteNumber("JustNumber", numberOnly.JustNumberOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 83f513bc63b..a81386ab9db 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -134,9 +133,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("deprecatedRef"); JsonSerializer.Serialize(writer, objectWithDeprecatedFields.DeprecatedRef, jsonSerializerOptions); } - if (objectWithDeprecatedFields.IdOption.IsSet) - writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); - - if (objectWithDeprecatedFields.UuidOption.IsSet) - writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); + if (objectWithDeprecatedFields.IdOption.IsSet) + writer.WriteNumber("id", objectWithDeprecatedFields.IdOption.Value.Value); + if (objectWithDeprecatedFields.UuidOption.IsSet) + writer.WriteString("uuid", objectWithDeprecatedFields.Uuid); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs index c89963f55a3..77bb2a7369e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OneOfString.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -73,9 +72,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs index 580ef432ecf..ce567c49227 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ namespace Org.OpenAPITools.Model /// public void WriteProperties(Utf8JsonWriter writer, Order order, JsonSerializerOptions jsonSerializerOptions) { - if (order.CompleteOption.IsSet) - writer.WriteBoolean("complete", order.CompleteOption.Value.Value); - - if (order.IdOption.IsSet) - writer.WriteNumber("id", order.IdOption.Value.Value); - - if (order.PetIdOption.IsSet) - writer.WriteNumber("petId", order.PetIdOption.Value.Value); - - if (order.QuantityOption.IsSet) - writer.WriteNumber("quantity", order.QuantityOption.Value.Value); - - if (order.ShipDateOption.IsSet) - writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); - - var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); + if (order.CompleteOption.IsSet) + writer.WriteBoolean("complete", order.CompleteOption.Value.Value); + if (order.IdOption.IsSet) + writer.WriteNumber("id", order.IdOption.Value.Value); + if (order.PetIdOption.IsSet) + writer.WriteNumber("petId", order.PetIdOption.Value.Value); + if (order.QuantityOption.IsSet) + writer.WriteNumber("quantity", order.QuantityOption.Value.Value); + if (order.ShipDateOption.IsSet) + writer.WriteString("shipDate", order.ShipDateOption.Value.Value.ToString(ShipDateFormat)); + var statusRawValue = Order.StatusEnumToJsonValue(order.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 92ec1939d1a..2cbec554f7c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -115,9 +114,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ namespace Org.OpenAPITools.Model if (outerComposite.MyStringOption.IsSet && outerComposite.MyString == null) throw new ArgumentNullException(nameof(outerComposite.MyString), "Property is required for class OuterComposite."); - if (outerComposite.MyBooleanOption.IsSet) - writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); - - if (outerComposite.MyNumberOption.IsSet) - writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); - - if (outerComposite.MyStringOption.IsSet) - writer.WriteString("my_string", outerComposite.MyString); + if (outerComposite.MyBooleanOption.IsSet) + writer.WriteBoolean("my_boolean", outerComposite.MyBooleanOption.Value.Value); + if (outerComposite.MyNumberOption.IsSet) + writer.WriteNumber("my_number", outerComposite.MyNumberOption.Value.Value); + if (outerComposite.MyStringOption.IsSet) + writer.WriteString("my_string", outerComposite.MyString); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs index 47bb6793c6a..4282e90bd0f 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs index 136fb4c54c4..aa3d355d792 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs index 2ed4f18a657..42215ac7c69 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumInteger.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs index c6a470cc64d..6203818d13c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumIntegerDefaultValue.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs index a2e789f2ede..5e02cf05141 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterEnumTest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 83104e900d0..c2fcaae270c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -60,7 +59,6 @@ namespace Org.OpenAPITools.Model return sb.ToString(); } } - /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 81d80e33de7..73b618198e7 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -132,7 +131,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ namespace Org.OpenAPITools.Model if (pet.TagsOption.IsSet && pet.Tags == null) throw new ArgumentNullException(nameof(pet.Tags), "Property is required for class Pet."); - writer.WriteString("name", pet.Name); - - writer.WritePropertyName("photoUrls"); + writer.WriteString("name", pet.Name); + writer.WritePropertyName("photoUrls"); JsonSerializer.Serialize(writer, pet.PhotoUrls, jsonSerializerOptions); if (pet.CategoryOption.IsSet) { writer.WritePropertyName("category"); JsonSerializer.Serialize(writer, pet.Category, jsonSerializerOptions); } - if (pet.IdOption.IsSet) - writer.WriteNumber("id", pet.IdOption.Value.Value); - - var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); + if (pet.IdOption.IsSet) + writer.WriteNumber("id", pet.IdOption.Value.Value); + var statusRawValue = Pet.StatusEnumToJsonValue(pet.StatusOption.Value.Value); writer.WriteString("status", statusRawValue); if (pet.TagsOption.IsSet) { diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pig.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pig.cs index b6f300c9440..661e350a9d2 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pig.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pig.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs index ddea47edf40..a87c3cadb6b 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/PolymorphicProperty.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -118,9 +117,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs index e8a2e243997..667e7fa2822 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Quadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 519ed66393c..2c5d5dd59f8 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (quadrilateralInterface.QuadrilateralType == null) throw new ArgumentNullException(nameof(quadrilateralInterface.QuadrilateralType), "Property is required for class QuadrilateralInterface."); - writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); + writer.WriteString("quadrilateralType", quadrilateralInterface.QuadrilateralType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index a7cd43316ac..2f95cf4e946 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -137,9 +136,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ namespace Org.OpenAPITools.Model if (readOnlyFirst.BazOption.IsSet && readOnlyFirst.Baz == null) throw new ArgumentNullException(nameof(readOnlyFirst.Baz), "Property is required for class ReadOnlyFirst."); - if (readOnlyFirst.BarOption.IsSet) - writer.WriteString("bar", readOnlyFirst.Bar); - - if (readOnlyFirst.BazOption.IsSet) - writer.WriteString("baz", readOnlyFirst.Baz); + if (readOnlyFirst.BarOption.IsSet) + writer.WriteString("bar", readOnlyFirst.Bar); + if (readOnlyFirst.BazOption.IsSet) + writer.WriteString("baz", readOnlyFirst.Baz); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 0990c0ab7a4..81d8bab84e7 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -186,7 +185,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ namespace Org.OpenAPITools.Model { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ namespace Org.OpenAPITools.Model if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet && requiredClass.NotrequiredNotnullableStringProp == null) throw new ArgumentNullException(nameof(requiredClass.NotrequiredNotnullableStringProp), "Property is required for class RequiredClass."); - writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); - - writer.WritePropertyName("required_notnullable_array_of_string"); + writer.WriteString("required_not_nullable_date_prop", requiredClass.RequiredNotNullableDateProp.ToString(RequiredNotNullableDatePropFormat)); + writer.WritePropertyName("required_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNotnullableArrayOfString, jsonSerializerOptions); - writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); - - writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); - - writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); - - writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); - - var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); + writer.WriteBoolean("required_notnullable_boolean_prop", requiredClass.RequiredNotnullableBooleanProp); + writer.WriteString("required_notnullable_datetime_prop", requiredClass.RequiredNotnullableDatetimeProp.ToString(RequiredNotnullableDatetimePropFormat)); + writer.WriteNumber("required_notnullable_enum_integer", RequiredClass.RequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNotnullableEnumInteger)); + writer.WriteNumber("required_notnullable_enum_integer_only", RequiredClass.RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNotnullableEnumIntegerOnly)); + var requiredNotnullableEnumStringRawValue = RequiredClass.RequiredNotnullableEnumStringEnumToJsonValue(requiredClass.RequiredNotnullableEnumString); writer.WriteString("required_notnullable_enum_string", requiredNotnullableEnumStringRawValue); var requiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.RequiredNotnullableOuterEnumDefaultValue); writer.WriteString("required_notnullable_outerEnumDefaultValue", requiredNotnullableOuterEnumDefaultValueRawValue); - writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); - - writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); - - writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); - - if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) - writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); - - if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) - writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); - - if (requiredClass.NotRequiredNullableDatePropOption.IsSet) - if (requiredClass.NotRequiredNullableDatePropOption.Value != null) - writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); - else - writer.WriteNull("not_required_nullable_date_prop"); - - if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) - if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) - writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); - else - writer.WriteNull("not_required_nullable_integer_prop"); - - if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) + writer.WriteString("required_notnullable_string_prop", requiredClass.RequiredNotnullableStringProp); + writer.WriteString("required_notnullable_uuid", requiredClass.RequiredNotnullableUuid); + writer.WriteNumber("required_notnullableinteger_prop", requiredClass.RequiredNotnullableintegerProp); + if (requiredClass.NotRequiredNotnullableDatePropOption.IsSet) + writer.WriteString("not_required_notnullable_date_prop", requiredClass.NotRequiredNotnullableDatePropOption.Value.Value.ToString(NotRequiredNotnullableDatePropFormat)); + if (requiredClass.NotRequiredNotnullableintegerPropOption.IsSet) + writer.WriteNumber("not_required_notnullableinteger_prop", requiredClass.NotRequiredNotnullableintegerPropOption.Value.Value); + if (requiredClass.NotRequiredNullableDatePropOption.IsSet) + if (requiredClass.NotRequiredNullableDatePropOption.Value != null) + writer.WriteString("not_required_nullable_date_prop", requiredClass.NotRequiredNullableDatePropOption.Value.Value.ToString(NotRequiredNullableDatePropFormat)); + else + writer.WriteNull("not_required_nullable_date_prop"); + if (requiredClass.NotRequiredNullableIntegerPropOption.IsSet) + if (requiredClass.NotRequiredNullableIntegerPropOption.Value != null) + writer.WriteNumber("not_required_nullable_integer_prop", requiredClass.NotRequiredNullableIntegerPropOption.Value.Value); + else + writer.WriteNull("not_required_nullable_integer_prop"); + if (requiredClass.NotrequiredNotnullableArrayOfStringOption.IsSet) { writer.WritePropertyName("notrequired_notnullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.NotrequiredNotnullableArrayOfString, jsonSerializerOptions); } - if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) - writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); - - if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) - writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); - - if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) - writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); - - var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNotnullableBooleanPropOption.IsSet) + writer.WriteBoolean("notrequired_notnullable_boolean_prop", requiredClass.NotrequiredNotnullableBooleanPropOption.Value.Value); + if (requiredClass.NotrequiredNotnullableDatetimePropOption.IsSet) + writer.WriteString("notrequired_notnullable_datetime_prop", requiredClass.NotrequiredNotnullableDatetimePropOption.Value.Value.ToString(NotrequiredNotnullableDatetimePropFormat)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer", RequiredClass.NotrequiredNotnullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOption.Value.Value)); + if (requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.IsSet) + writer.WriteNumber("notrequired_notnullable_enum_integer_only", RequiredClass.NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumIntegerOnlyOption.Value.Value)); + var notrequiredNotnullableEnumStringRawValue = RequiredClass.NotrequiredNotnullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNotnullableEnumStringOption.Value.Value); writer.WriteString("notrequired_notnullable_enum_string", notrequiredNotnullableEnumStringRawValue); if (requiredClass.NotrequiredNotnullableOuterEnumDefaultValueOption.IsSet) { var notrequiredNotnullableOuterEnumDefaultValueRawValue = OuterEnumDefaultValueValueConverter.ToJsonValue(requiredClass.NotrequiredNotnullableOuterEnumDefaultValue.Value); writer.WriteString("notrequired_notnullable_outerEnumDefaultValue", notrequiredNotnullableOuterEnumDefaultValueRawValue); } - if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) - writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); - - if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) - writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); - - if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) + if (requiredClass.NotrequiredNotnullableStringPropOption.IsSet) + writer.WriteString("notrequired_notnullable_string_prop", requiredClass.NotrequiredNotnullableStringProp); + if (requiredClass.NotrequiredNotnullableUuidOption.IsSet) + writer.WriteString("notrequired_notnullable_uuid", requiredClass.NotrequiredNotnullableUuidOption.Value.Value); + if (requiredClass.NotrequiredNullableArrayOfStringOption.IsSet) if (requiredClass.NotrequiredNullableArrayOfStringOption.Value != null) { writer.WritePropertyName("notrequired_nullable_array_of_string"); @@ -2260,31 +2227,27 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_array_of_string"); - if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) - if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) - writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_boolean_prop"); - - if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) - if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) - writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); - else - writer.WriteNull("notrequired_nullable_datetime_prop"); - - if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer"); - - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) - if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) - writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); - else - writer.WriteNull("notrequired_nullable_enum_integer_only"); - - var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); + if (requiredClass.NotrequiredNullableBooleanPropOption.IsSet) + if (requiredClass.NotrequiredNullableBooleanPropOption.Value != null) + writer.WriteBoolean("notrequired_nullable_boolean_prop", requiredClass.NotrequiredNullableBooleanPropOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_boolean_prop"); + if (requiredClass.NotrequiredNullableDatetimePropOption.IsSet) + if (requiredClass.NotrequiredNullableDatetimePropOption.Value != null) + writer.WriteString("notrequired_nullable_datetime_prop", requiredClass.NotrequiredNullableDatetimePropOption.Value.Value.ToString(NotrequiredNullableDatetimePropFormat)); + else + writer.WriteNull("notrequired_nullable_datetime_prop"); + if (requiredClass.NotrequiredNullableEnumIntegerOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer", RequiredClass.NotrequiredNullableEnumIntegerEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer"); + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.IsSet) + if (requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value != null) + writer.WriteNumber("notrequired_nullable_enum_integer_only", RequiredClass.NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.NotrequiredNullableEnumIntegerOnlyOption.Value.Value)); + else + writer.WriteNull("notrequired_nullable_enum_integer_only"); + var notrequiredNullableEnumStringRawValue = RequiredClass.NotrequiredNullableEnumStringEnumToJsonValue(requiredClass.NotrequiredNullableEnumStringOption.Value.Value); if (notrequiredNullableEnumStringRawValue != null) writer.WriteString("notrequired_nullable_enum_string", notrequiredNullableEnumStringRawValue); else @@ -2298,19 +2261,17 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("notrequired_nullable_outerEnumDefaultValue"); - if (requiredClass.NotrequiredNullableStringPropOption.IsSet) - if (requiredClass.NotrequiredNullableStringPropOption.Value != null) - writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); - else - writer.WriteNull("notrequired_nullable_string_prop"); - - if (requiredClass.NotrequiredNullableUuidOption.IsSet) - if (requiredClass.NotrequiredNullableUuidOption.Value != null) - writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); - else - writer.WriteNull("notrequired_nullable_uuid"); - - if (requiredClass.RequiredNullableArrayOfString != null) + if (requiredClass.NotrequiredNullableStringPropOption.IsSet) + if (requiredClass.NotrequiredNullableStringPropOption.Value != null) + writer.WriteString("notrequired_nullable_string_prop", requiredClass.NotrequiredNullableStringProp); + else + writer.WriteNull("notrequired_nullable_string_prop"); + if (requiredClass.NotrequiredNullableUuidOption.IsSet) + if (requiredClass.NotrequiredNullableUuidOption.Value != null) + writer.WriteString("notrequired_nullable_uuid", requiredClass.NotrequiredNullableUuidOption.Value.Value); + else + writer.WriteNull("notrequired_nullable_uuid"); + if (requiredClass.RequiredNullableArrayOfString != null) { writer.WritePropertyName("required_nullable_array_of_string"); JsonSerializer.Serialize(writer, requiredClass.RequiredNullableArrayOfString, jsonSerializerOptions); @@ -2318,42 +2279,36 @@ namespace Org.OpenAPITools.Model else writer.WriteNull("required_nullable_array_of_string"); if (requiredClass.RequiredNullableBooleanProp != null) - writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); - else - writer.WriteNull("required_nullable_boolean_prop"); - - if (requiredClass.RequiredNullableDateProp != null) - writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); - else - writer.WriteNull("required_nullable_date_prop"); - - if (requiredClass.RequiredNullableDatetimeProp != null) - writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); - else - writer.WriteNull("required_nullable_datetime_prop"); - - if (requiredClass.RequiredNullableEnumInteger != null) - writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); - else - writer.WriteNull("required_nullable_enum_integer"); - - if (requiredClass.RequiredNullableEnumIntegerOnly != null) - writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); - else - writer.WriteNull("required_nullable_enum_integer_only"); - - var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); + writer.WriteBoolean("required_nullable_boolean_prop", requiredClass.RequiredNullableBooleanProp.Value); + else + writer.WriteNull("required_nullable_boolean_prop"); + if (requiredClass.RequiredNullableDateProp != null) + writer.WriteString("required_nullable_date_prop", requiredClass.RequiredNullableDateProp.Value.ToString(RequiredNullableDatePropFormat)); + else + writer.WriteNull("required_nullable_date_prop"); + if (requiredClass.RequiredNullableDatetimeProp != null) + writer.WriteString("required_nullable_datetime_prop", requiredClass.RequiredNullableDatetimeProp.Value.ToString(RequiredNullableDatetimePropFormat)); + else + writer.WriteNull("required_nullable_datetime_prop"); + if (requiredClass.RequiredNullableEnumInteger != null) + writer.WriteNumber("required_nullable_enum_integer", RequiredClass.RequiredNullableEnumIntegerEnumToJsonValue(requiredClass.RequiredNullableEnumInteger.Value)); + else + writer.WriteNull("required_nullable_enum_integer"); + if (requiredClass.RequiredNullableEnumIntegerOnly != null) + writer.WriteNumber("required_nullable_enum_integer_only", RequiredClass.RequiredNullableEnumIntegerOnlyEnumToJsonValue(requiredClass.RequiredNullableEnumIntegerOnly.Value)); + else + writer.WriteNull("required_nullable_enum_integer_only"); + var requiredNullableEnumStringRawValue = RequiredClass.RequiredNullableEnumStringEnumToJsonValue(requiredClass.RequiredNullableEnumString.Value); if (requiredNullableEnumStringRawValue != null) writer.WriteString("required_nullable_enum_string", requiredNullableEnumStringRawValue); else writer.WriteNull("required_nullable_enum_string"); if (requiredClass.RequiredNullableIntegerProp != null) - writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); - else - writer.WriteNull("required_nullable_integer_prop"); - - if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) + writer.WriteNumber("required_nullable_integer_prop", requiredClass.RequiredNullableIntegerProp.Value); + else + writer.WriteNull("required_nullable_integer_prop"); + if (requiredClass.RequiredNullableOuterEnumDefaultValue == null) writer.WriteNull("required_nullable_outerEnumDefaultValue"); else { @@ -2365,14 +2320,13 @@ namespace Org.OpenAPITools.Model } if (requiredClass.RequiredNullableStringProp != null) - writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); - else - writer.WriteNull("required_nullable_string_prop"); - - if (requiredClass.RequiredNullableUuid != null) - writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); - else - writer.WriteNull("required_nullable_uuid"); + writer.WriteString("required_nullable_string_prop", requiredClass.RequiredNullableStringProp); + else + writer.WriteNull("required_nullable_string_prop"); + if (requiredClass.RequiredNullableUuid != null) + writer.WriteString("required_nullable_uuid", requiredClass.RequiredNullableUuid.Value); + else + writer.WriteNull("required_nullable_uuid"); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs index 6a2c4c85eb4..031648b131a 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -117,9 +116,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ namespace Org.OpenAPITools.Model if (varReturn.UnsafeOption.IsSet && varReturn.Unsafe == null) throw new ArgumentNullException(nameof(varReturn.Unsafe), "Property is required for class Return."); - writer.WriteString("lock", varReturn.Lock); - - if (varReturn.Abstract != null) - writer.WriteString("abstract", varReturn.Abstract); - else - writer.WriteNull("abstract"); - - if (varReturn.VarReturnOption.IsSet) - writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); - - if (varReturn.UnsafeOption.IsSet) - writer.WriteString("unsafe", varReturn.Unsafe); + writer.WriteString("lock", varReturn.Lock); + if (varReturn.Abstract != null) + writer.WriteString("abstract", varReturn.Abstract); + else + writer.WriteNull("abstract"); + if (varReturn.VarReturnOption.IsSet) + writer.WriteNumber("return", varReturn.VarReturnOption.Value.Value); + if (varReturn.UnsafeOption.IsSet) + writer.WriteString("unsafe", varReturn.Unsafe); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 46625cb093a..3505a0f0ecf 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ namespace Org.OpenAPITools.Model writer.WritePropertyName("role"); JsonSerializer.Serialize(writer, rolesReportsHash.Role, jsonSerializerOptions); } - if (rolesReportsHash.RoleUuidOption.IsSet) - writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); + if (rolesReportsHash.RoleUuidOption.IsSet) + writer.WriteString("role_uuid", rolesReportsHash.RoleUuidOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 29c8760c972..8b7c60dbfd1 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (rolesReportsHashRole.NameOption.IsSet && rolesReportsHashRole.Name == null) throw new ArgumentNullException(nameof(rolesReportsHashRole.Name), "Property is required for class RolesReportsHashRole."); - if (rolesReportsHashRole.NameOption.IsSet) - writer.WriteString("name", rolesReportsHashRole.Name); + if (rolesReportsHashRole.NameOption.IsSet) + writer.WriteString("name", rolesReportsHashRole.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 5c960eb5474..0de13eec2fb 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (scaleneTriangle.TriangleType == null) throw new ArgumentNullException(nameof(scaleneTriangle.TriangleType), "Property is required for class ScaleneTriangle."); - writer.WriteString("shapeType", scaleneTriangle.ShapeType); - - writer.WriteString("triangleType", scaleneTriangle.TriangleType); + writer.WriteString("shapeType", scaleneTriangle.ShapeType); + writer.WriteString("triangleType", scaleneTriangle.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Shape.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Shape.cs index c651ac7d245..90c0ee7ddeb 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Shape.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Shape.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 37db5df6490..e57f6dc449e 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (shapeInterface.ShapeType == null) throw new ArgumentNullException(nameof(shapeInterface.ShapeType), "Property is required for class ShapeInterface."); - writer.WriteString("shapeType", shapeInterface.ShapeType); + writer.WriteString("shapeType", shapeInterface.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs index 1f0b2203007..54354c9536c 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeOrNull.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -98,9 +97,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index ffa68d1e75d..487a20689f3 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -85,9 +84,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ namespace Org.OpenAPITools.Model if (simpleQuadrilateral.ShapeType == null) throw new ArgumentNullException(nameof(simpleQuadrilateral.ShapeType), "Property is required for class SimpleQuadrilateral."); - writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); - - writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); + writer.WriteString("quadrilateralType", simpleQuadrilateral.QuadrilateralType); + writer.WriteString("shapeType", simpleQuadrilateral.ShapeType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 7ec3c110c2a..c6abc777133 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (specialModelName.VarSpecialModelNameOption.IsSet && specialModelName.VarSpecialModelName == null) throw new ArgumentNullException(nameof(specialModelName.VarSpecialModelName), "Property is required for class SpecialModelName."); - if (specialModelName.VarSpecialModelNameOption.IsSet) - writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); - - if (specialModelName.SpecialPropertyNameOption.IsSet) - writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); + if (specialModelName.VarSpecialModelNameOption.IsSet) + writer.WriteString("_special_model.name_", specialModelName.VarSpecialModelName); + if (specialModelName.SpecialPropertyNameOption.IsSet) + writer.WriteNumber("$special[property.name]", specialModelName.SpecialPropertyNameOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 4290e8270ff..04370428772 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -99,9 +98,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ namespace Org.OpenAPITools.Model if (tag.NameOption.IsSet && tag.Name == null) throw new ArgumentNullException(nameof(tag.Name), "Property is required for class Tag."); - if (tag.IdOption.IsSet) - writer.WriteNumber("id", tag.IdOption.Value.Value); - - if (tag.NameOption.IsSet) - writer.WriteString("name", tag.Name); + if (tag.IdOption.IsSet) + writer.WriteNumber("id", tag.IdOption.Value.Value); + if (tag.NameOption.IsSet) + writer.WriteString("name", tag.Name); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 11d1cd5963c..e51918c7a30 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testCollectionEndingWithWordList.ValueOption.IsSet && testCollectionEndingWithWordList.Value == null) throw new ArgumentNullException(nameof(testCollectionEndingWithWordList.Value), "Property is required for class TestCollectionEndingWithWordList."); - if (testCollectionEndingWithWordList.ValueOption.IsSet) - writer.WriteString("value", testCollectionEndingWithWordList.Value); + if (testCollectionEndingWithWordList.ValueOption.IsSet) + writer.WriteString("value", testCollectionEndingWithWordList.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 04d04337aa4..4743b09271d 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 33f5183651a..13c411093c3 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -83,9 +82,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ namespace Org.OpenAPITools.Model if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet && testInlineFreeformAdditionalPropertiesRequest.SomeProperty == null) throw new ArgumentNullException(nameof(testInlineFreeformAdditionalPropertiesRequest.SomeProperty), "Property is required for class TestInlineFreeformAdditionalPropertiesRequest."); - if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) - writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); + if (testInlineFreeformAdditionalPropertiesRequest.SomePropertyOption.IsSet) + writer.WriteString("someProperty", testInlineFreeformAdditionalPropertiesRequest.SomeProperty); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Triangle.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Triangle.cs index cf22051519a..b38208d0f98 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Triangle.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Triangle.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -113,9 +112,7 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 0f13b0e7745..ee9a25dd35a 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -76,9 +75,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ namespace Org.OpenAPITools.Model if (triangleInterface.TriangleType == null) throw new ArgumentNullException(nameof(triangleInterface.TriangleType), "Property is required for class TriangleInterface."); - writer.WriteString("triangleType", triangleInterface.TriangleType); + writer.WriteString("triangleType", triangleInterface.TriangleType); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs index e89d5845732..f92a3edc061 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -264,9 +263,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("anyTypePropNullable"); - if (user.EmailOption.IsSet) - writer.WriteString("email", user.Email); - - if (user.FirstNameOption.IsSet) - writer.WriteString("firstName", user.FirstName); - - if (user.IdOption.IsSet) - writer.WriteNumber("id", user.IdOption.Value.Value); - - if (user.LastNameOption.IsSet) - writer.WriteString("lastName", user.LastName); - - if (user.ObjectWithNoDeclaredPropsOption.IsSet) + if (user.EmailOption.IsSet) + writer.WriteString("email", user.Email); + if (user.FirstNameOption.IsSet) + writer.WriteString("firstName", user.FirstName); + if (user.IdOption.IsSet) + writer.WriteNumber("id", user.IdOption.Value.Value); + if (user.LastNameOption.IsSet) + writer.WriteString("lastName", user.LastName); + if (user.ObjectWithNoDeclaredPropsOption.IsSet) { writer.WritePropertyName("objectWithNoDeclaredProps"); JsonSerializer.Serialize(writer, user.ObjectWithNoDeclaredProps, jsonSerializerOptions); @@ -481,17 +474,14 @@ namespace Org.OpenAPITools.Model } else writer.WriteNull("objectWithNoDeclaredPropsNullable"); - if (user.PasswordOption.IsSet) - writer.WriteString("password", user.Password); - - if (user.PhoneOption.IsSet) - writer.WriteString("phone", user.Phone); - - if (user.UserStatusOption.IsSet) - writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); - - if (user.UsernameOption.IsSet) - writer.WriteString("username", user.Username); + if (user.PasswordOption.IsSet) + writer.WriteString("password", user.Password); + if (user.PhoneOption.IsSet) + writer.WriteString("phone", user.Phone); + if (user.UserStatusOption.IsSet) + writer.WriteNumber("userStatus", user.UserStatusOption.Value.Value); + if (user.UsernameOption.IsSet) + writer.WriteString("username", user.Username); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 834e6957c67..156753c7251 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -108,9 +107,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ namespace Org.OpenAPITools.Model if (whale.ClassName == null) throw new ArgumentNullException(nameof(whale.ClassName), "Property is required for class Whale."); - writer.WriteString("className", whale.ClassName); - - if (whale.HasBaleenOption.IsSet) - writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); - - if (whale.HasTeethOption.IsSet) - writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); + writer.WriteString("className", whale.ClassName); + if (whale.HasBaleenOption.IsSet) + writer.WriteBoolean("hasBaleen", whale.HasBaleenOption.Value.Value); + if (whale.HasTeethOption.IsSet) + writer.WriteBoolean("hasTeeth", whale.HasTeethOption.Value.Value); } } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index bdf48981527..798ed23c9b1 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -123,7 +122,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ namespace Org.OpenAPITools.Model if (zebra.ClassName == null) throw new ArgumentNullException(nameof(zebra.ClassName), "Property is required for class Zebra."); - writer.WriteString("className", zebra.ClassName); - - var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); + writer.WriteString("className", zebra.ClassName); + var typeRawValue = Zebra.TypeEnumToJsonValue(zebra.TypeOption.Value.Value); writer.WriteString("type", typeRawValue); } } diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs index 34a044fb8b1..e290a4733f0 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnum.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index a6d408aeecc..ea1af5c7ee4 100644 --- a/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/generichost/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -7,7 +7,6 @@ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ - using System; using System.Collections; using System.Collections.Generic; @@ -107,7 +106,6 @@ namespace Org.OpenAPITools.Model throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs index b56f6881505..0ae2ce9b28c 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index cf1bbf23cea..06904311586 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 7db32a24579..d1ae4ffdbef 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -219,7 +219,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 80bf3adb7aa..59b3f0f2717 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -168,7 +168,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index 296753574ed..ab153d686d3 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 546300d9857..3e8ad87ff5d 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -154,33 +154,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 85ba742ea8e..cbdd7c54209 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -135,7 +135,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 158143cec18..693aa5f7963 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index a103c5b9f76..76cbe71302e 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 521f6e10d68..0715bc971aa 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs index 55a7b982dfd..e71a2db8d59 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index 7afbe08ac12..1b3d1ab52d0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index dd5b5d07b0a..79d78f87ed5 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index 10031dc7568..b9bc7a33b8c 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -193,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs index cec47afe1f2..747b2a02b4f 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -151,7 +151,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs index 0057441d885..541ceba4a72 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 96a00c78f2f..372b2eeb782 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -175,7 +174,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 36b14908818..58303359697 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index 1cef53d2c8a..11501d56d84 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -158,7 +158,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 5a777565eb3..da016ed81c3 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index ca4eca7e1b1..31e14e6aba3 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -131,7 +131,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index e6791fbe07a..f6136e706f3 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs index ffd89a5334e..d967fe70df0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -154,7 +154,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 73b84634c4d..25047c39e16 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -166,7 +166,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index ad688b4d11b..7b7aca74ddf 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -52,7 +52,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -76,7 +75,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -175,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 3309623635c..9098bf74706 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -88,7 +88,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -149,7 +148,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -171,7 +169,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -193,7 +190,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -218,7 +214,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -373,7 +368,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 1972d8ba56b..0a5840306d9 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -158,7 +158,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs index ca5877d2f8e..3c1fd9ff019 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -128,7 +128,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 2e37282c600..070bac4a4a2 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 10c97e7ed29..14dc0695a8f 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -128,7 +128,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 2619543bb53..f8edfb4ba99 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index 81da66d122d..fd5354828d4 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -524,11 +524,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -545,33 +545,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index ff2b810c644..7451a8f54e0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -154,7 +154,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 8ac3489e8b7..135247d5d58 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index fc344e4373f..271e43b1c94 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index 2bcb331dedd..5acfeee7266 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -143,7 +143,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs index b84038f9fcf..3bc1026e0e1 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index db0dc595908..0877a83364d 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 5255a249aba..5e571a8dc28 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -185,7 +184,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index 31e0e4e46e3..f2bacdff872 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -537,7 +537,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 889b927982c..ee95141de3b 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 576cb29d578..9e08ec8a1fa 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 254ccb20d12..5dd6f735433 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -167,15 +167,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index a644d274480..21808babf9a 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index 34aee45d4c8..1c428ae4a4a 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 2523c65536f..2dfeb5e76bb 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs index 47c0de87811..efac9157f07 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -177,7 +177,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index a08db8b6648..0d566c047e8 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 8508046165f..98c9ee8ebe6 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -271,7 +271,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 902534848bb..09c94dad085 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -130,7 +130,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index a287358b015..dcbeb0ed595 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index db530572625..a64043450f0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -166,7 +166,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs index 3f9806f04db..a4a03e0d5f0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -59,7 +59,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -207,7 +206,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 91a61870eea..912c2008d18 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -147,7 +147,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 98e7574e092..c17f51228b0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs index e35abdf6a86..417c9f46309 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -59,7 +59,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -234,7 +233,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 8e87f3b369f..f44c42f4bd0 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 8fd8dcd0dce..2138cbcf19b 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -146,7 +146,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index d8c4bd8a399..739378c2d66 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -49,7 +49,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -71,7 +70,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -93,7 +91,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -115,7 +112,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -138,7 +134,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -160,7 +155,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -183,7 +177,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -205,7 +198,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -266,7 +258,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -327,7 +318,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -388,7 +378,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -449,7 +438,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1045,7 +1033,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs index 6a9590cc8f4..dee7a659aa1 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -181,7 +181,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 43f205a0529..6ce9b5abecc 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 217f538e0a9..4f14ac0b271 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index be7027373c7..6fb622e146d 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -158,7 +158,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 41366a1d82d..8a1699ab908 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index f775230a9b1..b61dede31db 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -158,7 +158,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index e1e27974a67..83b9e6656ed 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs index ab8f5e0db09..30a7fdbe2d8 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index ca1cb65fcb2..2e0b710e84b 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index b5a65aac025..56c3d156fc2 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 7b15b134045..13200a8dd78 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index acdf3e8a050..1910f38ee36 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs index 2356f9020cc..810f9526f74 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -269,7 +269,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 1a6e079fdab..24e6b5a83ca 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -160,7 +160,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 08064bb5591..621cc6128b6 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -175,7 +174,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 3dbc0012d59..12db3efac37 100644 --- a/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/httpclient/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -52,7 +52,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -143,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/ApiResponse.cs index ef964fd4e87..7b68ccc683c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Category.cs index 663e49f1b1c..5aa5568d6c5 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Category.cs @@ -125,15 +125,14 @@ namespace Org.OpenAPITools.Model { if (this.Name != null) { // Name (string) pattern - Regex regexName = new Regex(@"^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$", RegexOptions.CultureInvariant); - if (!regexName.Match(this.Name).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, must match a pattern of " + regexName, new [] { "Name" }); - } + Regex regexName = new Regex(@"^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$", RegexOptions.CultureInvariant); + if (!regexName.Match(this.Name).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, must match a pattern of " + regexName, new [] { "Name" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Order.cs index 4c049227f84..e21d34fe338 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -191,7 +190,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Pet.cs index 08848e98cd4..1b94dc012a7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -219,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Tag.cs index 8ac7c07be0a..d309b785de0 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/Tag.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/User.cs index 91ba71b2274..75a30bdfbaf 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/src/Org.OpenAPITools/Model/User.cs @@ -200,7 +200,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs index 08a39249cb8..0c0a10d120c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index dce3f9134db..1388dc82bbc 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c83597fc607..c296886c660 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -218,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 9ddb56ebad6..e8c545d822a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -167,7 +167,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index e55d523aad1..3ab53cc6019 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 8d3f9af56df..a1d1834a8ba 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -153,33 +153,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 3eef221be3e..78427b2e937 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3e1666ca90f..9dae2a7d4a2 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index f2946f435b5..590c4e3e716 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 343e486f657..1a44ea876ea 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs index 04d69550656..73f4cd9f8ac 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index 360cb5281e8..c54010eae0d 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 868cba98eee..28bf7351476 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index f46fffa0ad6..6fac1534967 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -192,7 +192,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs index a427b55727d..69aa71c7fc7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs index 5edb4edfea4..13ce2962d16 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index a5d404bd17d..42b9f7f0799 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7a0846aec4e..9b0b610f9d1 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index bbed2128374..9eb426e6694 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 3c81f50d00d..31d3b1edf6f 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 08b01706cab..2954234819f 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -130,7 +130,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 2895d518a81..66c1a80c991 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 44f95fa0fe0..5f6cee370c4 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 98c683539e6..137227fdbc5 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index 2bec93345bb..888474fa577 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 27d1193954e..50141913517 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 7fb0e209454..9c785e420f7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs index 72b34e49262..272c8ee0627 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index cd75dba4a92..c2f2981f126 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3108c8a8691..5768036d6ee 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1ce81eece3e..23adbc90a2c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index a741277dd27..e376d5a0e76 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -437,11 +437,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -458,33 +458,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 75285a73f6c..6d16feb8ce8 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 3c6298d7d8d..d802fad7d28 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 6fe07490776..4ce9b6c31e3 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index acf86063d05..041ae44fa66 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs index e06a3f381f1..e74e4817272 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 57cc8110fbb..9f01beb08b7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 691f128ea5f..9b12ff30b41 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 2b62d597547..6b1ed252df5 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index bd0255888b8..207015b15fd 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 5f51e31aa03..6ec9f15aa94 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -166,15 +166,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 1906ce0b270..d6d05a763d6 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index a023e3c3e75..a6b47c1db7a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 69089499494..f41f93a196a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs index f34052aa706..27329dafc0a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -176,7 +176,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index 3fbd6e83ef2..471f49833f7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 6e4a6ef50e7..5ff9462225c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -270,7 +270,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index d0e64144119..99f632f5ce0 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 7218451d9fb..680f65bb5eb 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 76faa5154c8..956a6037e28 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs index 4b8b7068fe0..14455027ef7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -206,7 +205,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 47d598a27e6..2f8e9fa96b3 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -146,7 +146,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 7a742134990..5959bb6c554 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs index e036d66bc88..6aca1d79bd4 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -233,7 +232,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 3a364f98c1e..0ef627d8f79 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 46ed3b3948c..2347c52d3c2 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -145,7 +145,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 8160c859b76..2cdb7ee0148 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1044,7 +1032,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs index fec56c44fa8..1a9e51bb1f9 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 4523238ad38..b5963401bc7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index ef21c6091f3..fb1494c5d22 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 1510bd5c512..3bab0215b6a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 9f8b4dd35b3..0fc8b175603 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index 266dcfee794..5201086798b 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 33320b76cf1..82560aecb92 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 58eb2c605d1..a16ae7bb224 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index f7782b6fd5a..da2128eb2fd 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 8498a5eca78..3c966ddd217 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 457b88ac9c7..1b29845a039 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 34fa15105dc..19416f56f42 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs index b7911507a70..2970dd6a428 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -268,7 +268,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 50119ed39e7..60a3a44fb3c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -159,7 +159,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 314fae589fc..66d3e647726 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 617dcd5f7a0..a5d128e49dc 100644 --- a/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs index 08a39249cb8..0c0a10d120c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index dce3f9134db..1388dc82bbc 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c83597fc607..c296886c660 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -218,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 9ddb56ebad6..e8c545d822a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -167,7 +167,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index e55d523aad1..3ab53cc6019 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 8d3f9af56df..a1d1834a8ba 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -153,33 +153,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 3eef221be3e..78427b2e937 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3e1666ca90f..9dae2a7d4a2 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index f2946f435b5..590c4e3e716 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 343e486f657..1a44ea876ea 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs index 04d69550656..73f4cd9f8ac 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index 360cb5281e8..c54010eae0d 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 868cba98eee..28bf7351476 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index f46fffa0ad6..6fac1534967 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -192,7 +192,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs index a427b55727d..69aa71c7fc7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs index 5edb4edfea4..13ce2962d16 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index a5d404bd17d..42b9f7f0799 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7a0846aec4e..9b0b610f9d1 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index bbed2128374..9eb426e6694 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 3c81f50d00d..31d3b1edf6f 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 08b01706cab..2954234819f 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -130,7 +130,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 2895d518a81..66c1a80c991 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 44f95fa0fe0..5f6cee370c4 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 98c683539e6..137227fdbc5 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index 2bec93345bb..888474fa577 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 27d1193954e..50141913517 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 7fb0e209454..9c785e420f7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs index 72b34e49262..272c8ee0627 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index cd75dba4a92..c2f2981f126 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3108c8a8691..5768036d6ee 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1ce81eece3e..23adbc90a2c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index a741277dd27..e376d5a0e76 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -437,11 +437,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -458,33 +458,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 75285a73f6c..6d16feb8ce8 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 3c6298d7d8d..d802fad7d28 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 6fe07490776..4ce9b6c31e3 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index acf86063d05..041ae44fa66 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs index e06a3f381f1..e74e4817272 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 57cc8110fbb..9f01beb08b7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 691f128ea5f..9b12ff30b41 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 2b62d597547..6b1ed252df5 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index bd0255888b8..207015b15fd 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 5f51e31aa03..6ec9f15aa94 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -166,15 +166,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 1906ce0b270..d6d05a763d6 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index a023e3c3e75..a6b47c1db7a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 69089499494..f41f93a196a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs index f34052aa706..27329dafc0a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -176,7 +176,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index 3fbd6e83ef2..471f49833f7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 6e4a6ef50e7..5ff9462225c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -270,7 +270,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index d0e64144119..99f632f5ce0 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 7218451d9fb..680f65bb5eb 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 76faa5154c8..956a6037e28 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs index 4b8b7068fe0..14455027ef7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -206,7 +205,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 47d598a27e6..2f8e9fa96b3 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -146,7 +146,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 7a742134990..5959bb6c554 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs index e036d66bc88..6aca1d79bd4 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -233,7 +232,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 3a364f98c1e..0ef627d8f79 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 46ed3b3948c..2347c52d3c2 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -145,7 +145,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 8160c859b76..2cdb7ee0148 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1044,7 +1032,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs index fec56c44fa8..1a9e51bb1f9 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 4523238ad38..b5963401bc7 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index ef21c6091f3..fb1494c5d22 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 1510bd5c512..3bab0215b6a 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 9f8b4dd35b3..0fc8b175603 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index 266dcfee794..5201086798b 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 33320b76cf1..82560aecb92 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 58eb2c605d1..a16ae7bb224 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index f7782b6fd5a..da2128eb2fd 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 8498a5eca78..3c966ddd217 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 457b88ac9c7..1b29845a039 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 34fa15105dc..19416f56f42 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs index b7911507a70..2970dd6a428 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -268,7 +268,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 50119ed39e7..60a3a44fb3c 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -159,7 +159,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 314fae589fc..66d3e647726 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 617dcd5f7a0..a5d128e49dc 100644 --- a/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/net4.8/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/Env.cs b/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/Env.cs index ea3d938c159..30b9690d093 100644 --- a/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/Env.cs +++ b/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/Env.cs @@ -122,7 +122,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/PropertyNameMapping.cs b/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/PropertyNameMapping.cs index 597e015588f..46ed1b9e9e5 100644 --- a/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/PropertyNameMapping.cs +++ b/samples/client/petstore/csharp/restsharp/net6/ParameterMappings/src/Org.OpenAPITools/Model/PropertyNameMapping.cs @@ -176,7 +176,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Activity.cs index 08a39249cb8..0c0a10d120c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Activity.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index dce3f9134db..1388dc82bbc 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c83597fc607..c296886c660 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -218,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Animal.cs index 9ddb56ebad6..e8c545d822a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Animal.cs @@ -167,7 +167,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ApiResponse.cs index e55d523aad1..3ab53cc6019 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Apple.cs index 8d3f9af56df..a1d1834a8ba 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Apple.cs @@ -153,33 +153,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AppleReq.cs index 3eef221be3e..78427b2e937 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/AppleReq.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3e1666ca90f..9dae2a7d4a2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index f2946f435b5..590c4e3e716 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayTest.cs index 343e486f657..1a44ea876ea 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Banana.cs index 04d69550656..73f4cd9f8ac 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Banana.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BananaReq.cs index 360cb5281e8..c54010eae0d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BananaReq.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BasquePig.cs index 868cba98eee..28bf7351476 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/BasquePig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Capitalization.cs index f46fffa0ad6..6fac1534967 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Capitalization.cs @@ -192,7 +192,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Cat.cs index a427b55727d..69aa71c7fc7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Cat.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Category.cs index 5edb4edfea4..13ce2962d16 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Category.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ChildCat.cs index a5d404bd17d..42b9f7f0799 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ClassModel.cs index 7a0846aec4e..9b0b610f9d1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ClassModel.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index bbed2128374..9eb426e6694 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DanishPig.cs index 3c81f50d00d..31d3b1edf6f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DanishPig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DateOnlyClass.cs index b260c723ba6..789f2a726a5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 2895d518a81..66c1a80c991 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Dog.cs index 44f95fa0fe0..5f6cee370c4 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Dog.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Drawing.cs index 98c683539e6..137227fdbc5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Drawing.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumArrays.cs index 2bec93345bb..888474fa577 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumTest.cs index 27d1193954e..50141913517 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 7fb0e209454..9c785e420f7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/File.cs index 72b34e49262..272c8ee0627 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/File.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index cd75dba4a92..c2f2981f126 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Foo.cs index 3108c8a8691..5768036d6ee 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Foo.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1ce81eece3e..23adbc90a2c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FormatTest.cs index 59c8975b929..7d4b009ed27 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/FormatTest.cs @@ -436,11 +436,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -457,33 +457,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 75285a73f6c..6d16feb8ce8 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 3c6298d7d8d..d802fad7d28 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 6fe07490776..4ce9b6c31e3 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index acf86063d05..041ae44fa66 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/List.cs index e06a3f381f1..e74e4817272 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/List.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 57cc8110fbb..9f01beb08b7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MapTest.cs index 691f128ea5f..9b12ff30b41 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 2b62d597547..6b1ed252df5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedOneOf.cs index bd0255888b8..207015b15fd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 5f51e31aa03..6ec9f15aa94 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -166,15 +166,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedSubId.cs index 1906ce0b270..d6d05a763d6 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Model200Response.cs index a023e3c3e75..a6b47c1db7a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Model200Response.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ModelClient.cs index 69089499494..f41f93a196a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ModelClient.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Name.cs index f34052aa706..27329dafc0a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Name.cs @@ -176,7 +176,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index 3fbd6e83ef2..471f49833f7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableClass.cs index c8fda56e430..08b2be09051 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableClass.cs @@ -269,7 +269,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableGuidClass.cs index d0e64144119..99f632f5ce0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NumberOnly.cs index 7218451d9fb..680f65bb5eb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 76faa5154c8..956a6037e28 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Order.cs index cc1ac17c183..1e671ded355 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Shipped = 3 } - /// /// Order Status /// @@ -206,7 +205,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/OuterComposite.cs index 47d598a27e6..2f8e9fa96b3 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -146,7 +146,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ParentPet.cs index 7a742134990..5959bb6c554 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ParentPet.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Pet.cs index e036d66bc88..6aca1d79bd4 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -233,7 +232,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 3a364f98c1e..0ef627d8f79 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 46ed3b3948c..2347c52d3c2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -145,7 +145,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RequiredClass.cs index 76ce29ff67e..5fa4ab8eafc 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1040,7 +1028,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Return.cs index fec56c44fa8..1a9e51bb1f9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Return.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 4523238ad38..b5963401bc7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index ef21c6091f3..fb1494c5d22 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 1510bd5c512..3bab0215b6a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ShapeInterface.cs index 9f8b4dd35b3..0fc8b175603 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index 266dcfee794..5201086798b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SpecialModelName.cs index 33320b76cf1..82560aecb92 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Tag.cs index 58eb2c605d1..a16ae7bb224 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Tag.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index f7782b6fd5a..da2128eb2fd 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 8498a5eca78..3c966ddd217 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 457b88ac9c7..1b29845a039 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TriangleInterface.cs index 34fa15105dc..19416f56f42 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/User.cs index b7911507a70..2970dd6a428 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/User.cs @@ -268,7 +268,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Whale.cs index 50119ed39e7..60a3a44fb3c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Whale.cs @@ -159,7 +159,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Zebra.cs index 314fae589fc..66d3e647726 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 617dcd5f7a0..a5d128e49dc 100644 --- a/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/EnumMappings/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Activity.cs index 0c81e65fdc1..0a16ca8f5c1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index 61656615b13..8add03549e2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 6f73dd2a107..53a2c08bfe5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -206,7 +206,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Animal.cs index e19658cee18..e079c014f56 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index b11aff203a7..db89fae193e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -137,7 +137,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 5d0bdb98c30..25aeeb06cb1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -141,33 +141,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 3eef221be3e..78427b2e937 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index b75b0792d61..1f83927012a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index e3a0602189b..9112287e890 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 02ead047372..7498f4c06d6 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Banana.cs index dffda1bedc2..d28fa94704b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -111,7 +111,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index 360cb5281e8..c54010eae0d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index f362ad71dd0..b3e6b7c5bad 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index 78a9791fcd6..5d150e42a9f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -180,7 +180,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Cat.cs index 8bec3551ae9..11465ce6b4f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -135,7 +135,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Category.cs index 85ea41da1a6..d7a77fb615d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index dada42c5f3f..5a0c8677f24 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -159,7 +158,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index f8060109b1a..24e83c137df 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index e399bfda566..cd3122a75d5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 686dab1558e..66b379b6fc1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index f66839f5b4f..4eb1f4edd9f 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -117,7 +117,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index a852e8c459a..b2b5f5771c0 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Dog.cs index e2339cfb20b..6e25ecb4f22 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -138,7 +138,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 98c683539e6..137227fdbc5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index 55dab0b979f..b8e72d764e4 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -162,7 +160,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index bf17521990c..bb07c377611 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -357,7 +352,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 738f9450e1d..12d7860462d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/File.cs index 328601f24b6..9b1a06736f9 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -115,7 +115,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index d3f9f7cba77..e33442c2aa5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 9691b484810..5557d2d2460 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -115,7 +115,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 3069deb125e..6071e726f8e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index fc3472412e5..5fc4d020d93 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -507,11 +507,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -528,33 +528,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 369b95edbd1..d4fbd48a857 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -138,7 +138,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 712d33733e8..5c82868ea5b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index ec05e7c4c85..6bdbdda5be2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index acf86063d05..041ae44fa66 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/List.cs index 67e6c5a616a..aab7eb79a90 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 15b6f0eabba..c870435170c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 70075c576b1..f8f7a515a3d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -172,7 +171,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs index 6dbe8fdadda..fbeb4c438b1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixLog.cs @@ -521,7 +521,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 9d7d88aea93..6f3bd67cfcb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index 2cb289fae17..c7c4a0891f7 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index f081d281959..cff3fe43def 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -154,15 +154,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index c56e0ada331..862f876d885 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index 11efe092a28..2ce2e83be5c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 7b75059cad1..12c788ee5c1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Name.cs index 2021a006659..c1c009ecfb1 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -161,7 +161,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index e2e5ff34b2a..a06a7bde8e5 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index c8fda56e430..08b2be09051 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -269,7 +269,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index ecaa619b0e8..e8142764edb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -117,7 +117,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index f38cf7d6aff..dfef96f1400 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index e2f9be14b2e..20eb70ef658 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Order.cs index 54e252b2feb..da22e30262d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -194,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 1a8d974b060..7e74df072d2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 4d15a2a962f..8ab8257b28e 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -125,7 +125,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 51b091ba510..6dcbcabc35b 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -218,7 +217,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index e0f4761e191..9035655b453 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 7551b621ebd..92ab2b3ab6c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -133,7 +133,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index ea386b3a0c5..f5a168a3548 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1025,7 +1013,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Return.cs index 9d08c25bbd0..51cc3426176 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index ebe5562ffe6..dd3d218f213 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 60e2f9e50c0..79f5bb69fce 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 03a8cd46f5e..b51fd4e8da6 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index b850b88b4fc..d50caf18882 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index eebd8034750..15c4c319fdb 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 867d43acaf4..5a80f62c94c 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Tag.cs index a9dd75cb5cb..643f58dbf07 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index bb23b1f5245..827753424a2 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 715365c48c0..55bc1e9e6ff 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -114,7 +114,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 457b88ac9c7..1b29845a039 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index cb7847498ff..77728662434 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -124,7 +124,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/User.cs index 0b191345773..f4d6014d27a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -256,7 +256,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Whale.cs index cd6eb8c0b1b..5a25ba1789d 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -144,7 +144,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 314fae589fc..66d3e647726 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 7036e9fdc82..fa2ef8b981a 100644 --- a/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/net7/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -130,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/net7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs b/samples/client/petstore/csharp/restsharp/net7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs index 84c9909059a..43fe5640523 100644 --- a/samples/client/petstore/csharp/restsharp/net7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs +++ b/samples/client/petstore/csharp/restsharp/net7/UseDateTimeForDate/src/Org.OpenAPITools/Model/NowGet200Response.cs @@ -86,7 +86,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Activity.cs index 3bcf6d5f664..4f744d221c5 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Activity.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index 2381b5f5ddc..1513781e448 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -183,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index 2cfd7dde8a8..e2012be20ea 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -394,7 +394,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Animal.cs index d87e7264700..e7eee22acfc 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Animal.cs @@ -201,7 +201,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ApiResponse.cs index 440c5810db5..6f0bcd80c35 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -215,7 +215,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Apple.cs index 1e7afc9dbb0..c23166a37d1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Apple.cs @@ -219,33 +219,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AppleReq.cs index 02fb1150966..0354261a627 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/AppleReq.cs @@ -174,7 +174,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 02324a9b534..68ba1f81f86 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index f124f50a69d..95aafd2ba7d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayTest.cs index b62c42c722c..98851989b74 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -218,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Banana.cs index cc328cf2d95..1713d50e745 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Banana.cs @@ -145,7 +145,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BananaReq.cs index 163080fc7a5..94a97fb8faf 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BananaReq.cs @@ -166,7 +166,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BasquePig.cs index fa252d7c73c..080871a87c0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/BasquePig.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs index 5759368bc58..d55b9074633 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs @@ -324,7 +324,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Cat.cs index 2cbd436c91e..0e2ce37155a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Cat.cs @@ -172,7 +172,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Category.cs index fb7f24b243f..3453340d0b3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Category.cs @@ -189,7 +189,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ChildCat.cs index ff34516f9e2..2d4a50261c6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -216,7 +215,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ClassModel.cs index ed73f3d6e7f..7f2056ed152 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ClassModel.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index ba076494b12..4170bb4299c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -193,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DanishPig.cs index 20667677434..bb96905ba3e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DanishPig.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 30023ed7c1a..82b3d49a91a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DeprecatedObject.cs index c55a037d201..1844e28d804 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Dog.cs index f18adc07b2b..e82a86b1668 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Dog.cs @@ -175,7 +175,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Drawing.cs index 5792b78f798..6e646f4c522 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Drawing.cs @@ -253,7 +253,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumArrays.cs index 35222bdac3b..afa9faf98f0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -95,7 +94,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -220,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumTest.cs index 8f0ea67b780..060a3854f66 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -168,7 +167,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -210,7 +208,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -252,7 +249,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -297,7 +293,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -584,7 +579,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index d248b913aad..58f971a3be6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -193,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/File.cs index bd9c895894d..5adec91014c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/File.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index 71277521b4d..1623bb20b8e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -183,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Foo.cs index 7558351cafa..86d8d98f1b3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Foo.cs @@ -143,7 +143,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index a2d3d6cb223..a28663e1569 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FormatTest.cs index 4c576118fb1..d2658b6ddb2 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/FormatTest.cs @@ -1035,11 +1035,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -1056,33 +1056,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 6208ebb4ca2..aac354a6c94 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -171,7 +171,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 3c6298d7d8d..d802fad7d28 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HealthCheckResult.cs index cdcf9c79a89..20b3bcc95f0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index bd932742333..6af80b4cae7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -178,7 +178,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/List.cs index 68363d5d71d..f94db54e9cd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/List.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/LiteralStringClass.cs index aca243cc3c5..9e1a8d9199f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -173,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MapTest.cs index f2f2f90a2f9..120b6dee587 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -272,7 +271,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixLog.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixLog.cs index a698b135146..1978102de9d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixLog.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixLog.cs @@ -1208,7 +1208,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 11c452ea3a1..e8fc740f424 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedOneOf.cs index b1b6f56518c..9dbad8076fb 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 63fbf7fba85..5bbf29ef3ea 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -254,15 +254,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedSubId.cs index 917dee7e353..b20e124779e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Model200Response.cs index 48815cd9730..9e3f1e85623 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Model200Response.cs @@ -180,7 +180,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ModelClient.cs index 1a51de5f744..a86b33ca151 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ModelClient.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Name.cs index 8fa808d911c..e1ff2e4216b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Name.cs @@ -216,7 +216,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index 072a590b779..d195a861c70 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -185,7 +185,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableClass.cs index 817623db2e3..48717d7c760 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableClass.cs @@ -534,7 +534,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableGuidClass.cs index 5f49002717d..24864001f5f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -151,7 +151,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NumberOnly.cs index ce6120813da..cd8e76a842b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 7f494556527..2f91ed2abbc 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -253,7 +253,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Order.cs index df74883777d..b4345a3b0e6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -335,7 +334,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/OuterComposite.cs index 066dc26dbe1..1e1fcb96b2c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -212,7 +212,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ParentPet.cs index 7a742134990..5959bb6c554 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ParentPet.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Pet.cs index 70938b71f8d..45e8e2070a9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -359,7 +358,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index f875a0c461b..db879482b7e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 76afb32b0d8..d5db49811ba 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -167,7 +167,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RequiredClass.cs index 2bad0ac611d..3455044a4eb 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -90,7 +89,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -132,7 +130,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -174,7 +171,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -259,7 +254,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -302,7 +296,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -344,7 +337,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -425,7 +417,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -506,7 +497,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -587,7 +577,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -668,7 +657,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1956,7 +1944,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Return.cs index e255b357996..c795afc0d51 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Return.cs @@ -260,7 +260,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 39c65b7da19..029b1c27785 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -183,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index 48d21628ea7..de0b47b6c37 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 4be5f3b852b..8fc0de46fb0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -193,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ShapeInterface.cs index d0f237740cf..d98cfa6578e 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index abb6ed2a1e2..3768deef8ee 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -193,7 +193,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SpecialModelName.cs index 0a0faf3cba3..9114c8a90a7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -180,7 +180,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Tag.cs index b631ebc9616..c84e606f998 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Tag.cs @@ -180,7 +180,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index 0ab53418b5d..053308c5e26 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 29a0deb13ec..e65c3eb0519 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 92995d8b5ca..33894c714ff 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -148,7 +148,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TriangleInterface.cs index ee631710fb6..2685128dc67 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/User.cs index 21c819cf09a..c38341f2fa8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/User.cs @@ -532,7 +532,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Whale.cs index 24659725b63..27cd30adc18 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Whale.cs @@ -221,7 +221,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Zebra.cs index bb8efe4f45d..4f23f168074 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -216,7 +215,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 5d5ab2efcd3..d5a7dc55829 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -166,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs index 08a39249cb8..0c0a10d120c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Activity.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs index dce3f9134db..1388dc82bbc 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ActivityOutputElementRepresentation.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs index c83597fc607..c296886c660 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AdditionalPropertiesClass.cs @@ -218,7 +218,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs index 9ddb56ebad6..e8c545d822a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Animal.cs @@ -167,7 +167,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs index e55d523aad1..3ab53cc6019 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ApiResponse.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs index 8d3f9af56df..a1d1834a8ba 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Apple.cs @@ -153,33 +153,32 @@ namespace Org.OpenAPITools.Model { if (this.Cultivar != null) { // Cultivar (string) pattern - Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); - if (!regexCultivar.Match(this.Cultivar).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); - } + Regex regexCultivar = new Regex(@"^[a-zA-Z\s]*$", RegexOptions.CultureInvariant); + if (!regexCultivar.Match(this.Cultivar).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Cultivar, must match a pattern of " + regexCultivar, new [] { "Cultivar" }); + } } if (this.Origin != null) { // Origin (string) pattern - Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexOrigin.Match(this.Origin).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); - } + Regex regexOrigin = new Regex(@"^[A-Z\s]*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexOrigin.Match(this.Origin).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Origin, must match a pattern of " + regexOrigin, new [] { "Origin" }); + } } if (this.ColorCode != null) { // ColorCode (string) pattern - Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); - if (!regexColorCode.Match(this.ColorCode).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); - } + Regex regexColorCode = new Regex(@"^#(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$", RegexOptions.CultureInvariant); + if (!regexColorCode.Match(this.ColorCode).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for ColorCode, must match a pattern of " + regexColorCode, new [] { "ColorCode" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs index 3eef221be3e..78427b2e937 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/AppleReq.cs @@ -134,7 +134,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs index 3e1666ca90f..9dae2a7d4a2 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs index f2946f435b5..590c4e3e716 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayOfNumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs index 343e486f657..1a44ea876ea 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ArrayTest.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs index 04d69550656..73f4cd9f8ac 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Banana.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs index 360cb5281e8..c54010eae0d 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BananaReq.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs index 868cba98eee..28bf7351476 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/BasquePig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs index f46fffa0ad6..6fac1534967 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -192,7 +192,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs index a427b55727d..69aa71c7fc7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Cat.cs @@ -150,7 +150,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs index 5edb4edfea4..13ce2962d16 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Category.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index a5d404bd17d..42b9f7f0799 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -47,7 +47,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs index 7a0846aec4e..9b0b610f9d1 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ClassModel.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs index bbed2128374..9eb426e6694 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ComplexQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs index 3c81f50d00d..31d3b1edf6f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DanishPig.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs index 08b01706cab..2954234819f 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DateOnlyClass.cs @@ -130,7 +130,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs index 2895d518a81..66c1a80c991 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/DeprecatedObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs index 44f95fa0fe0..5f6cee370c4 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Dog.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs index 98c683539e6..137227fdbc5 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Drawing.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index 2bec93345bb..888474fa577 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 27d1193954e..50141913517 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -87,7 +87,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs index 7fb0e209454..9c785e420f7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/EquilateralTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs index 72b34e49262..272c8ee0627 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/File.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs index cd75dba4a92..c2f2981f126 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FileSchemaTestClass.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs index 3108c8a8691..5768036d6ee 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Foo.cs @@ -127,7 +127,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs index 1ce81eece3e..23adbc90a2c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FooGetDefaultResponse.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs index a741277dd27..e376d5a0e76 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/FormatTest.cs @@ -437,11 +437,11 @@ namespace Org.OpenAPITools.Model if (this.String != null) { // String (string) pattern - Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexString.Match(this.String).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); - } + Regex regexString = new Regex(@"[a-z]", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexString.Match(this.String).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for String, must match a pattern of " + regexString, new [] { "String" }); + } } // Password (string) maxLength @@ -458,33 +458,32 @@ namespace Org.OpenAPITools.Model if (this.PatternWithDigits != null) { // PatternWithDigits (string) pattern - Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); - if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); - } + Regex regexPatternWithDigits = new Regex(@"^\d{10}$", RegexOptions.CultureInvariant); + if (!regexPatternWithDigits.Match(this.PatternWithDigits).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigits, must match a pattern of " + regexPatternWithDigits, new [] { "PatternWithDigits" }); + } } if (this.PatternWithDigitsAndDelimiter != null) { // PatternWithDigitsAndDelimiter (string) pattern - Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); - if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); - } + Regex regexPatternWithDigitsAndDelimiter = new Regex(@"^image_\d{1,3}$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase); + if (!regexPatternWithDigitsAndDelimiter.Match(this.PatternWithDigitsAndDelimiter).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithDigitsAndDelimiter, must match a pattern of " + regexPatternWithDigitsAndDelimiter, new [] { "PatternWithDigitsAndDelimiter" }); + } } if (this.PatternWithBackslash != null) { // PatternWithBackslash (string) pattern - Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); - if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); - } + Regex regexPatternWithBackslash = new Regex(@"^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$", RegexOptions.CultureInvariant); + if (!regexPatternWithBackslash.Match(this.PatternWithBackslash).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PatternWithBackslash, must match a pattern of " + regexPatternWithBackslash, new [] { "PatternWithBackslash" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs index 75285a73f6c..6d16feb8ce8 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/GrandparentAnimal.cs @@ -153,7 +153,6 @@ namespace Org.OpenAPITools.Model protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs index 3c6298d7d8d..d802fad7d28 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HasOnlyReadOnly.cs @@ -152,7 +152,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs index 6fe07490776..4ce9b6c31e3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/HealthCheckResult.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs index acf86063d05..041ae44fa66 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/IsoscelesTriangle.cs @@ -142,7 +142,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs index e06a3f381f1..e74e4817272 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/List.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs index 57cc8110fbb..9f01beb08b7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/LiteralStringClass.cs @@ -141,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index 691f128ea5f..9b12ff30b41 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -50,7 +50,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs index 2b62d597547..6b1ed252df5 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedAnyOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs index bd0255888b8..207015b15fd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedOneOf.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs index 5f51e31aa03..6ec9f15aa94 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs @@ -166,15 +166,14 @@ namespace Org.OpenAPITools.Model { if (this.UuidWithPattern != null) { // UuidWithPattern (Guid) pattern - Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); - if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); - } + Regex regexUuidWithPattern = new Regex(@"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", RegexOptions.CultureInvariant); + if (!regexUuidWithPattern.Match(this.UuidWithPattern.ToString()).Success) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for UuidWithPattern, must match a pattern of " + regexUuidWithPattern, new [] { "UuidWithPattern" }); + } } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs index 1906ce0b270..d6d05a763d6 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/MixedSubId.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs index a023e3c3e75..a6b47c1db7a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Model200Response.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs index 69089499494..f41f93a196a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ModelClient.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs index f34052aa706..27329dafc0a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Name.cs @@ -176,7 +176,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs index 3fbd6e83ef2..471f49833f7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NotificationtestGetElementsV1ResponseMPayload.cs @@ -149,7 +149,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs index 6e4a6ef50e7..5ff9462225c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableClass.cs @@ -270,7 +270,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs index d0e64144119..99f632f5ce0 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NullableGuidClass.cs @@ -129,7 +129,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs index 7218451d9fb..680f65bb5eb 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/NumberOnly.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs index 76faa5154c8..956a6037e28 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs @@ -165,7 +165,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs index 4b8b7068fe0..14455027ef7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// @@ -206,7 +205,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs index 47d598a27e6..2f8e9fa96b3 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/OuterComposite.cs @@ -146,7 +146,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs index 7a742134990..5959bb6c554 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ParentPet.cs @@ -140,7 +140,6 @@ namespace Org.OpenAPITools.Model yield return x; } yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs index e036d66bc88..6aca1d79bd4 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -58,7 +58,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// @@ -233,7 +232,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs index 3a364f98c1e..0ef627d8f79 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/QuadrilateralInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs index 46ed3b3948c..2347c52d3c2 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ReadOnlyFirst.cs @@ -145,7 +145,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 8160c859b76..2cdb7ee0148 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1044,7 +1032,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs index fec56c44fa8..1a9e51bb1f9 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Return.cs @@ -123,7 +123,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs index 4523238ad38..b5963401bc7 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHash.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs index ef21c6091f3..fb1494c5d22 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/RolesReportsHashRole.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs index 1510bd5c512..3bab0215b6a 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ScaleneTriangle.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs index 9f8b4dd35b3..0fc8b175603 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ShapeInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs index 266dcfee794..5201086798b 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SimpleQuadrilateral.cs @@ -157,7 +157,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs index 33320b76cf1..82560aecb92 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/SpecialModelName.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs index 58eb2c605d1..a16ae7bb224 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Tag.cs @@ -136,7 +136,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs index f7782b6fd5a..da2128eb2fd 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordList.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs index 8498a5eca78..3c966ddd217 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestCollectionEndingWithWordListObject.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs index 457b88ac9c7..1b29845a039 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TestInlineFreeformAdditionalPropertiesRequest.cs @@ -126,7 +126,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs index 34fa15105dc..19416f56f42 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/TriangleInterface.cs @@ -139,7 +139,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs index b7911507a70..2970dd6a428 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/User.cs @@ -268,7 +268,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs index 50119ed39e7..60a3a44fb3c 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Whale.cs @@ -159,7 +159,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index 314fae589fc..66d3e647726 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -57,7 +57,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index 617dcd5f7a0..a5d128e49dc 100644 --- a/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/restsharp/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -51,7 +51,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ namespace Org.OpenAPITools.Model IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } + } } } diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs index 939b710f34b..f0ed14d32ce 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ChildCat.cs @@ -43,7 +43,6 @@ namespace Org.OpenAPITools.Model ChildCat = 1 } - /// /// Gets or Sets PetType /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs index ef7f75fa434..f497659feed 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumArrays.cs @@ -49,7 +49,6 @@ namespace Org.OpenAPITools.Model Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -73,7 +72,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs index 627c8a3acd4..7ab36453cea 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/EnumTest.cs @@ -85,7 +85,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -146,7 +145,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -168,7 +166,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -190,7 +187,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -215,7 +211,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs index f864601a1a5..8304a04841e 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/MapTest.cs @@ -48,7 +48,6 @@ namespace Org.OpenAPITools.Model [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs index 24a19990a2e..5b2bc0c14a2 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Order.cs @@ -56,7 +56,6 @@ namespace Org.OpenAPITools.Model Delivered = 3 } - /// /// Order Status /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs index 18a5bfabe2b..249f0e626b3 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Pet.cs @@ -56,7 +56,6 @@ namespace Org.OpenAPITools.Model Sold = 3 } - /// /// pet status in the store /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs index 5c3f9047a91..8acb04f6542 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/RequiredClass.cs @@ -46,7 +46,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -68,7 +67,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -90,7 +88,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -112,7 +109,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -135,7 +131,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -157,7 +152,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -180,7 +174,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -202,7 +195,6 @@ namespace Org.OpenAPITools.Model NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -263,7 +255,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -324,7 +315,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -385,7 +375,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -446,7 +435,6 @@ namespace Org.OpenAPITools.Model Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs index e08246f7a4a..cc2876be0ad 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/Zebra.cs @@ -55,7 +55,6 @@ namespace Org.OpenAPITools.Model Grevys = 3 } - /// /// Gets or Sets Type /// diff --git a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs index fe2e61437ee..99ae6c4905b 100644 --- a/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs +++ b/samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/src/Org.OpenAPITools/Model/ZeroBasedEnumClass.cs @@ -49,7 +49,6 @@ namespace Org.OpenAPITools.Model NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// diff --git a/samples/client/petstore/elm/src/Api/Data.elm b/samples/client/petstore/elm/src/Api/Data.elm index abf9425b1ba..d7ca74351af 100644 --- a/samples/client/petstore/elm/src/Api/Data.elm +++ b/samples/client/petstore/elm/src/Api/Data.elm @@ -223,7 +223,6 @@ encodeOrderStatus = Json.Encode.string << stringFromOrder_Status - encodePet : Pet -> Json.Encode.Value encodePet = encodeObject << encodePetPairs @@ -266,7 +265,6 @@ encodePetStatus = Json.Encode.string << stringFromPetStatus - encodeTag : Tag -> Json.Encode.Value encodeTag = encodeObject << encodeTagPairs @@ -364,7 +362,6 @@ orderStatusDecoder = ) - petDecoder : Json.Decode.Decoder Pet petDecoder = Json.Decode.succeed Pet @@ -396,7 +393,6 @@ petStatusDecoder = ) - tagDecoder : Json.Decode.Decoder Tag tagDecoder = Json.Decode.succeed Tag diff --git a/samples/client/petstore/elm/src/Api/Request/Pet.elm b/samples/client/petstore/elm/src/Api/Request/Pet.elm index 732a42be48c..09f95845fc5 100644 --- a/samples/client/petstore/elm/src/Api/Request/Pet.elm +++ b/samples/client/petstore/elm/src/Api/Request/Pet.elm @@ -46,7 +46,6 @@ statusVariants = , StatusSold ] - stringFromStatus : Status -> String stringFromStatus model = case model of @@ -60,7 +59,6 @@ stringFromStatus model = "sold" - addPet : Api.Data.Pet -> Api.Request Api.Data.Pet addPet pet_body = Api.request diff --git a/samples/client/petstore/go/go-petstore/model_200_response.go b/samples/client/petstore/go/go-petstore/model_200_response.go index f26632075bb..ebf497ae4c6 100644 --- a/samples/client/petstore/go/go-petstore/model_200_response.go +++ b/samples/client/petstore/go/go-petstore/model_200_response.go @@ -159,4 +159,3 @@ func (v *NullableModel200Response) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go b/samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go index 69d99b022d6..7e86b98ea39 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesAnyType) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_array.go b/samples/client/petstore/go/go-petstore/model_additional_properties_array.go index 58633a54e85..b063a5d2478 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_array.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_array.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesArray) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_boolean.go b/samples/client/petstore/go/go-petstore/model_additional_properties_boolean.go index 9b5347dd1d3..12cd8d9bab8 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_boolean.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_boolean.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesBoolean) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_class.go b/samples/client/petstore/go/go-petstore/model_additional_properties_class.go index 5abc8a844b1..7b7573fa500 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_class.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_class.go @@ -483,4 +483,3 @@ func (v *NullableAdditionalPropertiesClass) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_integer.go b/samples/client/petstore/go/go-petstore/model_additional_properties_integer.go index c91aab6e506..a4e29e80e10 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_integer.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_integer.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesInteger) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_number.go b/samples/client/petstore/go/go-petstore/model_additional_properties_number.go index e64cc22eb5b..73e1c5a1b2e 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_number.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_number.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesNumber) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_object.go b/samples/client/petstore/go/go-petstore/model_additional_properties_object.go index e5f793dda33..b9425d48df4 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_object.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_object.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesObject) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_additional_properties_string.go b/samples/client/petstore/go/go-petstore/model_additional_properties_string.go index f5e2f79fe20..1dd8d88f7b2 100644 --- a/samples/client/petstore/go/go-petstore/model_additional_properties_string.go +++ b/samples/client/petstore/go/go-petstore/model_additional_properties_string.go @@ -152,4 +152,3 @@ func (v *NullableAdditionalPropertiesString) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_animal.go b/samples/client/petstore/go/go-petstore/model_animal.go index e23baa88fcc..1ee1cbfca08 100644 --- a/samples/client/petstore/go/go-petstore/model_animal.go +++ b/samples/client/petstore/go/go-petstore/model_animal.go @@ -195,4 +195,3 @@ func (v *NullableAnimal) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_api_response.go b/samples/client/petstore/go/go-petstore/model_api_response.go index 60ed1b2100b..3c381418aa3 100644 --- a/samples/client/petstore/go/go-petstore/model_api_response.go +++ b/samples/client/petstore/go/go-petstore/model_api_response.go @@ -195,4 +195,3 @@ func (v *NullableApiResponse) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_array_of_array_of_number_only.go b/samples/client/petstore/go/go-petstore/model_array_of_array_of_number_only.go index db9c18aa620..bccc28fb8b3 100644 --- a/samples/client/petstore/go/go-petstore/model_array_of_array_of_number_only.go +++ b/samples/client/petstore/go/go-petstore/model_array_of_array_of_number_only.go @@ -123,4 +123,3 @@ func (v *NullableArrayOfArrayOfNumberOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_array_of_number_only.go b/samples/client/petstore/go/go-petstore/model_array_of_number_only.go index 636ec8e1294..04b07d4c712 100644 --- a/samples/client/petstore/go/go-petstore/model_array_of_number_only.go +++ b/samples/client/petstore/go/go-petstore/model_array_of_number_only.go @@ -123,4 +123,3 @@ func (v *NullableArrayOfNumberOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_array_test_.go b/samples/client/petstore/go/go-petstore/model_array_test_.go index 2b95a674682..ab1a4d8f9ba 100644 --- a/samples/client/petstore/go/go-petstore/model_array_test_.go +++ b/samples/client/petstore/go/go-petstore/model_array_test_.go @@ -195,4 +195,3 @@ func (v *NullableArrayTest) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_big_cat.go b/samples/client/petstore/go/go-petstore/model_big_cat.go index 4000f2096d9..839466c65d2 100644 --- a/samples/client/petstore/go/go-petstore/model_big_cat.go +++ b/samples/client/petstore/go/go-petstore/model_big_cat.go @@ -176,4 +176,3 @@ func (v *NullableBigCat) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_capitalization.go b/samples/client/petstore/go/go-petstore/model_capitalization.go index 5bc3c0cd72f..166d9f0b032 100644 --- a/samples/client/petstore/go/go-petstore/model_capitalization.go +++ b/samples/client/petstore/go/go-petstore/model_capitalization.go @@ -304,4 +304,3 @@ func (v *NullableCapitalization) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_cat.go b/samples/client/petstore/go/go-petstore/model_cat.go index b3937685f6a..9750e302672 100644 --- a/samples/client/petstore/go/go-petstore/model_cat.go +++ b/samples/client/petstore/go/go-petstore/model_cat.go @@ -176,4 +176,3 @@ func (v *NullableCat) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_category.go b/samples/client/petstore/go/go-petstore/model_category.go index d1936264039..829149f238b 100644 --- a/samples/client/petstore/go/go-petstore/model_category.go +++ b/samples/client/petstore/go/go-petstore/model_category.go @@ -193,4 +193,3 @@ func (v *NullableCategory) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_class_model.go b/samples/client/petstore/go/go-petstore/model_class_model.go index 23e47a6b692..e1886dc3b58 100644 --- a/samples/client/petstore/go/go-petstore/model_class_model.go +++ b/samples/client/petstore/go/go-petstore/model_class_model.go @@ -123,4 +123,3 @@ func (v *NullableClassModel) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_client.go b/samples/client/petstore/go/go-petstore/model_client.go index 7011509e10c..8a7b7ecdf03 100644 --- a/samples/client/petstore/go/go-petstore/model_client.go +++ b/samples/client/petstore/go/go-petstore/model_client.go @@ -123,4 +123,3 @@ func (v *NullableClient) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_dog.go b/samples/client/petstore/go/go-petstore/model_dog.go index 92d5dece9e7..9e8949f86af 100644 --- a/samples/client/petstore/go/go-petstore/model_dog.go +++ b/samples/client/petstore/go/go-petstore/model_dog.go @@ -176,4 +176,3 @@ func (v *NullableDog) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_enum_arrays.go b/samples/client/petstore/go/go-petstore/model_enum_arrays.go index 0342fe0838c..c4c9f921a42 100644 --- a/samples/client/petstore/go/go-petstore/model_enum_arrays.go +++ b/samples/client/petstore/go/go-petstore/model_enum_arrays.go @@ -159,4 +159,3 @@ func (v *NullableEnumArrays) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_enum_class.go b/samples/client/petstore/go/go-petstore/model_enum_class.go index fbdcefdf0f3..228c0c719a0 100644 --- a/samples/client/petstore/go/go-petstore/model_enum_class.go +++ b/samples/client/petstore/go/go-petstore/model_enum_class.go @@ -110,4 +110,3 @@ func (v *NullableEnumClass) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_enum_test_.go b/samples/client/petstore/go/go-petstore/model_enum_test_.go index cf858376f48..b429e478be2 100644 --- a/samples/client/petstore/go/go-petstore/model_enum_test_.go +++ b/samples/client/petstore/go/go-petstore/model_enum_test_.go @@ -299,4 +299,3 @@ func (v *NullableEnumTest) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_file.go b/samples/client/petstore/go/go-petstore/model_file.go index 62847b33159..ed0c64ccd2e 100644 --- a/samples/client/petstore/go/go-petstore/model_file.go +++ b/samples/client/petstore/go/go-petstore/model_file.go @@ -124,4 +124,3 @@ func (v *NullableFile) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_file_schema_test_class.go b/samples/client/petstore/go/go-petstore/model_file_schema_test_class.go index 6d9ce70ca04..6f80454b2fd 100644 --- a/samples/client/petstore/go/go-petstore/model_file_schema_test_class.go +++ b/samples/client/petstore/go/go-petstore/model_file_schema_test_class.go @@ -159,4 +159,3 @@ func (v *NullableFileSchemaTestClass) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_format_test_.go b/samples/client/petstore/go/go-petstore/model_format_test_.go index 0dddb61a87a..12516885761 100644 --- a/samples/client/petstore/go/go-petstore/model_format_test_.go +++ b/samples/client/petstore/go/go-petstore/model_format_test_.go @@ -601,4 +601,3 @@ func (v *NullableFormatTest) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_has_only_read_only.go b/samples/client/petstore/go/go-petstore/model_has_only_read_only.go index fd4c4c68619..500be3a4670 100644 --- a/samples/client/petstore/go/go-petstore/model_has_only_read_only.go +++ b/samples/client/petstore/go/go-petstore/model_has_only_read_only.go @@ -159,4 +159,3 @@ func (v *NullableHasOnlyReadOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_list.go b/samples/client/petstore/go/go-petstore/model_list.go index db218859da0..56c5f10256d 100644 --- a/samples/client/petstore/go/go-petstore/model_list.go +++ b/samples/client/petstore/go/go-petstore/model_list.go @@ -123,4 +123,3 @@ func (v *NullableList) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_map_test_.go b/samples/client/petstore/go/go-petstore/model_map_test_.go index 78ca3949a67..19830ef987b 100644 --- a/samples/client/petstore/go/go-petstore/model_map_test_.go +++ b/samples/client/petstore/go/go-petstore/model_map_test_.go @@ -231,4 +231,3 @@ func (v *NullableMapTest) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_mixed_properties_and_additional_properties_class.go b/samples/client/petstore/go/go-petstore/model_mixed_properties_and_additional_properties_class.go index e3baadf91b2..ff134a8fecf 100644 --- a/samples/client/petstore/go/go-petstore/model_mixed_properties_and_additional_properties_class.go +++ b/samples/client/petstore/go/go-petstore/model_mixed_properties_and_additional_properties_class.go @@ -196,4 +196,3 @@ func (v *NullableMixedPropertiesAndAdditionalPropertiesClass) UnmarshalJSON(src return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_name.go b/samples/client/petstore/go/go-petstore/model_name.go index 7e009e1cf0b..7be3cac6985 100644 --- a/samples/client/petstore/go/go-petstore/model_name.go +++ b/samples/client/petstore/go/go-petstore/model_name.go @@ -263,4 +263,3 @@ func (v *NullableName) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_number_only.go b/samples/client/petstore/go/go-petstore/model_number_only.go index 629549ba988..4d2876a21c0 100644 --- a/samples/client/petstore/go/go-petstore/model_number_only.go +++ b/samples/client/petstore/go/go-petstore/model_number_only.go @@ -123,4 +123,3 @@ func (v *NullableNumberOnly) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_order.go b/samples/client/petstore/go/go-petstore/model_order.go index d403c611333..92ab8221045 100644 --- a/samples/client/petstore/go/go-petstore/model_order.go +++ b/samples/client/petstore/go/go-petstore/model_order.go @@ -309,4 +309,3 @@ func (v *NullableOrder) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_outer_composite.go b/samples/client/petstore/go/go-petstore/model_outer_composite.go index 4758b3a952f..daa4a8e120b 100644 --- a/samples/client/petstore/go/go-petstore/model_outer_composite.go +++ b/samples/client/petstore/go/go-petstore/model_outer_composite.go @@ -195,4 +195,3 @@ func (v *NullableOuterComposite) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_outer_enum.go b/samples/client/petstore/go/go-petstore/model_outer_enum.go index ba1752474ad..891ed4c3689 100644 --- a/samples/client/petstore/go/go-petstore/model_outer_enum.go +++ b/samples/client/petstore/go/go-petstore/model_outer_enum.go @@ -110,4 +110,3 @@ func (v *NullableOuterEnum) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_pet.go b/samples/client/petstore/go/go-petstore/model_pet.go index de782511daa..a1a48a5af9f 100644 --- a/samples/client/petstore/go/go-petstore/model_pet.go +++ b/samples/client/petstore/go/go-petstore/model_pet.go @@ -328,4 +328,3 @@ func (v *NullablePet) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_read_only_first.go b/samples/client/petstore/go/go-petstore/model_read_only_first.go index fb7df05bff1..10eb81703ad 100644 --- a/samples/client/petstore/go/go-petstore/model_read_only_first.go +++ b/samples/client/petstore/go/go-petstore/model_read_only_first.go @@ -159,4 +159,3 @@ func (v *NullableReadOnlyFirst) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_return.go b/samples/client/petstore/go/go-petstore/model_return.go index bc2bdb01444..56e4a6bc9f9 100644 --- a/samples/client/petstore/go/go-petstore/model_return.go +++ b/samples/client/petstore/go/go-petstore/model_return.go @@ -123,4 +123,3 @@ func (v *NullableReturn) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_special_model_name.go b/samples/client/petstore/go/go-petstore/model_special_model_name.go index 3811893dcad..443bcf64e88 100644 --- a/samples/client/petstore/go/go-petstore/model_special_model_name.go +++ b/samples/client/petstore/go/go-petstore/model_special_model_name.go @@ -123,4 +123,3 @@ func (v *NullableSpecialModelName) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_tag.go b/samples/client/petstore/go/go-petstore/model_tag.go index fe001247a88..9f727b44f37 100644 --- a/samples/client/petstore/go/go-petstore/model_tag.go +++ b/samples/client/petstore/go/go-petstore/model_tag.go @@ -159,4 +159,3 @@ func (v *NullableTag) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_type_holder_default.go b/samples/client/petstore/go/go-petstore/model_type_holder_default.go index 8a67e9f7a2d..d01e5b3aa2a 100644 --- a/samples/client/petstore/go/go-petstore/model_type_holder_default.go +++ b/samples/client/petstore/go/go-petstore/model_type_holder_default.go @@ -271,4 +271,3 @@ func (v *NullableTypeHolderDefault) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_type_holder_example.go b/samples/client/petstore/go/go-petstore/model_type_holder_example.go index a0822307082..99911e3a09a 100644 --- a/samples/client/petstore/go/go-petstore/model_type_holder_example.go +++ b/samples/client/petstore/go/go-petstore/model_type_holder_example.go @@ -295,4 +295,3 @@ func (v *NullableTypeHolderExample) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_user.go b/samples/client/petstore/go/go-petstore/model_user.go index f1ccca8efdc..bfda3b712c5 100644 --- a/samples/client/petstore/go/go-petstore/model_user.go +++ b/samples/client/petstore/go/go-petstore/model_user.go @@ -376,4 +376,3 @@ func (v *NullableUser) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/go/go-petstore/model_xml_item.go b/samples/client/petstore/go/go-petstore/model_xml_item.go index 7632c89d71d..0692c25ac6b 100644 --- a/samples/client/petstore/go/go-petstore/model_xml_item.go +++ b/samples/client/petstore/go/go-petstore/model_xml_item.go @@ -1131,4 +1131,3 @@ func (v *NullableXmlItem) UnmarshalJSON(src []byte) error { return json.Unmarshal(src, &v.value) } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index abc3d296fa3..e1ac2ba77f0 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -22,7 +22,6 @@ import java.util.Map; - public class AdditionalPropertiesClass { private Map mapProperty = null; @@ -105,4 +104,3 @@ public class AdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index cb7b8b0a681..33c130fcd06 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.SingleRefType; - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ public class AllOfWithSingleRef { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Animal.java index 52742a478bb..7ab81113e36 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Animal.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Animal { private String className; @@ -96,4 +95,3 @@ public class Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 80114154d94..48b01de132d 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index b06f05338a4..3f0a08e04de 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayTest.java index d9ee320b0bd..fbd30068de9 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ReadOnlyFirst; - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ public class ArrayTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Capitalization.java index f6d3fde93d4..a01d3056e60 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Capitalization.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ public class Capitalization { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Cat.java index be9c6954561..fd78521fde6 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Cat.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ public class Cat extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Category.java index 8da99011104..89b04cabaa8 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Category.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Category { private Long id; @@ -93,4 +92,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 90b2f7ceb09..c6617f65489 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -25,7 +25,6 @@ import org.openapitools.jackson.nullable.JsonNullable; - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ public class ChildWithNullable extends ParentWithNullable { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ClassModel.java index de44db959bc..5c7b6554620 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ClassModel.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ public class ClassModel { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Client.java index 0ad715df8de..06d16b9b9cb 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Client.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Client { private String client; @@ -70,4 +69,3 @@ public class Client { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java index aaaed8e7f3e..157ab8092d5 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ public class DeprecatedObject { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Dog.java index 069dab8392d..51983bed091 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Dog.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ public class Dog extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumArrays.java index 38d88dc16fd..1d2150a8562 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -23,7 +23,6 @@ import java.util.List; - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ public enum ArrayEnumEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumClass.java index eed52272f70..e642082e555 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumClass.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumClass.java @@ -49,4 +49,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumTest.java index 538f09adced..14ac92c1d43 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,7 +27,6 @@ import java.util.NoSuchElementException; - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ public enum EnumNumberEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index f671eb33e5c..65f35948527 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -23,7 +23,6 @@ import java.util.Map; - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ public class FakeBigDecimalMap200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index f867e747aab..484b6407be1 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ModelFile; - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ public class FileSchemaTestClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Foo.java index fcafaf7682c..b776b0ceb3b 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Foo.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ public class Foo { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 27971dae916..9f8d25607e1 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.Foo; - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ public class FooGetDefaultResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java index 1f3fc84b65a..0d97cf0fb43 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/FormatTest.java @@ -25,7 +25,6 @@ import java.util.UUID; - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ public class FormatTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 72566c02dde..59eb5f33b1b 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ public class HasOnlyReadOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 35e104b4b12..8e9ecfcc2b5 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. **/ - public class HealthCheckResult { private String nullableMessage; @@ -76,4 +75,3 @@ public class HealthCheckResult { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MapTest.java index ec54a8ae421..013add4b44c 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MapTest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ public enum InnerEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index de307d1e286..f93fed716ab 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.Animal; - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ public class MixedPropertiesAndAdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Model200Response.java index 393f65f83e9..16f006b17e6 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Model200Response.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ public class Model200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 881fc2677d2..31eba756a9d 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelFile.java index 3c1cf785ea5..bdeb864521d 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelFile.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ public class ModelFile { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelList.java index 0c2e7ffb39d..294ad403a4d 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelList.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ public class ModelList { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelReturn.java index 7d948f62e2c..66f7828eb00 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ public class ModelReturn { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Name.java index ba07eb91523..1d295d271b7 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Name.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ public class Name { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NullableClass.java index 91af4dd3894..3d2a8017076 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NullableClass.java @@ -31,7 +31,6 @@ import java.util.NoSuchElementException; - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ public class NullableClass extends HashMap { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NumberOnly.java index 5d493bccf26..00ecd6c8dc3 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ public class NumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 254b7df22cb..aa09ec6762d 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.DeprecatedObject; - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ public class ObjectWithDeprecatedFields { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Order.java index 84ce8e3fa1f..9f2a1b5e2f3 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Order.java @@ -21,7 +21,6 @@ import java.time.OffsetDateTime; - public class Order { private Long id; @@ -210,4 +209,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterComposite.java index 6ba3d1712d4..8b88efe87d8 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ public class OuterComposite { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnum.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnum.java index 9fe96db3f6e..e1bb31759af 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnum.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnum.java @@ -49,4 +49,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java index f5b732f784f..a6717dea7b0 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java index 0ca88b32ee6..48d976f4bff 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java @@ -49,4 +49,3 @@ public enum OuterEnumInteger { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java index 06f9fe6c371..594884a48f6 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumIntegerDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index b25e8e37ae7..e0cc28e11cb 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.OuterEnumInteger; - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ public class OuterObjectWithEnumProperty { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java index d22980be614..9181a55aada 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ public enum TypeEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Pet.java index 3960d437277..e6c5942b8eb 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Pet.java @@ -28,7 +28,6 @@ import org.openapitools.client.model.Tag; - public class Pet { private Long id; @@ -228,4 +227,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 15344cbf0dc..587c2bb2dad 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ public class ReadOnlyFirst { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SingleRefType.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SingleRefType.java index d46fc6c116f..315f92c0321 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SingleRefType.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SingleRefType.java @@ -47,4 +47,3 @@ public enum SingleRefType { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java index af5166268f7..e74b64d52c9 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ public class SpecialModelName { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Tag.java index 1dee37e3936..b9d424b4420 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/Tag.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Tag { private Long id; @@ -93,4 +92,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index e46c4bb382d..191fad75c7f 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = null; @@ -105,4 +104,3 @@ public class AdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index cb7b8b0a681..33c130fcd06 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.SingleRefType; - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ public class AllOfWithSingleRef { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Animal.java index 52742a478bb..7ab81113e36 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Animal.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Animal { private String className; @@ -96,4 +95,3 @@ public class Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 80114154d94..48b01de132d 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index b06f05338a4..3f0a08e04de 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayTest.java index d9ee320b0bd..fbd30068de9 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ReadOnlyFirst; - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ public class ArrayTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Capitalization.java index f6d3fde93d4..a01d3056e60 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Capitalization.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ public class Capitalization { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Cat.java index be9c6954561..fd78521fde6 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Cat.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ public class Cat extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Category.java index 8da99011104..89b04cabaa8 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Category.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Category { private Long id; @@ -93,4 +92,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 90b2f7ceb09..c6617f65489 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -25,7 +25,6 @@ import org.openapitools.jackson.nullable.JsonNullable; - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ public class ChildWithNullable extends ParentWithNullable { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ClassModel.java index de44db959bc..5c7b6554620 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ClassModel.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ public class ClassModel { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Client.java index 0ad715df8de..06d16b9b9cb 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Client.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Client { private String client; @@ -70,4 +69,3 @@ public class Client { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java index aaaed8e7f3e..157ab8092d5 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ public class DeprecatedObject { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Dog.java index 069dab8392d..51983bed091 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Dog.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ public class Dog extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumArrays.java index 38d88dc16fd..1d2150a8562 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -23,7 +23,6 @@ import java.util.List; - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ public enum ArrayEnumEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumClass.java index eed52272f70..e642082e555 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumClass.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumClass.java @@ -49,4 +49,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumTest.java index 538f09adced..14ac92c1d43 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,7 +27,6 @@ import java.util.NoSuchElementException; - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ public enum EnumNumberEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index f671eb33e5c..65f35948527 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -23,7 +23,6 @@ import java.util.Map; - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ public class FakeBigDecimalMap200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index f867e747aab..484b6407be1 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ModelFile; - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ public class FileSchemaTestClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Foo.java index fcafaf7682c..b776b0ceb3b 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Foo.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ public class Foo { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 27971dae916..9f8d25607e1 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.Foo; - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ public class FooGetDefaultResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java index 1f3fc84b65a..0d97cf0fb43 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/FormatTest.java @@ -25,7 +25,6 @@ import java.util.UUID; - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ public class FormatTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 72566c02dde..59eb5f33b1b 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ public class HasOnlyReadOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 35e104b4b12..8e9ecfcc2b5 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. **/ - public class HealthCheckResult { private String nullableMessage; @@ -76,4 +75,3 @@ public class HealthCheckResult { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MapTest.java index ec54a8ae421..013add4b44c 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MapTest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ public enum InnerEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index de307d1e286..f93fed716ab 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.Animal; - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ public class MixedPropertiesAndAdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Model200Response.java index 393f65f83e9..16f006b17e6 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Model200Response.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ public class Model200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 881fc2677d2..31eba756a9d 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelFile.java index 3c1cf785ea5..bdeb864521d 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelFile.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ public class ModelFile { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelList.java index 0c2e7ffb39d..294ad403a4d 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelList.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ public class ModelList { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelReturn.java index 7d948f62e2c..66f7828eb00 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ public class ModelReturn { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Name.java index ba07eb91523..1d295d271b7 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Name.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ public class Name { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NullableClass.java index 91af4dd3894..3d2a8017076 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NullableClass.java @@ -31,7 +31,6 @@ import java.util.NoSuchElementException; - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ public class NullableClass extends HashMap { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NumberOnly.java index 5d493bccf26..00ecd6c8dc3 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ public class NumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 254b7df22cb..aa09ec6762d 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.DeprecatedObject; - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ public class ObjectWithDeprecatedFields { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Order.java index 84ce8e3fa1f..9f2a1b5e2f3 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Order.java @@ -21,7 +21,6 @@ import java.time.OffsetDateTime; - public class Order { private Long id; @@ -210,4 +209,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterComposite.java index 6ba3d1712d4..8b88efe87d8 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ public class OuterComposite { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnum.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnum.java index 9fe96db3f6e..e1bb31759af 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnum.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnum.java @@ -49,4 +49,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java index f5b732f784f..a6717dea7b0 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java index 0ca88b32ee6..48d976f4bff 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java @@ -49,4 +49,3 @@ public enum OuterEnumInteger { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java index 06f9fe6c371..594884a48f6 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumIntegerDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index b25e8e37ae7..e0cc28e11cb 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.OuterEnumInteger; - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ public class OuterObjectWithEnumProperty { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java index d22980be614..9181a55aada 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ public enum TypeEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Pet.java index 3960d437277..e6c5942b8eb 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Pet.java @@ -28,7 +28,6 @@ import org.openapitools.client.model.Tag; - public class Pet { private Long id; @@ -228,4 +227,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 15344cbf0dc..587c2bb2dad 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ public class ReadOnlyFirst { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SingleRefType.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SingleRefType.java index d46fc6c116f..315f92c0321 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SingleRefType.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SingleRefType.java @@ -47,4 +47,3 @@ public enum SingleRefType { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SpecialModelName.java index af5166268f7..e74b64d52c9 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ public class SpecialModelName { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Tag.java index 1dee37e3936..b9d424b4420 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/Tag.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Tag { private Long id; @@ -93,4 +92,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index e46c4bb382d..191fad75c7f 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = null; @@ -105,4 +104,3 @@ public class AdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index cb7b8b0a681..33c130fcd06 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.SingleRefType; - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ public class AllOfWithSingleRef { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Animal.java index 52742a478bb..7ab81113e36 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Animal.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Animal { private String className; @@ -96,4 +95,3 @@ public class Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 80114154d94..48b01de132d 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index b06f05338a4..3f0a08e04de 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayTest.java index d9ee320b0bd..fbd30068de9 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ReadOnlyFirst; - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ public class ArrayTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Capitalization.java index f6d3fde93d4..a01d3056e60 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Capitalization.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ public class Capitalization { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Cat.java index be9c6954561..fd78521fde6 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Cat.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ public class Cat extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Category.java index 8da99011104..89b04cabaa8 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Category.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Category { private Long id; @@ -93,4 +92,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 90b2f7ceb09..c6617f65489 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -25,7 +25,6 @@ import org.openapitools.jackson.nullable.JsonNullable; - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ public class ChildWithNullable extends ParentWithNullable { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ClassModel.java index de44db959bc..5c7b6554620 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ClassModel.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ public class ClassModel { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Client.java index 0ad715df8de..06d16b9b9cb 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Client.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Client { private String client; @@ -70,4 +69,3 @@ public class Client { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java index aaaed8e7f3e..157ab8092d5 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ public class DeprecatedObject { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Dog.java index 069dab8392d..51983bed091 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Dog.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ public class Dog extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumArrays.java index 38d88dc16fd..1d2150a8562 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -23,7 +23,6 @@ import java.util.List; - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ public enum ArrayEnumEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumClass.java index eed52272f70..e642082e555 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumClass.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumClass.java @@ -49,4 +49,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumTest.java index 538f09adced..14ac92c1d43 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,7 +27,6 @@ import java.util.NoSuchElementException; - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ public enum EnumNumberEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index f671eb33e5c..65f35948527 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -23,7 +23,6 @@ import java.util.Map; - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ public class FakeBigDecimalMap200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index f867e747aab..484b6407be1 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ModelFile; - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ public class FileSchemaTestClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Foo.java index fcafaf7682c..b776b0ceb3b 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Foo.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ public class Foo { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 27971dae916..9f8d25607e1 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.Foo; - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ public class FooGetDefaultResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java index 1f3fc84b65a..0d97cf0fb43 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/FormatTest.java @@ -25,7 +25,6 @@ import java.util.UUID; - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ public class FormatTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 72566c02dde..59eb5f33b1b 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ public class HasOnlyReadOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 35e104b4b12..8e9ecfcc2b5 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. **/ - public class HealthCheckResult { private String nullableMessage; @@ -76,4 +75,3 @@ public class HealthCheckResult { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MapTest.java index ec54a8ae421..013add4b44c 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MapTest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ public enum InnerEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index de307d1e286..f93fed716ab 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.Animal; - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ public class MixedPropertiesAndAdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Model200Response.java index 393f65f83e9..16f006b17e6 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Model200Response.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ public class Model200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 881fc2677d2..31eba756a9d 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelFile.java index 3c1cf785ea5..bdeb864521d 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelFile.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ public class ModelFile { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelList.java index 0c2e7ffb39d..294ad403a4d 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelList.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ public class ModelList { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelReturn.java index 7d948f62e2c..66f7828eb00 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ public class ModelReturn { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Name.java index ba07eb91523..1d295d271b7 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Name.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ public class Name { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NullableClass.java index 91af4dd3894..3d2a8017076 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NullableClass.java @@ -31,7 +31,6 @@ import java.util.NoSuchElementException; - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ public class NullableClass extends HashMap { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NumberOnly.java index 5d493bccf26..00ecd6c8dc3 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ public class NumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 254b7df22cb..aa09ec6762d 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.DeprecatedObject; - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ public class ObjectWithDeprecatedFields { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Order.java index 84ce8e3fa1f..9f2a1b5e2f3 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Order.java @@ -21,7 +21,6 @@ import java.time.OffsetDateTime; - public class Order { private Long id; @@ -210,4 +209,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterComposite.java index 6ba3d1712d4..8b88efe87d8 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ public class OuterComposite { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnum.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnum.java index 9fe96db3f6e..e1bb31759af 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnum.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnum.java @@ -49,4 +49,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java index f5b732f784f..a6717dea7b0 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java index 0ca88b32ee6..48d976f4bff 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumInteger.java @@ -49,4 +49,3 @@ public enum OuterEnumInteger { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java index 06f9fe6c371..594884a48f6 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumIntegerDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index b25e8e37ae7..e0cc28e11cb 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.OuterEnumInteger; - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ public class OuterObjectWithEnumProperty { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java index d22980be614..9181a55aada 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ public enum TypeEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Pet.java index 3960d437277..e6c5942b8eb 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Pet.java @@ -28,7 +28,6 @@ import org.openapitools.client.model.Tag; - public class Pet { private Long id; @@ -228,4 +227,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 15344cbf0dc..587c2bb2dad 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ public class ReadOnlyFirst { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SingleRefType.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SingleRefType.java index d46fc6c116f..315f92c0321 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SingleRefType.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SingleRefType.java @@ -47,4 +47,3 @@ public enum SingleRefType { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java index af5166268f7..e74b64d52c9 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ public class SpecialModelName { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Tag.java index 1dee37e3936..b9d424b4420 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/Tag.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Tag { private Long id; @@ -93,4 +92,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index e46c4bb382d..191fad75c7f 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = null; @@ -105,4 +104,3 @@ public class AdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index cb7b8b0a681..33c130fcd06 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.SingleRefType; - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ public class AllOfWithSingleRef { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Animal.java index 52742a478bb..7ab81113e36 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Animal.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Animal { private String className; @@ -96,4 +95,3 @@ public class Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 80114154d94..48b01de132d 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index b06f05338a4..3f0a08e04de 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -24,7 +24,6 @@ import java.util.List; - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ public class ArrayOfNumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayTest.java index d9ee320b0bd..fbd30068de9 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ReadOnlyFirst; - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ public class ArrayTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Capitalization.java index f6d3fde93d4..a01d3056e60 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Capitalization.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ public class Capitalization { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Cat.java index be9c6954561..fd78521fde6 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Cat.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ public class Cat extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Category.java index 8da99011104..89b04cabaa8 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Category.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Category { private Long id; @@ -93,4 +92,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 90b2f7ceb09..c6617f65489 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -25,7 +25,6 @@ import org.openapitools.jackson.nullable.JsonNullable; - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ public class ChildWithNullable extends ParentWithNullable { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ClassModel.java index de44db959bc..5c7b6554620 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ClassModel.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ public class ClassModel { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Client.java index 0ad715df8de..06d16b9b9cb 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Client.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Client { private String client; @@ -70,4 +69,3 @@ public class Client { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java index aaaed8e7f3e..157ab8092d5 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ public class DeprecatedObject { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Dog.java index 069dab8392d..51983bed091 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Dog.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.Animal; - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ public class Dog extends Animal { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumArrays.java index 38d88dc16fd..1d2150a8562 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -23,7 +23,6 @@ import java.util.List; - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ public enum ArrayEnumEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumClass.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumClass.java index eed52272f70..e642082e555 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumClass.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumClass.java @@ -49,4 +49,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumTest.java index 538f09adced..14ac92c1d43 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,7 +27,6 @@ import java.util.NoSuchElementException; - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ public enum EnumNumberEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index f671eb33e5c..65f35948527 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -23,7 +23,6 @@ import java.util.Map; - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ public class FakeBigDecimalMap200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index f867e747aab..484b6407be1 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -24,7 +24,6 @@ import org.openapitools.client.model.ModelFile; - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ public class FileSchemaTestClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Foo.java index fcafaf7682c..b776b0ceb3b 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Foo.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ public class Foo { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 27971dae916..9f8d25607e1 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.Foo; - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ public class FooGetDefaultResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FormatTest.java index 1f3fc84b65a..0d97cf0fb43 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/FormatTest.java @@ -25,7 +25,6 @@ import java.util.UUID; - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ public class FormatTest { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 72566c02dde..59eb5f33b1b 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ public class HasOnlyReadOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 35e104b4b12..8e9ecfcc2b5 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. **/ - public class HealthCheckResult { private String nullableMessage; @@ -76,4 +75,3 @@ public class HealthCheckResult { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MapTest.java index ec54a8ae421..013add4b44c 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MapTest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ public enum InnerEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index de307d1e286..f93fed716ab 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.Animal; - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ public class MixedPropertiesAndAdditionalPropertiesClass { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Model200Response.java index 393f65f83e9..16f006b17e6 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Model200Response.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ public class Model200Response { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 881fc2677d2..31eba756a9d 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelFile.java index 3c1cf785ea5..bdeb864521d 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelFile.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ public class ModelFile { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelList.java index 0c2e7ffb39d..294ad403a4d 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelList.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ public class ModelList { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelReturn.java index 7d948f62e2c..66f7828eb00 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ public class ModelReturn { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Name.java index ba07eb91523..1d295d271b7 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Name.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ public class Name { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NullableClass.java index 91af4dd3894..3d2a8017076 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NullableClass.java @@ -31,7 +31,6 @@ import java.util.NoSuchElementException; - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ public class NullableClass extends HashMap { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NumberOnly.java index 5d493bccf26..00ecd6c8dc3 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ public class NumberOnly { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 254b7df22cb..aa09ec6762d 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -25,7 +25,6 @@ import org.openapitools.client.model.DeprecatedObject; - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ public class ObjectWithDeprecatedFields { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Order.java index 84ce8e3fa1f..9f2a1b5e2f3 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Order.java @@ -21,7 +21,6 @@ import java.time.OffsetDateTime; - public class Order { private Long id; @@ -210,4 +209,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterComposite.java index 6ba3d1712d4..8b88efe87d8 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -21,7 +21,6 @@ import java.math.BigDecimal; - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ public class OuterComposite { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnum.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnum.java index 9fe96db3f6e..e1bb31759af 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnum.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnum.java @@ -49,4 +49,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java index f5b732f784f..a6717dea7b0 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java index 0ca88b32ee6..48d976f4bff 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumInteger.java @@ -49,4 +49,3 @@ public enum OuterEnumInteger { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java index 06f9fe6c371..594884a48f6 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java @@ -49,4 +49,3 @@ public enum OuterEnumIntegerDefaultValue { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index b25e8e37ae7..e0cc28e11cb 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -21,7 +21,6 @@ import org.openapitools.client.model.OuterEnumInteger; - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ public class OuterObjectWithEnumProperty { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java index d22980be614..9181a55aada 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -26,7 +26,6 @@ import java.util.NoSuchElementException; - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ public enum TypeEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Pet.java index 3960d437277..e6c5942b8eb 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Pet.java @@ -28,7 +28,6 @@ import org.openapitools.client.model.Tag; - public class Pet { private Long id; @@ -228,4 +227,3 @@ public enum StatusEnum { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 15344cbf0dc..587c2bb2dad 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ public class ReadOnlyFirst { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SingleRefType.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SingleRefType.java index d46fc6c116f..315f92c0321 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SingleRefType.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SingleRefType.java @@ -47,4 +47,3 @@ public enum SingleRefType { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SpecialModelName.java index af5166268f7..e74b64d52c9 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ public class SpecialModelName { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Tag.java index 1dee37e3936..b9d424b4420 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/Tag.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonValue; - public class Tag { private Long id; @@ -93,4 +92,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index e46c4bb382d..191fad75c7f 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -22,7 +22,6 @@ import java.util.Map; - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java index 066d87af66a..1ae23f39c05 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java @@ -102,4 +102,3 @@ public class AdditionalPropertiesArray extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java index 7a7185cf941..a307839aa44 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java @@ -101,4 +101,3 @@ public class AdditionalPropertiesBoolean extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index accf0ce661d..78bf73c947f 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -444,4 +444,3 @@ public class AdditionalPropertiesClass { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java index 26b805fbc4a..5dcbc67542a 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java @@ -101,4 +101,3 @@ public class AdditionalPropertiesInteger extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java index d0563c8a7aa..0199b38c987 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java @@ -102,4 +102,3 @@ public class AdditionalPropertiesNumber extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java index 5629265536a..3baf37b1749 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java @@ -101,4 +101,3 @@ public class AdditionalPropertiesObject extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesString.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesString.java index dd1c0ed5498..44fb274b303 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesString.java @@ -101,4 +101,3 @@ public class AdditionalPropertiesString extends HashMap { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Animal.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Animal.java index 0868b9e046a..9b27c56e12b 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Animal.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Animal.java @@ -33,6 +33,7 @@ import javax.annotation.Generated; }) @JsonTypeName("Animal") @Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,7 +44,6 @@ import javax.annotation.Generated; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog"), }) - @Introspected public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @@ -161,4 +161,3 @@ public class Animal { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 4833e9bb0c3..894be11f9a4 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -108,4 +108,3 @@ public class ArrayOfArrayOfNumberOnly { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 57bfbd6cde1..12b0767e4c5 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -108,4 +108,3 @@ public class ArrayOfNumberOnly { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayTest.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayTest.java index ada36fef330..73bf52133d8 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ArrayTest.java @@ -180,4 +180,3 @@ public class ArrayTest { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/BigCat.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/BigCat.java index fa07e32b111..30428a0cc13 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/BigCat.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/BigCat.java @@ -139,4 +139,3 @@ public class BigCat extends Cat { return visitor.visitBigCat(this); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Capitalization.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Capitalization.java index beb23fa517e..1c336c264c3 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Capitalization.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Capitalization.java @@ -236,4 +236,3 @@ public class Capitalization { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Cat.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Cat.java index 982b338732f..6b80d7014fb 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Cat.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Cat.java @@ -104,4 +104,3 @@ public class Cat extends Animal { return visitor.visitCat(this); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Category.java index cd76561eb19..b32429998ee 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Category.java @@ -124,4 +124,3 @@ public class Category { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ClassModel.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ClassModel.java index c83da3edffc..e34876e515a 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ClassModel.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ClassModel.java @@ -96,4 +96,3 @@ public class ClassModel { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Dog.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Dog.java index 457370dd111..197134c5f5c 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Dog.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Dog.java @@ -104,4 +104,3 @@ public class Dog extends Animal { return visitor.visitDog(this); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumArrays.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumArrays.java index 245c893ea7b..47420e2582e 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumArrays.java @@ -201,4 +201,3 @@ public class EnumArrays { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumClass.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumClass.java index f01bfc41755..554a3826604 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumClass.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumClass.java @@ -59,4 +59,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumTest.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumTest.java index 538fefcddf8..31622679451 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumTest.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/EnumTest.java @@ -344,4 +344,3 @@ public class EnumTest { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 338a831b06f..e26190033d8 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -137,4 +137,3 @@ public class FileSchemaTestClass { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java index bf04172eaed..15b95d48c6a 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/FormatTest.java @@ -492,4 +492,3 @@ public class FormatTest { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/HasOnlyReadOnly.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/HasOnlyReadOnly.java index 6c0c508a0cc..766206d889a 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/HasOnlyReadOnly.java @@ -103,4 +103,3 @@ public class HasOnlyReadOnly { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MapTest.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MapTest.java index 8e75fda18bf..21c7af41e2e 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MapTest.java @@ -247,4 +247,3 @@ public class MapTest { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index acd8c687c62..f8ebb8d19d0 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -167,4 +167,3 @@ public class MixedPropertiesAndAdditionalPropertiesClass { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Model200Response.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Model200Response.java index b73b5f706df..81fd42cf4d0 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Model200Response.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Model200Response.java @@ -125,4 +125,3 @@ public class Model200Response { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelApiResponse.java index 8ad5eb40923..296a330daaa 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -153,4 +153,3 @@ public class ModelApiResponse { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelClient.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelClient.java index 316ee1b815d..96f144445ed 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelClient.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelClient.java @@ -97,4 +97,3 @@ public class ModelClient { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelFile.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelFile.java index ebf2bf26e12..99c9b69ede2 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelFile.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelFile.java @@ -97,4 +97,3 @@ public class ModelFile { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelList.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelList.java index 8d401eaecbb..fb03ecbfb1c 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelList.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelList.java @@ -97,4 +97,3 @@ public class ModelList { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelReturn.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelReturn.java index ffb8e2866fd..9fcaf3d92d4 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelReturn.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ModelReturn.java @@ -97,4 +97,3 @@ public class ModelReturn { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Name.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Name.java index fbafb9ddb23..82c05cae310 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Name.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Name.java @@ -158,4 +158,3 @@ public class Name { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/NumberOnly.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/NumberOnly.java index 524f0f73889..47382a31b3d 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/NumberOnly.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/NumberOnly.java @@ -97,4 +97,3 @@ public class NumberOnly { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Order.java index 34586a948b7..abc8804ecc3 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Order.java @@ -273,4 +273,3 @@ public class Order { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterComposite.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterComposite.java index 05afbae4307..f16dee370bc 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterComposite.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterComposite.java @@ -153,4 +153,3 @@ public class OuterComposite { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterEnum.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterEnum.java index 5cf96d10932..7527b326d54 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterEnum.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/OuterEnum.java @@ -59,4 +59,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Pet.java index 08d1ff69dbd..0ff26ba3a4c 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Pet.java @@ -293,4 +293,3 @@ public class Pet { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ReadOnlyFirst.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ReadOnlyFirst.java index aee94b6cffd..8cdb2121d4f 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/ReadOnlyFirst.java @@ -113,4 +113,3 @@ public class ReadOnlyFirst { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/SpecialModelName.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/SpecialModelName.java index 259c4ac7c99..1081de28584 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/SpecialModelName.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/SpecialModelName.java @@ -97,4 +97,3 @@ public class SpecialModelName { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Tag.java index 247a7273a86..10a517e331d 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/Tag.java @@ -124,4 +124,3 @@ public class Tag { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderDefault.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderDefault.java index 47b7b737f37..6a271eda7dc 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderDefault.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderDefault.java @@ -217,4 +217,3 @@ public class TypeHolderDefault { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderExample.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderExample.java index 7e3c01f4662..6b85ff29125 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderExample.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/TypeHolderExample.java @@ -245,4 +245,3 @@ public class TypeHolderExample { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java index b8bd0f00998..48ef19107ea 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/User.java @@ -292,4 +292,3 @@ public class User { } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/XmlItem.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/XmlItem.java index 8d0aca42fed..9ea2cc51fce 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/XmlItem.java @@ -956,4 +956,3 @@ public class XmlItem { } } - diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Animal.java index d4f171e4c49..906b0a8e59f 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Animal.java @@ -46,7 +46,6 @@ import java.util.StringJoiner; @JsonSubTypes.Type(value = Cat.class, name = "CAT"), @JsonSubTypes.Type(value = Dog.class, name = "DOG"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @javax.annotation.Nonnull diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Cat.java index bac4545e7e5..5e695de3dd9 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Cat.java @@ -42,7 +42,6 @@ import java.util.StringJoiner; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @javax.annotation.Nullable diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 7d328753303..efccac2b1a5 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -43,7 +43,6 @@ import java.util.StringJoiner; allowSetters = true // allows the type to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", visible = true) - public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; @javax.annotation.Nullable diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Dog.java index ced4f9b31bb..1177dd212a0 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Dog.java @@ -42,7 +42,6 @@ import java.util.StringJoiner; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @javax.annotation.Nullable diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumTest.java index b92aab7dc72..879ea92fe06 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumTest.java @@ -348,7 +348,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 1acf73166a6..27f93218e02 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -64,7 +64,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/NullableClass.java index 81d2b80817b..66b7fb7005b 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/NullableClass.java @@ -128,7 +128,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -161,7 +160,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -194,7 +192,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -227,7 +224,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -260,7 +256,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -293,7 +288,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -338,7 +332,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -383,7 +376,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -461,7 +453,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -506,7 +497,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 01ae30df66b..23e416d1f17 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -49,7 +49,6 @@ import java.util.StringJoiner; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullable.class, name = "ChildWithNullable"), }) - public class ParentWithNullable { /** * Gets or Sets type @@ -139,7 +138,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index d956eec0ce1..581fcc6c6a3 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -37,10 +37,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -56,8 +56,7 @@ public class AdditionalPropertiesAnyType extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -114,7 +113,6 @@ public class AdditionalPropertiesAnyType extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index ea7b682f274..ed478eed1b4 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -38,10 +38,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -57,8 +57,7 @@ public class AdditionalPropertiesArray extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -115,7 +114,6 @@ public class AdditionalPropertiesArray extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 957e51a26c2..d35e4077b04 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -37,10 +37,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -56,8 +56,7 @@ public class AdditionalPropertiesBoolean extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -114,7 +113,6 @@ public class AdditionalPropertiesBoolean extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index e5f2a700681..ad120f1546a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -45,50 +45,40 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_STRING = "map_string"; - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_NUMBER = "map_number"; - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String JSON_PROPERTY_MAP_INTEGER = "map_integer"; - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_BOOLEAN = "map_boolean"; - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_INTEGER = "map_array_integer"; - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_ANYTYPE = "map_array_anytype"; - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_STRING = "map_map_string"; - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_ANYTYPE = "map_map_anytype"; - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String JSON_PROPERTY_ANYTYPE2 = "anytype_2"; - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String JSON_PROPERTY_ANYTYPE3 = "anytype_3"; - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -111,8 +101,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapString() { @@ -145,8 +134,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapNumber() { @@ -179,8 +167,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapInteger() { @@ -213,8 +200,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapBoolean() { @@ -247,8 +233,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayInteger() { @@ -281,8 +266,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayAnytype() { @@ -315,8 +299,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapString() { @@ -349,8 +332,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapAnytype() { @@ -375,8 +357,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype1() { @@ -401,8 +382,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype2() { @@ -427,8 +407,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype3() { @@ -442,7 +421,6 @@ public class AdditionalPropertiesClass { this.anytype3 = anytype3; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 1d3aa6aa79d..95a3ccf5cf9 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -37,10 +37,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -56,8 +56,7 @@ public class AdditionalPropertiesInteger extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -114,7 +113,6 @@ public class AdditionalPropertiesInteger extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 08090c876ba..5b44dbc02bd 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -38,10 +38,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -57,8 +57,7 @@ public class AdditionalPropertiesNumber extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -115,7 +114,6 @@ public class AdditionalPropertiesNumber extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 889e43891ea..6166b390d04 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -37,10 +37,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -56,8 +56,7 @@ public class AdditionalPropertiesObject extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -114,7 +113,6 @@ public class AdditionalPropertiesObject extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 8b779bcb0f2..b1da50df056 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -37,10 +37,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -56,8 +56,7 @@ public class AdditionalPropertiesString extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -114,7 +113,6 @@ public class AdditionalPropertiesString extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java index f62cf986f2c..039d683f1a7 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -48,12 +49,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { } @@ -68,8 +67,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -94,8 +92,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -109,7 +106,6 @@ public class Animal { this.color = color; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 3268072dde7..d47374c9b77 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { @@ -76,7 +75,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 9a2cc4f2cd5..d4b4ddae255 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { @@ -76,7 +75,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java index b513a4b9ebb..32d1f6cb51d 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -71,8 +69,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -105,8 +102,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -139,8 +135,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { @@ -154,7 +149,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java index bcf069d332c..8277f946010 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -80,10 +81,8 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -99,8 +98,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_KIND) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public KindEnum getKind() { @@ -114,7 +112,6 @@ public class BigCat extends Cat { this.kind = kind; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java index 676c763a532..f6ea6ef6c1d 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java @@ -36,30 +36,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -74,8 +69,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -100,8 +94,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -126,8 +119,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -152,8 +144,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -178,8 +169,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -204,8 +194,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { @@ -219,7 +208,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Cat.java index 99c1c1f1985..cbada0c2661 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Cat.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,8 +47,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -63,8 +63,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isDeclawed() { @@ -78,7 +77,6 @@ public class Cat extends Animal { this.declawed = declawed; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java index 01b110dc4a2..29ac25ea048 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -54,8 +53,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -80,8 +78,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -95,7 +92,6 @@ public class Category { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java index 731e8329afb..ae5ecaadd8c 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -49,8 +49,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { @@ -64,7 +63,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Client.java index 18ecea78369..c2401cbe1fa 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Client.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -49,8 +49,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { @@ -64,7 +63,6 @@ public class Client { this.client = client; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Dog.java index 2abd2a24270..25c0209ff87 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Dog.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -60,8 +60,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { @@ -75,7 +74,6 @@ public class Dog extends Animal { this.breed = breed; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java index 4a6b68fce64..76a9988ea47 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -70,10 +71,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -109,10 +108,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -127,8 +124,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -161,8 +157,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { @@ -176,7 +171,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java index d4557345000..ea1de5fa60e 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java @@ -37,6 +37,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("Enum_Test") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -74,10 +75,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -115,10 +114,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -154,10 +151,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -193,14 +188,11 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -215,8 +207,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -241,8 +232,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -267,8 +257,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -293,8 +282,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -319,8 +307,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnum getOuterEnum() { @@ -334,7 +321,6 @@ public class EnumTest { this.outerEnum = outerEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/File.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/File.java index e96a02bcd02..fb56554f5ad 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/File.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/File.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class File { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public File() { } @@ -49,8 +49,7 @@ public class File { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { @@ -64,7 +63,6 @@ public class File { this.sourceURI = sourceURI; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 250122ef180..c858a6c77c6 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -36,14 +36,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private File file; + @javax.annotation.Nullable private File file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -58,8 +57,7 @@ public class FileSchemaTestClass { * Get file * @return file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getFile() { @@ -92,8 +90,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { @@ -107,7 +104,6 @@ public class FileSchemaTestClass { this.files = files; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java index 93940d641d0..41abb3d8e03 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java @@ -50,62 +50,49 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("format_test") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal"; - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -122,8 +109,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -150,8 +136,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -176,8 +161,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -204,8 +188,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -232,8 +215,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -260,8 +242,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -286,8 +267,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -312,8 +292,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -338,8 +317,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -364,8 +342,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -390,8 +367,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -416,8 +392,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -442,8 +417,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -468,8 +442,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getBigDecimal() { @@ -483,7 +456,6 @@ public class FormatTest { this.bigDecimal = bigDecimal; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 9dc90d1f3ce..e218b2b0ea3 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("hasOnlyReadOnly") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -59,8 +58,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { @@ -84,7 +81,6 @@ public class HasOnlyReadOnly { - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java index 81c20684340..894dc46ef1e 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java @@ -36,10 +36,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -75,18 +75,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -109,8 +105,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -143,8 +138,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -177,8 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -211,8 +204,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { @@ -226,7 +218,6 @@ public class MapTest { this.indirectMap = indirectMap; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 85e8725ad6f..19e1db46928 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -38,18 +38,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -64,8 +62,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -90,8 +87,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -124,8 +120,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { @@ -139,7 +134,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java index 05d89779ec1..a6948dc8902 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("200_response") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -55,8 +54,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -81,8 +79,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { @@ -96,7 +93,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 831e6c8580a..6c8f9acf82f 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("ApiResponse") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -86,8 +83,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -112,8 +108,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { @@ -127,7 +122,6 @@ public class ModelApiResponse { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java index 712b3cf6b47..9eded310ebf 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("List") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -50,8 +50,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { @@ -65,7 +64,6 @@ public class ModelList { this._123list = _123list; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java index c2c62f72330..e54e89cde97 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("Return") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -50,8 +50,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { @@ -65,7 +64,6 @@ public class ModelReturn { this._return = _return; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java index bbe70280cae..9d58d40fe7b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java @@ -34,22 +34,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -74,8 +71,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -115,8 +110,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -135,8 +129,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { @@ -145,7 +138,6 @@ public class Name { - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java index 1d49eb406fe..cfe95a3741e 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -50,8 +50,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { @@ -65,7 +64,6 @@ public class NumberOnly { this.justNumber = justNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Order.java index dc6d52dc209..01c4c5df484 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Order.java @@ -37,22 +37,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -90,14 +87,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -112,8 +106,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -138,8 +131,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -190,8 +181,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -216,8 +206,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isComplete() { @@ -257,7 +245,6 @@ public class Order { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java index e919c4e6d9e..d601fd20db0 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -60,8 +58,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -86,8 +83,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -112,8 +108,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isMyBoolean() { @@ -127,7 +122,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java index 3fd31774a9d..c7bd625a5bd 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java @@ -44,26 +44,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -101,10 +97,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -145,8 +138,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -171,8 +163,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -205,8 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -240,8 +230,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -266,8 +255,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -281,7 +269,6 @@ public class Pet { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e59d2651536..b74517b9faa 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -56,8 +55,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { @@ -92,7 +89,6 @@ public class ReadOnlyFirst { this.baz = baz; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java index 30f18df8bd5..1f663279b00 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonTypeName("$special[model.name]") @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -50,8 +50,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { @@ -65,7 +64,6 @@ public class SpecialModelName { this.$specialPropertyName = $specialPropertyName; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Tag.java index bdb029f7319..b1b0b18e022 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Tag.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -54,8 +53,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -80,8 +78,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -95,7 +92,6 @@ public class Tag { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index f6c5a693e8a..14aa8cbdb9d 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -39,26 +39,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -73,8 +69,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -99,8 +94,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -125,8 +119,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -151,8 +144,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean isBoolItem() { @@ -185,8 +177,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { @@ -200,7 +191,6 @@ public class TypeHolderDefault { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 90c368d7a77..b1d53cf76f4 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -40,30 +40,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_FLOAT_ITEM = "float_item"; - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -78,8 +73,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -104,8 +98,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -130,8 +123,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Float getFloatItem() { @@ -156,8 +148,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -182,8 +173,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean isBoolItem() { @@ -216,8 +206,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { @@ -231,7 +220,6 @@ public class TypeHolderExample { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java index 453196da014..58c95a16126 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/User.java @@ -38,38 +38,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -84,8 +77,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -110,8 +102,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -136,8 +127,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -162,8 +152,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -188,8 +177,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -214,8 +202,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -240,8 +227,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -266,8 +252,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { @@ -281,7 +266,6 @@ public class User { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java index bc3a8faa2f0..c6a69940c79 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java @@ -63,122 +63,94 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @javax.annotation.concurrent.Immutable @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String JSON_PROPERTY_ATTRIBUTE_STRING = "attribute_string"; - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String JSON_PROPERTY_ATTRIBUTE_NUMBER = "attribute_number"; - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String JSON_PROPERTY_ATTRIBUTE_INTEGER = "attribute_integer"; - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String JSON_PROPERTY_ATTRIBUTE_BOOLEAN = "attribute_boolean"; - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String JSON_PROPERTY_WRAPPED_ARRAY = "wrapped_array"; - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_STRING = "name_string"; - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String JSON_PROPERTY_NAME_NUMBER = "name_number"; - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String JSON_PROPERTY_NAME_INTEGER = "name_integer"; - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String JSON_PROPERTY_NAME_BOOLEAN = "name_boolean"; - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String JSON_PROPERTY_NAME_ARRAY = "name_array"; - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_WRAPPED_ARRAY = "name_wrapped_array"; - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_STRING = "prefix_string"; - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String JSON_PROPERTY_PREFIX_NUMBER = "prefix_number"; - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String JSON_PROPERTY_PREFIX_INTEGER = "prefix_integer"; - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String JSON_PROPERTY_PREFIX_BOOLEAN = "prefix_boolean"; - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String JSON_PROPERTY_PREFIX_ARRAY = "prefix_array"; - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_STRING = "namespace_string"; - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String JSON_PROPERTY_NAMESPACE_NUMBER = "namespace_number"; - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String JSON_PROPERTY_NAMESPACE_INTEGER = "namespace_integer"; - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String JSON_PROPERTY_NAMESPACE_BOOLEAN = "namespace_boolean"; - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String JSON_PROPERTY_NAMESPACE_ARRAY = "namespace_array"; - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_STRING = "prefix_ns_string"; - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String JSON_PROPERTY_PREFIX_NS_NUMBER = "prefix_ns_number"; - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String JSON_PROPERTY_PREFIX_NS_INTEGER = "prefix_ns_integer"; - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String JSON_PROPERTY_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String JSON_PROPERTY_PREFIX_NS_ARRAY = "prefix_ns_array"; - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -193,8 +165,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAttributeString() { @@ -219,8 +190,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getAttributeNumber() { @@ -245,8 +215,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getAttributeInteger() { @@ -271,8 +240,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isAttributeBoolean() { @@ -305,8 +273,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getWrappedArray() { @@ -331,8 +298,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNameString() { @@ -357,8 +323,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNameNumber() { @@ -383,8 +348,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNameInteger() { @@ -409,8 +373,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isNameBoolean() { @@ -443,8 +406,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameArray() { @@ -477,8 +439,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameWrappedArray() { @@ -503,8 +464,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixString() { @@ -529,8 +489,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNumber() { @@ -555,8 +514,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixInteger() { @@ -581,8 +539,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isPrefixBoolean() { @@ -615,8 +572,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixArray() { @@ -649,8 +605,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixWrappedArray() { @@ -675,8 +630,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNamespaceString() { @@ -701,8 +655,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNamespaceNumber() { @@ -727,8 +680,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNamespaceInteger() { @@ -753,8 +705,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isNamespaceBoolean() { @@ -787,8 +738,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceArray() { @@ -821,8 +771,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceWrappedArray() { @@ -847,8 +796,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixNsString() { @@ -873,8 +821,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNsNumber() { @@ -899,8 +846,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixNsInteger() { @@ -925,8 +871,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isPrefixNsBoolean() { @@ -959,8 +904,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsArray() { @@ -993,8 +937,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsWrappedArray() { @@ -1008,7 +951,6 @@ public class XmlItem { this.prefixNsWrappedArray = prefixNsWrappedArray; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 0c553d4d546..9cd2bdae754 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -112,7 +112,6 @@ public class AdditionalPropertiesClass { this.mapOfMapProperty = mapOfMapProperty; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 089ee958bba..620df3a4f3d 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -95,7 +95,6 @@ public class AllOfWithSingleRef { this.singleRefType = singleRefType; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java index d86137300ef..a3aa562e98e 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java @@ -43,7 +43,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonSubTypes.Type(value = Cat.class, name = "CAT"), @JsonSubTypes.Type(value = Dog.class, name = "DOG"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @javax.annotation.Nonnull @@ -107,7 +106,6 @@ public class Animal { this.color = color; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index a345bf13cb8..6f58e325549 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -75,7 +75,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index c8599dbbed7..f3d46916faa 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -75,7 +75,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayTest.java index c7c200f5d82..d7a28aa8a99 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -153,7 +153,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Capitalization.java index 0b9ba1ef618..6f84fc8a5d9 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Capitalization.java @@ -218,7 +218,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Cat.java index b8f93e16668..1ad999de580 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Cat.java @@ -39,7 +39,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @javax.annotation.Nullable @@ -74,7 +73,6 @@ public class Cat extends Animal { this.declawed = declawed; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java index 4a3bdb2eb4c..a3469d8665a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java @@ -94,7 +94,6 @@ public class Category { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 286d111288d..17fbd8f770f 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -40,7 +40,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; allowSetters = true // allows the type to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", visible = true) - public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; @javax.annotation.Nullable @@ -75,7 +74,6 @@ public class ChildWithNullable extends ParentWithNullable { this.otherProperty = otherProperty; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ClassModel.java index 60397c3b745..dbf6964fdad 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ClassModel.java @@ -63,7 +63,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Client.java index d7256ad2768..0be09220e7d 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Client.java @@ -63,7 +63,6 @@ public class Client { this.client = client; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/DeprecatedObject.java index 7778116e7f0..acdb137161a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -65,7 +65,6 @@ public class DeprecatedObject { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Dog.java index c9c2c2e7c3a..1e37ed6ea6c 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Dog.java @@ -39,7 +39,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @javax.annotation.Nullable @@ -74,7 +73,6 @@ public class Dog extends Animal { this.breed = breed; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumArrays.java index 8f468e1c5a1..3c7a1be595b 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -175,7 +175,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java index 711954504a1..5b9f26d9160 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java @@ -348,7 +348,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -440,7 +439,6 @@ public class EnumTest { this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 3daf00a0bf2..255aa7c80de 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -106,7 +106,6 @@ public class FakeBigDecimalMap200Response { this.someMap = someMap; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/File.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/File.java index 7ce22df97f0..8be3e1502ed 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/File.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/File.java @@ -63,7 +63,6 @@ public class File { this.sourceURI = sourceURI; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 35722d4b49a..3f47c42db94 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -106,7 +106,6 @@ public class FileSchemaTestClass { this.files = files; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Foo.java index 3b6433673ce..6c446b295f8 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Foo.java @@ -63,7 +63,6 @@ public class Foo { this.bar = bar; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index a4319ee148f..395eecaf8b5 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -65,7 +65,6 @@ public class FooGetDefaultResponse { this.string = string; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java index 5c3caaddee2..7d91c7b7219 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java @@ -544,7 +544,6 @@ public class FormatTest { this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 93ec4a4d3e4..b222d1b254f 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -83,7 +83,6 @@ public class HasOnlyReadOnly { - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 372ba15fd5f..432642164a2 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -60,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -74,7 +73,6 @@ public class HealthCheckResult { this.nullableMessage = JsonNullable.of(nullableMessage); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MapTest.java index 4a6edec42b1..f0096608166 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MapTest.java @@ -225,7 +225,6 @@ public class MapTest { this.indirectMap = indirectMap; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index c477490fecf..4ef07d0e777 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -138,7 +138,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Model200Response.java index bc3f047eb67..0ae7f98da36 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Model200Response.java @@ -95,7 +95,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 1f223a20803..5c9f00076ec 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -126,7 +126,6 @@ public class ModelApiResponse { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelList.java index ad8cb01001f..f8d50bc1762 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelList.java @@ -64,7 +64,6 @@ public class ModelList { this._123list = _123list; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelReturn.java index 38bb09bc7e2..314794ba50b 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -64,7 +64,6 @@ public class ModelReturn { this._return = _return; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java index 4210b723152..02743692ef5 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java @@ -144,7 +144,6 @@ public class Name { - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NullableClass.java index dd98a8eb614..025797b02fc 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NullableClass.java @@ -119,7 +119,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -153,7 +152,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -187,7 +185,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable isBooleanProp_JsonNullable() { return booleanProp; } @@ -221,7 +218,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -255,7 +251,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -289,7 +284,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -335,7 +329,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -381,7 +374,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -461,7 +453,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -507,7 +498,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -598,7 +588,6 @@ public class NullableClass extends HashMap { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NumberOnly.java index 42037dafe83..341017c96d2 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -64,7 +64,6 @@ public class NumberOnly { this.justNumber = justNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index b1859152ded..b142da15378 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -175,7 +175,6 @@ public class ObjectWithDeprecatedFields { this.bars = bars; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Order.java index c92dba62882..80d273485e4 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Order.java @@ -256,7 +256,6 @@ public class Order { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterComposite.java index f29ddc8cf85..5eaffd62767 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -126,7 +126,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 6d0241a56b5..88cf19fe07a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -64,7 +64,6 @@ public class OuterObjectWithEnumProperty { this.value = value; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 5d28d9b93ac..f85b446ee97 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -46,7 +46,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullable.class, name = "ChildWithNullable"), }) - public class ParentWithNullable { /** * Gets or Sets type @@ -136,7 +135,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } @@ -150,7 +148,6 @@ public class ParentWithNullable { this.nullableProperty = JsonNullable.of(nullableProperty); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java index 915191b2c83..cd3b65eb29a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java @@ -280,7 +280,6 @@ public class Pet { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index fb5c683390f..77a1b972aca 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -91,7 +91,6 @@ public class ReadOnlyFirst { this.baz = baz; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/SpecialModelName.java index f3de79349a7..8d7cee19879 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -64,7 +64,6 @@ public class SpecialModelName { this.$specialPropertyName = $specialPropertyName; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Tag.java index 73425f59e75..4cd5eba8e13 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Tag.java @@ -94,7 +94,6 @@ public class Tag { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 4b02c3f9999..c16c1794cb1 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -114,7 +114,6 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesAnyType extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 0ca63318ea1..973aa96ab5c 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesArray.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -52,8 +52,7 @@ public class AdditionalPropertiesArray extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 19809899899..345ef2db7d2 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesBoolean.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesBoolean extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index fe25bc34ed8..95b20ab1c45 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -44,50 +44,40 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE3 }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_STRING = "map_string"; - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_NUMBER = "map_number"; - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String JSON_PROPERTY_MAP_INTEGER = "map_integer"; - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_BOOLEAN = "map_boolean"; - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_INTEGER = "map_array_integer"; - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_ANYTYPE = "map_array_anytype"; - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_STRING = "map_map_string"; - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_ANYTYPE = "map_map_anytype"; - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String JSON_PROPERTY_ANYTYPE2 = "anytype_2"; - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String JSON_PROPERTY_ANYTYPE3 = "anytype_3"; - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -110,8 +100,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapString() { @@ -143,8 +132,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapNumber() { @@ -176,8 +164,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapInteger() { @@ -209,8 +196,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapBoolean() { @@ -242,8 +228,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayInteger() { @@ -275,8 +260,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayAnytype() { @@ -308,8 +292,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapString() { @@ -341,8 +324,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapAnytype() { @@ -366,8 +348,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype1() { @@ -391,8 +372,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype2() { @@ -416,8 +396,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype3() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 95004c43bea..908c12949c8 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesInteger.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesInteger extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 6a2e2be227e..d04cf67a7a7 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesNumber.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -52,8 +52,7 @@ public class AdditionalPropertiesNumber extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 5fbc22151d4..99ce043986f 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesObject extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index eb29c72010b..4834a62d9e4 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesString.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesString extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java index 5e764d85a6c..37483276f39 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,12 +48,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -67,8 +66,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -92,8 +90,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 6f58e325549..c49cc5f2bc5 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index f3d46916faa..4b662a61dbc 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayTest.java index 771578abd0a..c9b8d66152d 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/BigCat.java index 073996fa7a0..4f340150c8b 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/BigCat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; BigCat.JSON_PROPERTY_KIND }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -79,10 +80,8 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -98,8 +97,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_KIND) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public KindEnum getKind() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Capitalization.java index 6cd94422b1c..e34fd05e3c3 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Cat.java index ca385024c9d..7eeca2cbb16 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -45,8 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -62,8 +62,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java index 50b6ff1d6a2..46b862b17d1 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ClassModel.java index dbf6964fdad..ad6952b6eb7 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Client.java index 0be09220e7d..9614edc8acc 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Dog.java index 8004beff975..77e5abc774b 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumArrays.java index 42c505b1189..8578245ac91 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java index a5667a13859..575301e41b9 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java @@ -36,6 +36,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -73,10 +74,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -114,10 +113,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -153,10 +150,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -192,14 +187,11 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -214,8 +206,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -239,8 +230,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -264,8 +254,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -289,8 +278,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -314,8 +302,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnum getOuterEnum() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 6c10cc7d053..a033667c462 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java index 0e6b8b1ea93..18528edab03 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java @@ -49,62 +49,49 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal"; - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -121,8 +108,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -148,8 +134,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -173,8 +158,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -200,8 +184,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -227,8 +210,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -254,8 +236,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -279,8 +260,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -304,8 +284,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -329,8 +308,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -354,8 +332,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -379,8 +356,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -404,8 +380,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -429,8 +404,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -454,8 +428,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getBigDecimal() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 6dc15593463..ae4b6ba19d1 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MapTest.java index 03fcf621421..cf65489efd5 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 27b5ebbd852..402e91a9a0b 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Model200Response.java index 0b83c601140..dcd9d4a0b91 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0938a865de4..01a8f08a5e4 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelFile.java index 73f5779de22..5f6966cf7b2 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelList.java index f8d50bc1762..ce8b0d97672 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelReturn.java index 314794ba50b..0496b4e8ac6 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java index 4789044c853..45a18bdb047 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/NumberOnly.java index 341017c96d2..b3d7cd4222f 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Order.java index 0136b2dcc83..834d17fb706 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/OuterComposite.java index c9b0b884ef2..b1979a9e65d 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java index 8cfe9533fe1..dff2cdd7187 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e0e1e8bb4bb..7fd8fc08906 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/SpecialModelName.java index 74687fe9f3b..ef5f1a8cea7 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("$special[model.name]") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Tag.java index ebcb558efe5..027b8542d35 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index af3db948412..0f6bc121797 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -38,26 +38,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; TypeHolderDefault.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -72,8 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -97,8 +92,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -122,8 +116,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -147,8 +140,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean getBoolItem() { @@ -180,8 +172,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java index ba7a6d198a2..81249dce027 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -39,30 +39,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; TypeHolderExample.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_FLOAT_ITEM = "float_item"; - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -77,8 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -102,8 +96,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -127,8 +120,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Float getFloatItem() { @@ -152,8 +144,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -177,8 +168,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean getBoolItem() { @@ -210,8 +200,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java index 9d11826fc6b..019c8bd1f88 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/User.java @@ -37,38 +37,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; User.JSON_PROPERTY_USER_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -83,8 +76,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -108,8 +100,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -133,8 +124,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -158,8 +148,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -183,8 +172,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -208,8 +196,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -233,8 +220,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -258,8 +244,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/XmlItem.java index 0ff945d70a1..f1f62d3f109 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/XmlItem.java @@ -62,122 +62,94 @@ import com.fasterxml.jackson.annotation.JsonTypeName; XmlItem.JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String JSON_PROPERTY_ATTRIBUTE_STRING = "attribute_string"; - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String JSON_PROPERTY_ATTRIBUTE_NUMBER = "attribute_number"; - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String JSON_PROPERTY_ATTRIBUTE_INTEGER = "attribute_integer"; - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String JSON_PROPERTY_ATTRIBUTE_BOOLEAN = "attribute_boolean"; - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String JSON_PROPERTY_WRAPPED_ARRAY = "wrapped_array"; - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_STRING = "name_string"; - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String JSON_PROPERTY_NAME_NUMBER = "name_number"; - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String JSON_PROPERTY_NAME_INTEGER = "name_integer"; - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String JSON_PROPERTY_NAME_BOOLEAN = "name_boolean"; - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String JSON_PROPERTY_NAME_ARRAY = "name_array"; - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_WRAPPED_ARRAY = "name_wrapped_array"; - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_STRING = "prefix_string"; - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String JSON_PROPERTY_PREFIX_NUMBER = "prefix_number"; - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String JSON_PROPERTY_PREFIX_INTEGER = "prefix_integer"; - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String JSON_PROPERTY_PREFIX_BOOLEAN = "prefix_boolean"; - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String JSON_PROPERTY_PREFIX_ARRAY = "prefix_array"; - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_STRING = "namespace_string"; - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String JSON_PROPERTY_NAMESPACE_NUMBER = "namespace_number"; - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String JSON_PROPERTY_NAMESPACE_INTEGER = "namespace_integer"; - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String JSON_PROPERTY_NAMESPACE_BOOLEAN = "namespace_boolean"; - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String JSON_PROPERTY_NAMESPACE_ARRAY = "namespace_array"; - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_STRING = "prefix_ns_string"; - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String JSON_PROPERTY_PREFIX_NS_NUMBER = "prefix_ns_number"; - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String JSON_PROPERTY_PREFIX_NS_INTEGER = "prefix_ns_integer"; - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String JSON_PROPERTY_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String JSON_PROPERTY_PREFIX_NS_ARRAY = "prefix_ns_array"; - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -192,8 +164,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAttributeString() { @@ -217,8 +188,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getAttributeNumber() { @@ -242,8 +212,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getAttributeInteger() { @@ -267,8 +236,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getAttributeBoolean() { @@ -300,8 +268,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getWrappedArray() { @@ -325,8 +292,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNameString() { @@ -350,8 +316,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNameNumber() { @@ -375,8 +340,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNameInteger() { @@ -400,8 +364,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNameBoolean() { @@ -433,8 +396,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameArray() { @@ -466,8 +428,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameWrappedArray() { @@ -491,8 +452,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixString() { @@ -516,8 +476,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNumber() { @@ -541,8 +500,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixInteger() { @@ -566,8 +524,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixBoolean() { @@ -599,8 +556,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixArray() { @@ -632,8 +588,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixWrappedArray() { @@ -657,8 +612,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNamespaceString() { @@ -682,8 +636,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNamespaceNumber() { @@ -707,8 +660,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNamespaceInteger() { @@ -732,8 +684,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNamespaceBoolean() { @@ -765,8 +716,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceArray() { @@ -798,8 +748,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceWrappedArray() { @@ -823,8 +772,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixNsString() { @@ -848,8 +796,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNsNumber() { @@ -873,8 +820,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixNsInteger() { @@ -898,8 +844,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixNsBoolean() { @@ -931,8 +876,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsArray() { @@ -964,8 +908,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsWrappedArray() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesAnyType.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesAnyType.md index 5158bd815e6..3501c6ebfcc 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesAnyType.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesAnyType.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesArray.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesArray.md index 9edcf46b0e4..54fdc4e5352 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesArray.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesArray.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesBoolean.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesBoolean.md index 1e1ed764a56..c9a8c1bc7ba 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesBoolean.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesBoolean.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesClass.md index 79402f75c68..4ec7043f8f0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesClass.md @@ -20,4 +20,3 @@ |**anytype3** | **Object** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesInteger.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesInteger.md index cbc1673c059..d23b85e2349 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesInteger.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesInteger.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesNumber.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesNumber.md index 0bd133ccf09..0ae9ffb3e03 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesNumber.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesNumber.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesObject.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesObject.md index 3f419f8551f..ce0e6fb65d3 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesObject.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesObject.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesString.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesString.md index 269a1961cf8..451a708dcee 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesString.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/AdditionalPropertiesString.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Animal.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Animal.md index d9b32f14c88..540bfec69bc 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Animal.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Animal.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfArrayOfNumberOnly.md index 0188db3eb13..237ef6876b5 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfNumberOnly.md index a5753530aad..48d5474e10a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayNumber** | **List<BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayTest.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayTest.md index 36077c9df30..1bfb727e450 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayTest.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ArrayTest.md @@ -12,4 +12,3 @@ |**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/BigCat.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/BigCat.md index d317a0617f3..fdaa72122e5 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/BigCat.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/BigCat.md @@ -21,4 +21,3 @@ | JAGUARS | "jaguars" | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Capitalization.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Capitalization.md index 82a812711de..0b2455e5863 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Capitalization.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Capitalization.md @@ -15,4 +15,3 @@ |**ATT_NAME** | **String** | Name of the pet | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Cat.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Cat.md index 390dd519c8c..04b42c7dc5b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Cat.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Cat.md @@ -10,4 +10,3 @@ |**declawed** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Category.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Category.md index ab6d1ec334d..f33915619cc 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Category.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ClassModel.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ClassModel.md index af46dea1f6c..58f279eeb40 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ClassModel.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ClassModel.md @@ -11,4 +11,3 @@ Model for testing model with \"_class\" property |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Client.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Client.md index ef07b4ab8b9..414196529f0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Client.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Client.md @@ -10,4 +10,3 @@ |**client** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Dog.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Dog.md index 972c981c0d0..4692cd2b4a5 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Dog.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Dog.md @@ -10,4 +10,3 @@ |**breed** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumArrays.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumArrays.md index b2222d5beb2..58c01044480 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumArrays.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumArrays.md @@ -29,4 +29,3 @@ | CRAB | "crab" | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumClass.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumClass.md index b314590a759..7a4c4ec692c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumClass.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumClass.md @@ -12,4 +12,3 @@ * `_XYZ_` (value: `"(xyz)"`) - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumTest.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumTest.md index bf2def484c6..c3910dc0bb4 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumTest.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/EnumTest.md @@ -52,4 +52,3 @@ | NUMBER_MINUS_1_DOT_2 | -1.2 | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FileSchemaTestClass.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FileSchemaTestClass.md index 85d1a063669..f5d57cfd409 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FileSchemaTestClass.md @@ -11,4 +11,3 @@ |**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md index 5c36e3616e7..6f050f5f5a2 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/FormatTest.md @@ -23,4 +23,3 @@ |**bigDecimal** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/HasOnlyReadOnly.md index 29da5205dbb..38dfd19f5a8 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/HasOnlyReadOnly.md @@ -11,4 +11,3 @@ |**foo** | **String** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MapTest.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MapTest.md index 54380188e1d..b68397073bf 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MapTest.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MapTest.md @@ -22,4 +22,3 @@ | LOWER | "lower" | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md index d8ba815078e..ffb646aca74 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -12,4 +12,3 @@ |**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Model200Response.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Model200Response.md index 109411580c6..14100fcc25b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Model200Response.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Model200Response.md @@ -12,4 +12,3 @@ Model for testing model name starting with number |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelApiResponse.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelApiResponse.md index e374c2dd2de..e59fea0970b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelApiResponse.md @@ -12,4 +12,3 @@ |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelFile.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelFile.md index adcde984f52..61c9020e62a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelFile.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelFile.md @@ -11,4 +11,3 @@ Must be named `File` for test. |**sourceURI** | **String** | Test capitalization | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelList.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelList.md index f93ab7dde8d..2e28e551301 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelList.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelList.md @@ -10,4 +10,3 @@ |**_123list** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelReturn.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelReturn.md index 0bd356861eb..d307e6fbd93 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelReturn.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ModelReturn.md @@ -11,4 +11,3 @@ Model for testing reserved words |**_return** | **Integer** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Name.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Name.md index c901d943530..002cad3f332 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Name.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Name.md @@ -14,4 +14,3 @@ Model for testing model name same as property name |**_123number** | **Integer** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/NumberOnly.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/NumberOnly.md index b8ed1a4cfae..ca181cdaf81 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/NumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/NumberOnly.md @@ -10,4 +10,3 @@ |**justNumber** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Order.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Order.md index 386508ee4b0..5cf0ac9dd69 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Order.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Order.md @@ -25,4 +25,3 @@ | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterComposite.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterComposite.md index 98b56e0763f..19601002fd2 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterComposite.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterComposite.md @@ -12,4 +12,3 @@ |**myBoolean** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterEnum.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterEnum.md index 1f9b723eb8e..97cfc1e9a95 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterEnum.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/OuterEnum.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Pet.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Pet.md index 54af77a9f5a..6b2d97b7a92 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Pet.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ReadOnlyFirst.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ReadOnlyFirst.md index ad6af7ee155..138406406d3 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/ReadOnlyFirst.md @@ -11,4 +11,3 @@ |**baz** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/SpecialModelName.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/SpecialModelName.md index 4b6a06e3622..b60e8286f6d 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/SpecialModelName.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/SpecialModelName.md @@ -10,4 +10,3 @@ |**$specialPropertyName** | **Long** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Tag.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Tag.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderDefault.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderDefault.md index 71a9f3dc902..dc5e2ae57e4 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderDefault.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderDefault.md @@ -14,4 +14,3 @@ |**arrayItem** | **List<Integer>** | | | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderExample.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderExample.md index 9e410c666e4..fbe9c0d79ef 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderExample.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/TypeHolderExample.md @@ -15,4 +15,3 @@ |**arrayItem** | **List<Integer>** | | | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/User.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/User.md index 08813e4b10b..8e45ff46a2a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/User.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/User.md @@ -17,4 +17,3 @@ |**userStatus** | **Integer** | User Status | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/XmlItem.md b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/XmlItem.md index 349b62bed64..33fd0ff6ed3 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/docs/XmlItem.md +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/docs/XmlItem.md @@ -38,4 +38,3 @@ |**prefixNsWrappedArray** | **List<Integer>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 16e17dbc803..bda2fecca84 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index a41d26d1146..a7e40bcb8e7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesAnyType { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesAnyType object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 78b73ae76ab..f7ddee8b9e1 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesArray { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesArray object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 2527c24dc02..a29d8c65017 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesBoolean { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesBoolean object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index b485defda6e..f1570519850 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -433,7 +433,6 @@ public class AdditionalPropertiesClass { this.anytype3 = anytype3; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 56987101352..f4f74bac31c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesInteger { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesInteger object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index d61bb3d272f..96e4bdf9e58 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesNumber { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesNumber object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 9cd6382eba7..395ff069887 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesObject { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesObject object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 6c0b11d6e02..f0fad5aac30 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesString { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesString object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java index 6b6e59d3491..bb41ef83d8e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java @@ -37,6 +37,7 @@ import org.openapitools.client.JSON; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,7 +48,6 @@ import org.openapitools.client.JSON; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @javax.annotation.Nonnull @@ -109,7 +109,6 @@ public class Animal { this.color = color; } - /** * Return true if this Animal object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 5510fb44e7c..de2e9224eba 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -76,7 +76,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 2d594551dab..5b03d964c5e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -76,7 +76,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayTest.java index 3ae301ac9bf..67f242fbec0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -152,7 +152,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/BigCat.java index 5fbb3e27a84..b2a929a22fc 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/BigCat.java @@ -37,12 +37,12 @@ import org.openapitools.client.JSON; BigCat.JSON_PROPERTY_KIND }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class BigCat extends Cat { /** * Gets or Sets kind @@ -82,7 +82,6 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; @javax.annotation.Nullable private KindEnum kind; @@ -114,7 +113,6 @@ public class BigCat extends Cat { this.kind = kind; } - /** * Return true if this BigCat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Capitalization.java index 856400a49ec..bbf5346c947 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Capitalization.java @@ -215,7 +215,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Cat.java index bbcd180b19e..dbf42c968b7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Cat.java @@ -37,6 +37,7 @@ import org.openapitools.client.JSON; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -45,7 +46,6 @@ import org.openapitools.client.JSON; @JsonSubTypes({ @JsonSubTypes.Type(value = BigCat.class, name = "BigCat"), }) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @javax.annotation.Nullable @@ -78,7 +78,6 @@ public class Cat extends Animal { this.declawed = declawed; } - /** * Return true if this Cat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java index 12f9b4571b2..dedd58b015b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java @@ -95,7 +95,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ClassModel.java index 8b5ec06c54d..d2769d9b38b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ClassModel.java @@ -65,7 +65,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Client.java index f52ad3cd1b1..7a87645ba17 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Client.java @@ -65,7 +65,6 @@ public class Client { this.client = client; } - /** * Return true if this Client object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Dog.java index eaa6f5fcf07..723440fd01a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Dog.java @@ -37,12 +37,12 @@ import org.openapitools.client.JSON; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @javax.annotation.Nullable @@ -75,7 +75,6 @@ public class Dog extends Animal { this.breed = breed; } - /** * Return true if this Dog object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumArrays.java index 6238af12763..6ec7f57e35f 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -71,7 +71,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; @javax.annotation.Nullable private JustSymbolEnum justSymbol; @@ -110,7 +109,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); @@ -175,7 +173,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java index e67f09cebf9..554708b0311 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java @@ -76,7 +76,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; @javax.annotation.Nullable private EnumStringEnum enumString; @@ -117,7 +116,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; @@ -156,7 +154,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; @javax.annotation.Nullable private EnumIntegerEnum enumInteger; @@ -195,7 +192,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; @javax.annotation.Nullable private EnumNumberEnum enumNumber; @@ -331,7 +327,6 @@ public class EnumTest { this.outerEnum = outerEnum; } - /** * Return true if this Enum_Test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 170ad2b8b49..8f8f13e13a9 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -106,7 +106,6 @@ public class FileSchemaTestClass { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java index 9719e61e53d..c6998701323 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java @@ -471,7 +471,6 @@ public class FormatTest { this.bigDecimal = bigDecimal; } - /** * Return true if this format_test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 10721debfd1..e329c92ccd7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -86,7 +86,6 @@ public class HasOnlyReadOnly { - /** * Return true if this hasOnlyReadOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MapTest.java index dffb29de558..a32eb5c7efd 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MapTest.java @@ -77,7 +77,6 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); @@ -224,7 +223,6 @@ public class MapTest { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 4397d19483f..fdd6902dbb3 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -138,7 +138,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Model200Response.java index 35c20d8ca6a..57a47ce7324 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Model200Response.java @@ -96,7 +96,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 15a4a419b28..929e13686f7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -126,7 +126,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelFile.java index b9a89f3a17e..b5f13a8ab78 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelFile.java @@ -66,7 +66,6 @@ public class ModelFile { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelList.java index 1b91713f445..f90755e1c98 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelList.java @@ -66,7 +66,6 @@ public class ModelList { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelReturn.java index 96d2ac44fe7..b4b9c9ce6e0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -66,7 +66,6 @@ public class ModelReturn { this._return = _return; } - /** * Return true if this Return object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java index 56f543a8e55..c45f02ca685 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java @@ -145,7 +145,6 @@ public class Name { - /** * Return true if this Name object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/NumberOnly.java index 4a496bd97f4..7acdb7a4692 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -66,7 +66,6 @@ public class NumberOnly { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Order.java index bb4bcea84ae..4efc36d6db8 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Order.java @@ -92,7 +92,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @javax.annotation.Nullable private StatusEnum status; @@ -253,7 +252,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/OuterComposite.java index 26773fbe640..d639745c01c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -126,7 +126,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java index ea0266cd031..b396472516a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java @@ -102,7 +102,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @javax.annotation.Nullable private StatusEnum status; @@ -276,7 +275,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 1900fe83eed..dbd72aa4868 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -93,7 +93,6 @@ public class ReadOnlyFirst { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/SpecialModelName.java index e3d5ef03d1a..4f5612159d6 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -66,7 +66,6 @@ public class SpecialModelName { this.$specialPropertyName = $specialPropertyName; } - /** * Return true if this $special[model.name] object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Tag.java index ebad74cb005..3699d0b0c03 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Tag.java @@ -95,7 +95,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 1fecc311808..a557d263bd0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -196,7 +196,6 @@ public class TypeHolderDefault { this.arrayItem = arrayItem; } - /** * Return true if this TypeHolderDefault object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 3f6d27cbf4a..1034b1c2fd8 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -226,7 +226,6 @@ public class TypeHolderExample { this.arrayItem = arrayItem; } - /** * Return true if this TypeHolderExample object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java index efde0d59cfe..09a5e983d7c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/User.java @@ -275,7 +275,6 @@ public class User { this.userStatus = userStatus; } - /** * Return true if this User object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/XmlItem.java index d5ee1d235c4..f4fed83a64b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/XmlItem.java @@ -980,7 +980,6 @@ public class XmlItem { this.prefixNsWrappedArray = prefixNsWrappedArray; } - /** * Return true if this XmlItem object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesAnyType.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesAnyType.md index 5158bd815e6..3501c6ebfcc 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesAnyType.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesAnyType.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesArray.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesArray.md index 9edcf46b0e4..54fdc4e5352 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesArray.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesArray.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesBoolean.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesBoolean.md index 1e1ed764a56..c9a8c1bc7ba 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesBoolean.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesBoolean.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesClass.md index 79402f75c68..4ec7043f8f0 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesClass.md @@ -20,4 +20,3 @@ |**anytype3** | **Object** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesInteger.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesInteger.md index cbc1673c059..d23b85e2349 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesInteger.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesInteger.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesNumber.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesNumber.md index 0bd133ccf09..0ae9ffb3e03 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesNumber.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesNumber.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesObject.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesObject.md index 3f419f8551f..ce0e6fb65d3 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesObject.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesObject.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesString.md b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesString.md index 269a1961cf8..451a708dcee 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesString.md +++ b/samples/client/petstore/java/jersey2-java8/docs/AdditionalPropertiesString.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Animal.md b/samples/client/petstore/java/jersey2-java8/docs/Animal.md index d9b32f14c88..540bfec69bc 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Animal.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Animal.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/jersey2-java8/docs/ArrayOfArrayOfNumberOnly.md index 0188db3eb13..237ef6876b5 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ArrayOfArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/jersey2-java8/docs/ArrayOfNumberOnly.md index a5753530aad..48d5474e10a 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayNumber** | **List<BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ArrayTest.md b/samples/client/petstore/java/jersey2-java8/docs/ArrayTest.md index 36077c9df30..1bfb727e450 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ArrayTest.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ArrayTest.md @@ -12,4 +12,3 @@ |**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/BigCat.md b/samples/client/petstore/java/jersey2-java8/docs/BigCat.md index d317a0617f3..fdaa72122e5 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/BigCat.md +++ b/samples/client/petstore/java/jersey2-java8/docs/BigCat.md @@ -21,4 +21,3 @@ | JAGUARS | "jaguars" | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Capitalization.md b/samples/client/petstore/java/jersey2-java8/docs/Capitalization.md index 82a812711de..0b2455e5863 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Capitalization.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Capitalization.md @@ -15,4 +15,3 @@ |**ATT_NAME** | **String** | Name of the pet | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Cat.md b/samples/client/petstore/java/jersey2-java8/docs/Cat.md index 390dd519c8c..04b42c7dc5b 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Cat.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Cat.md @@ -10,4 +10,3 @@ |**declawed** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Category.md b/samples/client/petstore/java/jersey2-java8/docs/Category.md index ab6d1ec334d..f33915619cc 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Category.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ClassModel.md b/samples/client/petstore/java/jersey2-java8/docs/ClassModel.md index af46dea1f6c..58f279eeb40 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ClassModel.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ClassModel.md @@ -11,4 +11,3 @@ Model for testing model with \"_class\" property |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Client.md b/samples/client/petstore/java/jersey2-java8/docs/Client.md index ef07b4ab8b9..414196529f0 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Client.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Client.md @@ -10,4 +10,3 @@ |**client** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Dog.md b/samples/client/petstore/java/jersey2-java8/docs/Dog.md index 972c981c0d0..4692cd2b4a5 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Dog.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Dog.md @@ -10,4 +10,3 @@ |**breed** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/EnumArrays.md b/samples/client/petstore/java/jersey2-java8/docs/EnumArrays.md index b2222d5beb2..58c01044480 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/EnumArrays.md +++ b/samples/client/petstore/java/jersey2-java8/docs/EnumArrays.md @@ -29,4 +29,3 @@ | CRAB | "crab" | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/EnumClass.md b/samples/client/petstore/java/jersey2-java8/docs/EnumClass.md index b314590a759..7a4c4ec692c 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/EnumClass.md +++ b/samples/client/petstore/java/jersey2-java8/docs/EnumClass.md @@ -12,4 +12,3 @@ * `_XYZ_` (value: `"(xyz)"`) - diff --git a/samples/client/petstore/java/jersey2-java8/docs/EnumTest.md b/samples/client/petstore/java/jersey2-java8/docs/EnumTest.md index bf2def484c6..c3910dc0bb4 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/EnumTest.md +++ b/samples/client/petstore/java/jersey2-java8/docs/EnumTest.md @@ -52,4 +52,3 @@ | NUMBER_MINUS_1_DOT_2 | -1.2 | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/FileSchemaTestClass.md b/samples/client/petstore/java/jersey2-java8/docs/FileSchemaTestClass.md index 85d1a063669..f5d57cfd409 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/java/jersey2-java8/docs/FileSchemaTestClass.md @@ -11,4 +11,3 @@ |**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md b/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md index 9c68c3080e1..ef3bcad87fd 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md +++ b/samples/client/petstore/java/jersey2-java8/docs/FormatTest.md @@ -23,4 +23,3 @@ |**bigDecimal** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/jersey2-java8/docs/HasOnlyReadOnly.md index 29da5205dbb..38dfd19f5a8 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/java/jersey2-java8/docs/HasOnlyReadOnly.md @@ -11,4 +11,3 @@ |**foo** | **String** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/MapTest.md b/samples/client/petstore/java/jersey2-java8/docs/MapTest.md index 54380188e1d..b68397073bf 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/MapTest.md +++ b/samples/client/petstore/java/jersey2-java8/docs/MapTest.md @@ -22,4 +22,3 @@ | LOWER | "lower" | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md index a5ddf0faa6a..5d0f2a7b6a4 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey2-java8/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -12,4 +12,3 @@ |**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Model200Response.md b/samples/client/petstore/java/jersey2-java8/docs/Model200Response.md index 109411580c6..14100fcc25b 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Model200Response.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Model200Response.md @@ -12,4 +12,3 @@ Model for testing model name starting with number |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ModelApiResponse.md b/samples/client/petstore/java/jersey2-java8/docs/ModelApiResponse.md index e374c2dd2de..e59fea0970b 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ModelApiResponse.md @@ -12,4 +12,3 @@ |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ModelFile.md b/samples/client/petstore/java/jersey2-java8/docs/ModelFile.md index adcde984f52..61c9020e62a 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ModelFile.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ModelFile.md @@ -11,4 +11,3 @@ Must be named `File` for test. |**sourceURI** | **String** | Test capitalization | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ModelList.md b/samples/client/petstore/java/jersey2-java8/docs/ModelList.md index f93ab7dde8d..2e28e551301 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ModelList.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ModelList.md @@ -10,4 +10,3 @@ |**_123list** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ModelReturn.md b/samples/client/petstore/java/jersey2-java8/docs/ModelReturn.md index 0bd356861eb..d307e6fbd93 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ModelReturn.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ModelReturn.md @@ -11,4 +11,3 @@ Model for testing reserved words |**_return** | **Integer** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Name.md b/samples/client/petstore/java/jersey2-java8/docs/Name.md index c901d943530..002cad3f332 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Name.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Name.md @@ -14,4 +14,3 @@ Model for testing model name same as property name |**_123number** | **Integer** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/NumberOnly.md b/samples/client/petstore/java/jersey2-java8/docs/NumberOnly.md index b8ed1a4cfae..ca181cdaf81 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/NumberOnly.md +++ b/samples/client/petstore/java/jersey2-java8/docs/NumberOnly.md @@ -10,4 +10,3 @@ |**justNumber** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Order.md b/samples/client/petstore/java/jersey2-java8/docs/Order.md index 27af32855c5..21c4c8efc7b 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Order.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Order.md @@ -25,4 +25,3 @@ | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/OuterComposite.md b/samples/client/petstore/java/jersey2-java8/docs/OuterComposite.md index 98b56e0763f..19601002fd2 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/OuterComposite.md +++ b/samples/client/petstore/java/jersey2-java8/docs/OuterComposite.md @@ -12,4 +12,3 @@ |**myBoolean** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/OuterEnum.md b/samples/client/petstore/java/jersey2-java8/docs/OuterEnum.md index 1f9b723eb8e..97cfc1e9a95 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/OuterEnum.md +++ b/samples/client/petstore/java/jersey2-java8/docs/OuterEnum.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Pet.md b/samples/client/petstore/java/jersey2-java8/docs/Pet.md index 54af77a9f5a..6b2d97b7a92 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Pet.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/ReadOnlyFirst.md b/samples/client/petstore/java/jersey2-java8/docs/ReadOnlyFirst.md index ad6af7ee155..138406406d3 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/java/jersey2-java8/docs/ReadOnlyFirst.md @@ -11,4 +11,3 @@ |**baz** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/SpecialModelName.md b/samples/client/petstore/java/jersey2-java8/docs/SpecialModelName.md index 4b6a06e3622..b60e8286f6d 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/SpecialModelName.md +++ b/samples/client/petstore/java/jersey2-java8/docs/SpecialModelName.md @@ -10,4 +10,3 @@ |**$specialPropertyName** | **Long** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/Tag.md b/samples/client/petstore/java/jersey2-java8/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/Tag.md +++ b/samples/client/petstore/java/jersey2-java8/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/TypeHolderDefault.md b/samples/client/petstore/java/jersey2-java8/docs/TypeHolderDefault.md index 71a9f3dc902..dc5e2ae57e4 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/TypeHolderDefault.md +++ b/samples/client/petstore/java/jersey2-java8/docs/TypeHolderDefault.md @@ -14,4 +14,3 @@ |**arrayItem** | **List<Integer>** | | | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/TypeHolderExample.md b/samples/client/petstore/java/jersey2-java8/docs/TypeHolderExample.md index 9e410c666e4..fbe9c0d79ef 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/TypeHolderExample.md +++ b/samples/client/petstore/java/jersey2-java8/docs/TypeHolderExample.md @@ -15,4 +15,3 @@ |**arrayItem** | **List<Integer>** | | | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/User.md b/samples/client/petstore/java/jersey2-java8/docs/User.md index 08813e4b10b..8e45ff46a2a 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/User.md +++ b/samples/client/petstore/java/jersey2-java8/docs/User.md @@ -17,4 +17,3 @@ |**userStatus** | **Integer** | User Status | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/docs/XmlItem.md b/samples/client/petstore/java/jersey2-java8/docs/XmlItem.md index 349b62bed64..33fd0ff6ed3 100644 --- a/samples/client/petstore/java/jersey2-java8/docs/XmlItem.md +++ b/samples/client/petstore/java/jersey2-java8/docs/XmlItem.md @@ -38,4 +38,3 @@ |**prefixNsWrappedArray** | **List<Integer>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 16e17dbc803..bda2fecca84 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index a41d26d1146..a7e40bcb8e7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesAnyType { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesAnyType object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 78b73ae76ab..f7ddee8b9e1 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesArray { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesArray object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 2527c24dc02..a29d8c65017 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesBoolean { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesBoolean object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index b485defda6e..f1570519850 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -433,7 +433,6 @@ public class AdditionalPropertiesClass { this.anytype3 = anytype3; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 56987101352..f4f74bac31c 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesInteger { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesInteger object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index d61bb3d272f..96e4bdf9e58 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesNumber { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesNumber object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 9cd6382eba7..395ff069887 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -107,7 +107,6 @@ public class AdditionalPropertiesObject { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesObject object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 6c0b11d6e02..f0fad5aac30 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -106,7 +106,6 @@ public class AdditionalPropertiesString { } return this.additionalProperties.get(key); } - /** * Return true if this AdditionalPropertiesString object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java index 6b6e59d3491..bb41ef83d8e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java @@ -37,6 +37,7 @@ import org.openapitools.client.JSON; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,7 +48,6 @@ import org.openapitools.client.JSON; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @javax.annotation.Nonnull @@ -109,7 +109,6 @@ public class Animal { this.color = color; } - /** * Return true if this Animal object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 5510fb44e7c..de2e9224eba 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -76,7 +76,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 2d594551dab..5b03d964c5e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -76,7 +76,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayTest.java index 3ae301ac9bf..67f242fbec0 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -152,7 +152,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BigCat.java index 5fbb3e27a84..b2a929a22fc 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BigCat.java @@ -37,12 +37,12 @@ import org.openapitools.client.JSON; BigCat.JSON_PROPERTY_KIND }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class BigCat extends Cat { /** * Gets or Sets kind @@ -82,7 +82,6 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; @javax.annotation.Nullable private KindEnum kind; @@ -114,7 +113,6 @@ public class BigCat extends Cat { this.kind = kind; } - /** * Return true if this BigCat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Capitalization.java index 856400a49ec..bbf5346c947 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Capitalization.java @@ -215,7 +215,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Cat.java index bbcd180b19e..dbf42c968b7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Cat.java @@ -37,6 +37,7 @@ import org.openapitools.client.JSON; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -45,7 +46,6 @@ import org.openapitools.client.JSON; @JsonSubTypes({ @JsonSubTypes.Type(value = BigCat.class, name = "BigCat"), }) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @javax.annotation.Nullable @@ -78,7 +78,6 @@ public class Cat extends Animal { this.declawed = declawed; } - /** * Return true if this Cat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java index 12f9b4571b2..dedd58b015b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java @@ -95,7 +95,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ClassModel.java index 8b5ec06c54d..d2769d9b38b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ClassModel.java @@ -65,7 +65,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Client.java index f52ad3cd1b1..7a87645ba17 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Client.java @@ -65,7 +65,6 @@ public class Client { this.client = client; } - /** * Return true if this Client object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Dog.java index eaa6f5fcf07..723440fd01a 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Dog.java @@ -37,12 +37,12 @@ import org.openapitools.client.JSON; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @javax.annotation.Nullable @@ -75,7 +75,6 @@ public class Dog extends Animal { this.breed = breed; } - /** * Return true if this Dog object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumArrays.java index 6238af12763..6ec7f57e35f 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -71,7 +71,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; @javax.annotation.Nullable private JustSymbolEnum justSymbol; @@ -110,7 +109,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); @@ -175,7 +173,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java index e67f09cebf9..554708b0311 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java @@ -76,7 +76,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; @javax.annotation.Nullable private EnumStringEnum enumString; @@ -117,7 +116,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; @@ -156,7 +154,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; @javax.annotation.Nullable private EnumIntegerEnum enumInteger; @@ -195,7 +192,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; @javax.annotation.Nullable private EnumNumberEnum enumNumber; @@ -331,7 +327,6 @@ public class EnumTest { this.outerEnum = outerEnum; } - /** * Return true if this Enum_Test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 170ad2b8b49..8f8f13e13a9 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -106,7 +106,6 @@ public class FileSchemaTestClass { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java index 511fdaa161b..590f87dc425 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java @@ -471,7 +471,6 @@ public class FormatTest { this.bigDecimal = bigDecimal; } - /** * Return true if this format_test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 10721debfd1..e329c92ccd7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -86,7 +86,6 @@ public class HasOnlyReadOnly { - /** * Return true if this hasOnlyReadOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MapTest.java index dffb29de558..a32eb5c7efd 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MapTest.java @@ -77,7 +77,6 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); @@ -224,7 +223,6 @@ public class MapTest { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 0cdae9a6d43..e1b5b35b176 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -138,7 +138,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Model200Response.java index 35c20d8ca6a..57a47ce7324 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Model200Response.java @@ -96,7 +96,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 15a4a419b28..929e13686f7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -126,7 +126,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelFile.java index b9a89f3a17e..b5f13a8ab78 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelFile.java @@ -66,7 +66,6 @@ public class ModelFile { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelList.java index 1b91713f445..f90755e1c98 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelList.java @@ -66,7 +66,6 @@ public class ModelList { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelReturn.java index 96d2ac44fe7..b4b9c9ce6e0 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -66,7 +66,6 @@ public class ModelReturn { this._return = _return; } - /** * Return true if this Return object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java index 56f543a8e55..c45f02ca685 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java @@ -145,7 +145,6 @@ public class Name { - /** * Return true if this Name object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/NumberOnly.java index 4a496bd97f4..7acdb7a4692 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -66,7 +66,6 @@ public class NumberOnly { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Order.java index 6193d72decd..7c2cc469ab8 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Order.java @@ -92,7 +92,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @javax.annotation.Nullable private StatusEnum status; @@ -253,7 +252,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/OuterComposite.java index 26773fbe640..d639745c01c 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -126,7 +126,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java index ea0266cd031..b396472516a 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java @@ -102,7 +102,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @javax.annotation.Nullable private StatusEnum status; @@ -276,7 +275,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 1900fe83eed..dbd72aa4868 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -93,7 +93,6 @@ public class ReadOnlyFirst { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SpecialModelName.java index e3d5ef03d1a..4f5612159d6 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -66,7 +66,6 @@ public class SpecialModelName { this.$specialPropertyName = $specialPropertyName; } - /** * Return true if this $special[model.name] object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Tag.java index ebad74cb005..3699d0b0c03 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Tag.java @@ -95,7 +95,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 1fecc311808..a557d263bd0 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -196,7 +196,6 @@ public class TypeHolderDefault { this.arrayItem = arrayItem; } - /** * Return true if this TypeHolderDefault object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 3f6d27cbf4a..1034b1c2fd8 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -226,7 +226,6 @@ public class TypeHolderExample { this.arrayItem = arrayItem; } - /** * Return true if this TypeHolderExample object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java index efde0d59cfe..09a5e983d7c 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/User.java @@ -275,7 +275,6 @@ public class User { this.userStatus = userStatus; } - /** * Return true if this User object is equal to o. */ diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/XmlItem.java index d5ee1d235c4..f4fed83a64b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/XmlItem.java @@ -980,7 +980,6 @@ public class XmlItem { this.prefixNsWrappedArray = prefixNsWrappedArray; } - /** * Return true if this XmlItem object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3-oneOf/docs/PostRequest.md b/samples/client/petstore/java/jersey3-oneOf/docs/PostRequest.md index 31f8574a566..efab0d95a5d 100644 --- a/samples/client/petstore/java/jersey3-oneOf/docs/PostRequest.md +++ b/samples/client/petstore/java/jersey3-oneOf/docs/PostRequest.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3-oneOf/docs/SchemaA.md b/samples/client/petstore/java/jersey3-oneOf/docs/SchemaA.md index 8bb723343aa..973043138df 100644 --- a/samples/client/petstore/java/jersey3-oneOf/docs/SchemaA.md +++ b/samples/client/petstore/java/jersey3-oneOf/docs/SchemaA.md @@ -10,4 +10,3 @@ |**propA** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 03947bfb32b..fb4697bf366 100644 --- a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/PostRequest.java b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/PostRequest.java index f5f4ae0cb50..81e03a88fb8 100644 --- a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/PostRequest.java +++ b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/PostRequest.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = PostRequest.PostRequestDeserializer.class) @JsonSerialize(using = PostRequest.PostRequestSerializer.class) public class PostRequest extends AbstractOpenApiSchema { @@ -150,7 +151,6 @@ public class PostRequest extends AbstractOpenApiSchema { public PostRequest() { super("oneOf", Boolean.FALSE); } - public PostRequest(SchemaA o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/SchemaA.java b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/SchemaA.java index 4edcfcaa78e..dd5170e7562 100644 --- a/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/SchemaA.java +++ b/samples/client/petstore/java/jersey3-oneOf/src/main/java/org/openapitools/client/model/SchemaA.java @@ -34,10 +34,10 @@ import org.openapitools.client.JSON; }) @JsonTypeName("schemaA") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SchemaA { public static final String JSON_PROPERTY_PROP_A = "propA"; - @jakarta.annotation.Nullable - private String propA; + @jakarta.annotation.Nullable private String propA; public SchemaA() { } @@ -51,8 +51,7 @@ public class SchemaA { * Get propA * @return propA */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROP_A) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROP_A) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropA() { @@ -66,7 +65,6 @@ public class SchemaA { this.propA = propA; } - /** * Return true if this schemaA object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/jersey3/docs/AdditionalPropertiesClass.md index 83051d9be44..3bda53c4d3c 100644 --- a/samples/client/petstore/java/jersey3/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey3/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ |**mapWithUndeclaredPropertiesString** | **Map<String, String>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Animal.md b/samples/client/petstore/java/jersey3/docs/Animal.md index d9b32f14c88..540bfec69bc 100644 --- a/samples/client/petstore/java/jersey3/docs/Animal.md +++ b/samples/client/petstore/java/jersey3/docs/Animal.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Apple.md b/samples/client/petstore/java/jersey3/docs/Apple.md index 0ef7a92c74d..19a409261d0 100644 --- a/samples/client/petstore/java/jersey3/docs/Apple.md +++ b/samples/client/petstore/java/jersey3/docs/Apple.md @@ -11,4 +11,3 @@ |**origin** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/AppleReq.md b/samples/client/petstore/java/jersey3/docs/AppleReq.md index 989e1cfedd1..4dae60bf73d 100644 --- a/samples/client/petstore/java/jersey3/docs/AppleReq.md +++ b/samples/client/petstore/java/jersey3/docs/AppleReq.md @@ -11,4 +11,3 @@ |**mealy** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/jersey3/docs/ArrayOfArrayOfNumberOnly.md index 0188db3eb13..237ef6876b5 100644 --- a/samples/client/petstore/java/jersey3/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey3/docs/ArrayOfArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/jersey3/docs/ArrayOfNumberOnly.md index a5753530aad..48d5474e10a 100644 --- a/samples/client/petstore/java/jersey3/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/java/jersey3/docs/ArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayNumber** | **List<BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ArrayTest.md b/samples/client/petstore/java/jersey3/docs/ArrayTest.md index ae2672809aa..35d4269f709 100644 --- a/samples/client/petstore/java/jersey3/docs/ArrayTest.md +++ b/samples/client/petstore/java/jersey3/docs/ArrayTest.md @@ -12,4 +12,3 @@ |**arrayArrayOfModel** | **List<List<@Valid ReadOnlyFirst>>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Banana.md b/samples/client/petstore/java/jersey3/docs/Banana.md index 5356d17ee70..cf0c789b457 100644 --- a/samples/client/petstore/java/jersey3/docs/Banana.md +++ b/samples/client/petstore/java/jersey3/docs/Banana.md @@ -10,4 +10,3 @@ |**lengthCm** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/BananaReq.md b/samples/client/petstore/java/jersey3/docs/BananaReq.md index 22ebe1a7105..2a45b8a318b 100644 --- a/samples/client/petstore/java/jersey3/docs/BananaReq.md +++ b/samples/client/petstore/java/jersey3/docs/BananaReq.md @@ -11,4 +11,3 @@ |**sweet** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/BasquePig.md b/samples/client/petstore/java/jersey3/docs/BasquePig.md index 160cb71c321..ab4d63f698e 100644 --- a/samples/client/petstore/java/jersey3/docs/BasquePig.md +++ b/samples/client/petstore/java/jersey3/docs/BasquePig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/Capitalization.md b/samples/client/petstore/java/jersey3/docs/Capitalization.md index 82a812711de..0b2455e5863 100644 --- a/samples/client/petstore/java/jersey3/docs/Capitalization.md +++ b/samples/client/petstore/java/jersey3/docs/Capitalization.md @@ -15,4 +15,3 @@ |**ATT_NAME** | **String** | Name of the pet | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Cat.md b/samples/client/petstore/java/jersey3/docs/Cat.md index 390dd519c8c..04b42c7dc5b 100644 --- a/samples/client/petstore/java/jersey3/docs/Cat.md +++ b/samples/client/petstore/java/jersey3/docs/Cat.md @@ -10,4 +10,3 @@ |**declawed** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Category.md b/samples/client/petstore/java/jersey3/docs/Category.md index ab6d1ec334d..f33915619cc 100644 --- a/samples/client/petstore/java/jersey3/docs/Category.md +++ b/samples/client/petstore/java/jersey3/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/ChildCat.md b/samples/client/petstore/java/jersey3/docs/ChildCat.md index 258d87e5699..de4d3300bc9 100644 --- a/samples/client/petstore/java/jersey3/docs/ChildCat.md +++ b/samples/client/petstore/java/jersey3/docs/ChildCat.md @@ -19,4 +19,3 @@ | CHILD_CAT | "ChildCat" | - diff --git a/samples/client/petstore/java/jersey3/docs/ClassModel.md b/samples/client/petstore/java/jersey3/docs/ClassModel.md index af46dea1f6c..58f279eeb40 100644 --- a/samples/client/petstore/java/jersey3/docs/ClassModel.md +++ b/samples/client/petstore/java/jersey3/docs/ClassModel.md @@ -11,4 +11,3 @@ Model for testing model with \"_class\" property |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Client.md b/samples/client/petstore/java/jersey3/docs/Client.md index ef07b4ab8b9..414196529f0 100644 --- a/samples/client/petstore/java/jersey3/docs/Client.md +++ b/samples/client/petstore/java/jersey3/docs/Client.md @@ -10,4 +10,3 @@ |**client** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ComplexQuadrilateral.md b/samples/client/petstore/java/jersey3/docs/ComplexQuadrilateral.md index d0a4b1a0a75..0054df5be9f 100644 --- a/samples/client/petstore/java/jersey3/docs/ComplexQuadrilateral.md +++ b/samples/client/petstore/java/jersey3/docs/ComplexQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/DanishPig.md b/samples/client/petstore/java/jersey3/docs/DanishPig.md index 0b366d3cf2f..161f758de85 100644 --- a/samples/client/petstore/java/jersey3/docs/DanishPig.md +++ b/samples/client/petstore/java/jersey3/docs/DanishPig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/DeprecatedObject.md b/samples/client/petstore/java/jersey3/docs/DeprecatedObject.md index 48de1d62442..bbc0ccf6ed6 100644 --- a/samples/client/petstore/java/jersey3/docs/DeprecatedObject.md +++ b/samples/client/petstore/java/jersey3/docs/DeprecatedObject.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Dog.md b/samples/client/petstore/java/jersey3/docs/Dog.md index 972c981c0d0..4692cd2b4a5 100644 --- a/samples/client/petstore/java/jersey3/docs/Dog.md +++ b/samples/client/petstore/java/jersey3/docs/Dog.md @@ -10,4 +10,3 @@ |**breed** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Drawing.md b/samples/client/petstore/java/jersey3/docs/Drawing.md index 6b815fc4131..87a8673fd2a 100644 --- a/samples/client/petstore/java/jersey3/docs/Drawing.md +++ b/samples/client/petstore/java/jersey3/docs/Drawing.md @@ -13,4 +13,3 @@ |**shapes** | [**List<Shape>**](Shape.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/EnumArrays.md b/samples/client/petstore/java/jersey3/docs/EnumArrays.md index b2222d5beb2..58c01044480 100644 --- a/samples/client/petstore/java/jersey3/docs/EnumArrays.md +++ b/samples/client/petstore/java/jersey3/docs/EnumArrays.md @@ -29,4 +29,3 @@ | CRAB | "crab" | - diff --git a/samples/client/petstore/java/jersey3/docs/EnumClass.md b/samples/client/petstore/java/jersey3/docs/EnumClass.md index b314590a759..7a4c4ec692c 100644 --- a/samples/client/petstore/java/jersey3/docs/EnumClass.md +++ b/samples/client/petstore/java/jersey3/docs/EnumClass.md @@ -12,4 +12,3 @@ * `_XYZ_` (value: `"(xyz)"`) - diff --git a/samples/client/petstore/java/jersey3/docs/EnumTest.md b/samples/client/petstore/java/jersey3/docs/EnumTest.md index 3e226e18b50..fca06e77849 100644 --- a/samples/client/petstore/java/jersey3/docs/EnumTest.md +++ b/samples/client/petstore/java/jersey3/docs/EnumTest.md @@ -65,4 +65,3 @@ | NUMBER_MINUS_1_DOT_2 | -1.2 | - diff --git a/samples/client/petstore/java/jersey3/docs/EquilateralTriangle.md b/samples/client/petstore/java/jersey3/docs/EquilateralTriangle.md index eade817feb3..063b113ee70 100644 --- a/samples/client/petstore/java/jersey3/docs/EquilateralTriangle.md +++ b/samples/client/petstore/java/jersey3/docs/EquilateralTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/FileSchemaTestClass.md b/samples/client/petstore/java/jersey3/docs/FileSchemaTestClass.md index 85d1a063669..f5d57cfd409 100644 --- a/samples/client/petstore/java/jersey3/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/java/jersey3/docs/FileSchemaTestClass.md @@ -11,4 +11,3 @@ |**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Foo.md b/samples/client/petstore/java/jersey3/docs/Foo.md index 6b3f0556528..9c59271b892 100644 --- a/samples/client/petstore/java/jersey3/docs/Foo.md +++ b/samples/client/petstore/java/jersey3/docs/Foo.md @@ -10,4 +10,3 @@ |**bar** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md index ff3d7a3a56c..fb98b2bd376 100644 --- a/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/java/jersey3/docs/FooGetDefaultResponse.md @@ -10,4 +10,3 @@ |**string** | [**Foo**](Foo.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/FormatTest.md b/samples/client/petstore/java/jersey3/docs/FormatTest.md index 01b8c777ae0..4397f81e22d 100644 --- a/samples/client/petstore/java/jersey3/docs/FormatTest.md +++ b/samples/client/petstore/java/jersey3/docs/FormatTest.md @@ -25,4 +25,3 @@ |**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Fruit.md b/samples/client/petstore/java/jersey3/docs/Fruit.md index 41b3152250e..1ca01a3fda0 100644 --- a/samples/client/petstore/java/jersey3/docs/Fruit.md +++ b/samples/client/petstore/java/jersey3/docs/Fruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/FruitReq.md b/samples/client/petstore/java/jersey3/docs/FruitReq.md index 9d9c875cd39..27fcab15fc0 100644 --- a/samples/client/petstore/java/jersey3/docs/FruitReq.md +++ b/samples/client/petstore/java/jersey3/docs/FruitReq.md @@ -36,4 +36,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/GmFruit.md b/samples/client/petstore/java/jersey3/docs/GmFruit.md index c9dc50b92cb..e182eaf5420 100644 --- a/samples/client/petstore/java/jersey3/docs/GmFruit.md +++ b/samples/client/petstore/java/jersey3/docs/GmFruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/GrandparentAnimal.md b/samples/client/petstore/java/jersey3/docs/GrandparentAnimal.md index 9737408f272..dbc2301c750 100644 --- a/samples/client/petstore/java/jersey3/docs/GrandparentAnimal.md +++ b/samples/client/petstore/java/jersey3/docs/GrandparentAnimal.md @@ -10,4 +10,3 @@ |**petType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/jersey3/docs/HasOnlyReadOnly.md index 29da5205dbb..38dfd19f5a8 100644 --- a/samples/client/petstore/java/jersey3/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/java/jersey3/docs/HasOnlyReadOnly.md @@ -11,4 +11,3 @@ |**foo** | **String** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey3/docs/HealthCheckResult.md b/samples/client/petstore/java/jersey3/docs/HealthCheckResult.md index 4885e6f1cad..a2065216d66 100644 --- a/samples/client/petstore/java/jersey3/docs/HealthCheckResult.md +++ b/samples/client/petstore/java/jersey3/docs/HealthCheckResult.md @@ -11,4 +11,3 @@ Just a string to inform instance is up and running. Make it nullable in hope to |**nullableMessage** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/IsoscelesTriangle.md b/samples/client/petstore/java/jersey3/docs/IsoscelesTriangle.md index 0bd5045bc68..674bb2d975b 100644 --- a/samples/client/petstore/java/jersey3/docs/IsoscelesTriangle.md +++ b/samples/client/petstore/java/jersey3/docs/IsoscelesTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/Mammal.md b/samples/client/petstore/java/jersey3/docs/Mammal.md index 11bbff5e2ba..8c881b7f5cb 100644 --- a/samples/client/petstore/java/jersey3/docs/Mammal.md +++ b/samples/client/petstore/java/jersey3/docs/Mammal.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/MammalAnyof.md b/samples/client/petstore/java/jersey3/docs/MammalAnyof.md index 3fb117e293e..811d679b366 100644 --- a/samples/client/petstore/java/jersey3/docs/MammalAnyof.md +++ b/samples/client/petstore/java/jersey3/docs/MammalAnyof.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/MapTest.md b/samples/client/petstore/java/jersey3/docs/MapTest.md index 54380188e1d..b68397073bf 100644 --- a/samples/client/petstore/java/jersey3/docs/MapTest.md +++ b/samples/client/petstore/java/jersey3/docs/MapTest.md @@ -22,4 +22,3 @@ | LOWER | "lower" | - diff --git a/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md index a5ddf0faa6a..5d0f2a7b6a4 100644 --- a/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/java/jersey3/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -12,4 +12,3 @@ |**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Model200Response.md b/samples/client/petstore/java/jersey3/docs/Model200Response.md index 109411580c6..14100fcc25b 100644 --- a/samples/client/petstore/java/jersey3/docs/Model200Response.md +++ b/samples/client/petstore/java/jersey3/docs/Model200Response.md @@ -12,4 +12,3 @@ Model for testing model name starting with number |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ModelApiResponse.md b/samples/client/petstore/java/jersey3/docs/ModelApiResponse.md index e374c2dd2de..e59fea0970b 100644 --- a/samples/client/petstore/java/jersey3/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/jersey3/docs/ModelApiResponse.md @@ -12,4 +12,3 @@ |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ModelFile.md b/samples/client/petstore/java/jersey3/docs/ModelFile.md index adcde984f52..61c9020e62a 100644 --- a/samples/client/petstore/java/jersey3/docs/ModelFile.md +++ b/samples/client/petstore/java/jersey3/docs/ModelFile.md @@ -11,4 +11,3 @@ Must be named `File` for test. |**sourceURI** | **String** | Test capitalization | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ModelList.md b/samples/client/petstore/java/jersey3/docs/ModelList.md index f93ab7dde8d..2e28e551301 100644 --- a/samples/client/petstore/java/jersey3/docs/ModelList.md +++ b/samples/client/petstore/java/jersey3/docs/ModelList.md @@ -10,4 +10,3 @@ |**_123list** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ModelReturn.md b/samples/client/petstore/java/jersey3/docs/ModelReturn.md index 0bd356861eb..d307e6fbd93 100644 --- a/samples/client/petstore/java/jersey3/docs/ModelReturn.md +++ b/samples/client/petstore/java/jersey3/docs/ModelReturn.md @@ -11,4 +11,3 @@ Model for testing reserved words |**_return** | **Integer** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Name.md b/samples/client/petstore/java/jersey3/docs/Name.md index c901d943530..002cad3f332 100644 --- a/samples/client/petstore/java/jersey3/docs/Name.md +++ b/samples/client/petstore/java/jersey3/docs/Name.md @@ -14,4 +14,3 @@ Model for testing model name same as property name |**_123number** | **Integer** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/jersey3/docs/NullableClass.md b/samples/client/petstore/java/jersey3/docs/NullableClass.md index fa98c5c6d98..3f6e8619c87 100644 --- a/samples/client/petstore/java/jersey3/docs/NullableClass.md +++ b/samples/client/petstore/java/jersey3/docs/NullableClass.md @@ -21,4 +21,3 @@ |**objectItemsNullable** | **Map<String, Object>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/NullableShape.md b/samples/client/petstore/java/jersey3/docs/NullableShape.md index 60c45b26840..ae217f582b2 100644 --- a/samples/client/petstore/java/jersey3/docs/NullableShape.md +++ b/samples/client/petstore/java/jersey3/docs/NullableShape.md @@ -38,4 +38,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/NumberOnly.md b/samples/client/petstore/java/jersey3/docs/NumberOnly.md index b8ed1a4cfae..ca181cdaf81 100644 --- a/samples/client/petstore/java/jersey3/docs/NumberOnly.md +++ b/samples/client/petstore/java/jersey3/docs/NumberOnly.md @@ -10,4 +10,3 @@ |**justNumber** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md index f1cf571f4c0..37a3aad5547 100644 --- a/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/java/jersey3/docs/ObjectWithDeprecatedFields.md @@ -13,4 +13,3 @@ |**bars** | **List<String>** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Order.md b/samples/client/petstore/java/jersey3/docs/Order.md index 27af32855c5..21c4c8efc7b 100644 --- a/samples/client/petstore/java/jersey3/docs/Order.md +++ b/samples/client/petstore/java/jersey3/docs/Order.md @@ -25,4 +25,3 @@ | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/jersey3/docs/OuterComposite.md b/samples/client/petstore/java/jersey3/docs/OuterComposite.md index 98b56e0763f..19601002fd2 100644 --- a/samples/client/petstore/java/jersey3/docs/OuterComposite.md +++ b/samples/client/petstore/java/jersey3/docs/OuterComposite.md @@ -12,4 +12,3 @@ |**myBoolean** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/OuterEnum.md b/samples/client/petstore/java/jersey3/docs/OuterEnum.md index 1f9b723eb8e..97cfc1e9a95 100644 --- a/samples/client/petstore/java/jersey3/docs/OuterEnum.md +++ b/samples/client/petstore/java/jersey3/docs/OuterEnum.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/jersey3/docs/OuterEnumDefaultValue.md b/samples/client/petstore/java/jersey3/docs/OuterEnumDefaultValue.md index cbc7f4ba54d..16c6da73893 100644 --- a/samples/client/petstore/java/jersey3/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/java/jersey3/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/jersey3/docs/OuterEnumInteger.md b/samples/client/petstore/java/jersey3/docs/OuterEnumInteger.md index f71dea30ad0..1691ce771b3 100644 --- a/samples/client/petstore/java/jersey3/docs/OuterEnumInteger.md +++ b/samples/client/petstore/java/jersey3/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/jersey3/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/java/jersey3/docs/OuterEnumIntegerDefaultValue.md index 99e6389f427..e57bc124e36 100644 --- a/samples/client/petstore/java/jersey3/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/java/jersey3/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/jersey3/docs/ParentPet.md b/samples/client/petstore/java/jersey3/docs/ParentPet.md index 4992b88a671..27b37b9d1d2 100644 --- a/samples/client/petstore/java/jersey3/docs/ParentPet.md +++ b/samples/client/petstore/java/jersey3/docs/ParentPet.md @@ -9,4 +9,3 @@ |------------ | ------------- | ------------- | -------------| - diff --git a/samples/client/petstore/java/jersey3/docs/Pet.md b/samples/client/petstore/java/jersey3/docs/Pet.md index 08dfd862360..d7a1d925604 100644 --- a/samples/client/petstore/java/jersey3/docs/Pet.md +++ b/samples/client/petstore/java/jersey3/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/petstore/java/jersey3/docs/Pig.md b/samples/client/petstore/java/jersey3/docs/Pig.md index f0a92bbe61b..568f7f4d407 100644 --- a/samples/client/petstore/java/jersey3/docs/Pig.md +++ b/samples/client/petstore/java/jersey3/docs/Pig.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/Quadrilateral.md b/samples/client/petstore/java/jersey3/docs/Quadrilateral.md index 83ffea0c742..724e8935923 100644 --- a/samples/client/petstore/java/jersey3/docs/Quadrilateral.md +++ b/samples/client/petstore/java/jersey3/docs/Quadrilateral.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/QuadrilateralInterface.md b/samples/client/petstore/java/jersey3/docs/QuadrilateralInterface.md index 99451f3bd02..1817e338ff7 100644 --- a/samples/client/petstore/java/jersey3/docs/QuadrilateralInterface.md +++ b/samples/client/petstore/java/jersey3/docs/QuadrilateralInterface.md @@ -10,4 +10,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/ReadOnlyFirst.md b/samples/client/petstore/java/jersey3/docs/ReadOnlyFirst.md index ad6af7ee155..138406406d3 100644 --- a/samples/client/petstore/java/jersey3/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/java/jersey3/docs/ReadOnlyFirst.md @@ -11,4 +11,3 @@ |**baz** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/ScaleneTriangle.md b/samples/client/petstore/java/jersey3/docs/ScaleneTriangle.md index c578f6cbfaa..fb2f1e798e7 100644 --- a/samples/client/petstore/java/jersey3/docs/ScaleneTriangle.md +++ b/samples/client/petstore/java/jersey3/docs/ScaleneTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/Shape.md b/samples/client/petstore/java/jersey3/docs/Shape.md index 9c237eefb04..57895ef4e1b 100644 --- a/samples/client/petstore/java/jersey3/docs/Shape.md +++ b/samples/client/petstore/java/jersey3/docs/Shape.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/ShapeInterface.md b/samples/client/petstore/java/jersey3/docs/ShapeInterface.md index b4f981e3b56..e1d285bda6e 100644 --- a/samples/client/petstore/java/jersey3/docs/ShapeInterface.md +++ b/samples/client/petstore/java/jersey3/docs/ShapeInterface.md @@ -10,4 +10,3 @@ |**shapeType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/ShapeOrNull.md b/samples/client/petstore/java/jersey3/docs/ShapeOrNull.md index 6a738c4b987..bd3d6720c30 100644 --- a/samples/client/petstore/java/jersey3/docs/ShapeOrNull.md +++ b/samples/client/petstore/java/jersey3/docs/ShapeOrNull.md @@ -38,4 +38,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/SimpleQuadrilateral.md b/samples/client/petstore/java/jersey3/docs/SimpleQuadrilateral.md index 52fb7d1a6a4..c4e88c25956 100644 --- a/samples/client/petstore/java/jersey3/docs/SimpleQuadrilateral.md +++ b/samples/client/petstore/java/jersey3/docs/SimpleQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/SpecialModelName.md b/samples/client/petstore/java/jersey3/docs/SpecialModelName.md index e17d0d797b7..5336911fcf7 100644 --- a/samples/client/petstore/java/jersey3/docs/SpecialModelName.md +++ b/samples/client/petstore/java/jersey3/docs/SpecialModelName.md @@ -11,4 +11,3 @@ |**specialModelName** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Tag.md b/samples/client/petstore/java/jersey3/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/petstore/java/jersey3/docs/Tag.md +++ b/samples/client/petstore/java/jersey3/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/java/jersey3/docs/TestInlineFreeformAdditionalPropertiesRequest.md index dc066e6c7da..31f9e413678 100644 --- a/samples/client/petstore/java/jersey3/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/java/jersey3/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -10,4 +10,3 @@ |**someProperty** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Triangle.md b/samples/client/petstore/java/jersey3/docs/Triangle.md index daf9d153ff6..8ca98989d71 100644 --- a/samples/client/petstore/java/jersey3/docs/Triangle.md +++ b/samples/client/petstore/java/jersey3/docs/Triangle.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/jersey3/docs/TriangleInterface.md b/samples/client/petstore/java/jersey3/docs/TriangleInterface.md index ef5fc7575f3..c684f27e858 100644 --- a/samples/client/petstore/java/jersey3/docs/TriangleInterface.md +++ b/samples/client/petstore/java/jersey3/docs/TriangleInterface.md @@ -10,4 +10,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/User.md b/samples/client/petstore/java/jersey3/docs/User.md index 9e97dc35485..0923cdf0c33 100644 --- a/samples/client/petstore/java/jersey3/docs/User.md +++ b/samples/client/petstore/java/jersey3/docs/User.md @@ -21,4 +21,3 @@ |**anyTypePropNullable** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] | - diff --git a/samples/client/petstore/java/jersey3/docs/Whale.md b/samples/client/petstore/java/jersey3/docs/Whale.md index 30ce4bb8215..bec0b35bd00 100644 --- a/samples/client/petstore/java/jersey3/docs/Whale.md +++ b/samples/client/petstore/java/jersey3/docs/Whale.md @@ -12,4 +12,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/jersey3/docs/Zebra.md b/samples/client/petstore/java/jersey3/docs/Zebra.md index f7c4389b645..3b9786866e5 100644 --- a/samples/client/petstore/java/jersey3/docs/Zebra.md +++ b/samples/client/petstore/java/jersey3/docs/Zebra.md @@ -21,4 +21,3 @@ | GREVYS | "grevys" | - diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index b455ffde1db..f285c7f72eb 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -145,5 +145,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 795337f2d52..a8c68f54789 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -104,7 +104,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMapProperty() { return mapProperty; } @@ -139,7 +138,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map> getMapOfMapProperty() { return mapOfMapProperty; } @@ -164,18 +162,15 @@ public class AdditionalPropertiesClass { @jakarta.annotation.Nullable @JsonIgnore - public Object getAnytype1() { return anytype1.orElse(null); } @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnytype1_JsonNullable() { return anytype1; } - @JsonProperty(JSON_PROPERTY_ANYTYPE1) public void setAnytype1_JsonNullable(JsonNullable anytype1) { this.anytype1 = anytype1; @@ -199,7 +194,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getMapWithUndeclaredPropertiesAnytype1() { return mapWithUndeclaredPropertiesAnytype1; } @@ -225,7 +219,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getMapWithUndeclaredPropertiesAnytype2() { return mapWithUndeclaredPropertiesAnytype2; } @@ -259,7 +252,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public Map getMapWithUndeclaredPropertiesAnytype3() { return mapWithUndeclaredPropertiesAnytype3; } @@ -285,7 +277,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_EMPTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getEmptyMap() { return emptyMap; } @@ -319,7 +310,6 @@ public class AdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMapWithUndeclaredPropertiesString() { return mapWithUndeclaredPropertiesString; } @@ -331,7 +321,6 @@ public class AdditionalPropertiesClass { this.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Animal.java index 118df795806..5c78ce20448 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Animal.java @@ -48,7 +48,6 @@ import org.openapitools.client.JSON; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @jakarta.annotation.Nonnull @@ -75,7 +74,6 @@ public class Animal { @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getClassName() { return className; } @@ -101,7 +99,6 @@ public class Animal { @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getColor() { return color; } @@ -113,7 +110,6 @@ public class Animal { this.color = color; } - /** * Return true if this Animal object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Apple.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Apple.java index 24e7849e22b..b376c745eac 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Apple.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Apple.java @@ -62,7 +62,6 @@ public class Apple { @Pattern(regexp="^[a-zA-Z\\s]*$") @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCultivar() { return cultivar; } @@ -88,7 +87,6 @@ public class Apple { @Pattern(regexp="/^[A-Z\\s]*$/i") @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getOrigin() { return origin; } @@ -100,7 +98,6 @@ public class Apple { this.origin = origin; } - /** * Return true if this apple object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AppleReq.java index 73918b98ff7..ed251cdf296 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/AppleReq.java @@ -63,7 +63,6 @@ public class AppleReq { @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getCultivar() { return cultivar; } @@ -89,7 +88,6 @@ public class AppleReq { @JsonProperty(JSON_PROPERTY_MEALY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMealy() { return mealy; } @@ -101,7 +99,6 @@ public class AppleReq { this.mealy = mealy; } - /** * Return true if this appleReq object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 7f4d13dbf20..609e061ac69 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -68,7 +68,6 @@ public class ArrayOfArrayOfNumberOnly { @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List> getArrayArrayNumber() { return arrayArrayNumber; } @@ -80,7 +79,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index da38b552514..a4000830ab4 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -68,7 +68,6 @@ public class ArrayOfNumberOnly { @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getArrayNumber() { return arrayNumber; } @@ -80,7 +79,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayTest.java index 81b5130763e..be54d8093f3 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -77,7 +77,6 @@ public class ArrayTest { @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getArrayOfString() { return arrayOfString; } @@ -112,7 +111,6 @@ public class ArrayTest { @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -147,7 +145,6 @@ public class ArrayTest { @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List> getArrayArrayOfModel() { return arrayArrayOfModel; } @@ -159,7 +156,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Banana.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Banana.java index 9a7d1063835..ea08ba1e52b 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Banana.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Banana.java @@ -59,7 +59,6 @@ public class Banana { @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getLengthCm() { return lengthCm; } @@ -71,7 +70,6 @@ public class Banana { this.lengthCm = lengthCm; } - /** * Return true if this banana object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BananaReq.java index d2c71a7b906..a9c2bc99bd9 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BananaReq.java @@ -65,7 +65,6 @@ public class BananaReq { @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public BigDecimal getLengthCm() { return lengthCm; } @@ -91,7 +90,6 @@ public class BananaReq { @JsonProperty(JSON_PROPERTY_SWEET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getSweet() { return sweet; } @@ -103,7 +101,6 @@ public class BananaReq { this.sweet = sweet; } - /** * Return true if this bananaReq object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BasquePig.java index a78866da42e..9709cda3931 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/BasquePig.java @@ -57,7 +57,6 @@ public class BasquePig { @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getClassName() { return className; } @@ -69,7 +68,6 @@ public class BasquePig { this.className = className; } - /** * Return true if this BasquePig object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Capitalization.java index 940ac1bcbf4..60fecc7680d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Capitalization.java @@ -81,7 +81,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSmallCamel() { return smallCamel; } @@ -107,7 +106,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCapitalCamel() { return capitalCamel; } @@ -133,7 +131,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSmallSnake() { return smallSnake; } @@ -159,7 +156,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getCapitalSnake() { return capitalSnake; } @@ -185,7 +181,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -211,7 +206,6 @@ public class Capitalization { @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getATTNAME() { return ATT_NAME; } @@ -223,7 +217,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Cat.java index 808ea9cad3d..f1614cd0901 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Cat.java @@ -49,7 +49,6 @@ import org.openapitools.client.JSON; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @jakarta.annotation.Nullable @@ -71,7 +70,6 @@ public class Cat extends Animal { @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getDeclawed() { return declawed; } @@ -120,7 +118,6 @@ public class Cat extends Animal { } return this.additionalProperties.get(key); } - /** * Return true if this Cat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Category.java index 025a95801ba..3a9ee994456 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Category.java @@ -61,7 +61,6 @@ public class Category { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getId() { return id; } @@ -88,7 +87,6 @@ public class Category { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getName() { return name; } @@ -100,7 +98,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ChildCat.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ChildCat.java index 5f8808c00ad..5cd8eb0e765 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ChildCat.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ChildCat.java @@ -51,12 +51,12 @@ import org.openapitools.client.JSON; allowSetters = true // allows the pet_type to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "pet_type", visible = true) - public class ChildCat extends ParentPet { public static final String JSON_PROPERTY_NAME = "name"; @jakarta.annotation.Nullable private String name; + public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; @jakarta.annotation.Nullable private String petType = "ChildCat"; @@ -77,7 +77,6 @@ public class ChildCat extends ParentPet { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } @@ -111,7 +110,6 @@ public class ChildCat extends ParentPet { @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPetType() { return petType; } @@ -164,7 +162,6 @@ public class ChildCat extends ParentPet { } return this.additionalProperties.get(key); } - /** * Return true if this ChildCat object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ClassModel.java index 01fe1710971..00ddb949489 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ClassModel.java @@ -56,7 +56,6 @@ public class ClassModel { @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPropertyClass() { return propertyClass; } @@ -68,7 +67,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Client.java index ab42ff0259e..1ca6d6d8543 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Client.java @@ -56,7 +56,6 @@ public class Client { @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getClient() { return client; } @@ -68,7 +67,6 @@ public class Client { this.client = client; } - /** * Return true if this Client object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index fee47826346..83be29355b0 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -66,7 +66,6 @@ public class ComplexQuadrilateral { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -93,7 +92,6 @@ public class ComplexQuadrilateral { @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuadrilateralType() { return quadrilateralType; } @@ -142,7 +140,6 @@ public class ComplexQuadrilateral { } return this.additionalProperties.get(key); } - /** * Return true if this ComplexQuadrilateral object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DanishPig.java index dcd9fe27ff7..963a1c90239 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DanishPig.java @@ -57,7 +57,6 @@ public class DanishPig { @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getClassName() { return className; } @@ -69,7 +68,6 @@ public class DanishPig { this.className = className; } - /** * Return true if this DanishPig object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DeprecatedObject.java index acc3dc73e10..59a2496c917 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -58,7 +58,6 @@ public class DeprecatedObject { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } @@ -70,7 +69,6 @@ public class DeprecatedObject { this.name = name; } - /** * Return true if this DeprecatedObject object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Dog.java index 880c6b5a1a6..a6e1477d8e6 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Dog.java @@ -48,7 +48,6 @@ import org.openapitools.client.JSON; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @jakarta.annotation.Nullable @@ -70,7 +69,6 @@ public class Dog extends Animal { @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBreed() { return breed; } @@ -119,7 +117,6 @@ public class Dog extends Animal { } return this.additionalProperties.get(key); } - /** * Return true if this Dog object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Drawing.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Drawing.java index b3b4a6666b0..8efce75ed57 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Drawing.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Drawing.java @@ -84,7 +84,6 @@ public class Drawing { @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Shape getMainShape() { return mainShape; } @@ -110,18 +109,15 @@ public class Drawing { @Valid @JsonIgnore - public ShapeOrNull getShapeOrNull() { return shapeOrNull.orElse(null); } @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getShapeOrNull_JsonNullable() { return shapeOrNull; } - @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) public void setShapeOrNull_JsonNullable(JsonNullable shapeOrNull) { this.shapeOrNull = shapeOrNull; @@ -145,18 +141,15 @@ public class Drawing { @Valid @JsonIgnore - public NullableShape getNullableShape() { return nullableShape.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } - @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) public void setNullableShape_JsonNullable(JsonNullable nullableShape) { this.nullableShape = nullableShape; @@ -189,7 +182,6 @@ public class Drawing { @JsonProperty(JSON_PROPERTY_SHAPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getShapes() { return shapes; } @@ -238,7 +230,6 @@ public class Drawing { } return this.additionalProperties.get(key); } - /** * Return true if this Drawing object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumArrays.java index c171e5308d6..f7b66ff51c9 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -133,7 +133,6 @@ public class EnumArrays { @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -167,7 +166,6 @@ public class EnumArrays { @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getArrayEnum() { return arrayEnum; } @@ -179,7 +177,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumTest.java index 156ca8f8972..1cb49d5fe37 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EnumTest.java @@ -283,7 +283,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EnumStringEnum getEnumString() { return enumString; } @@ -310,7 +309,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -336,7 +334,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -362,7 +359,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EnumIntegerOnlyEnum getEnumIntegerOnly() { return enumIntegerOnly; } @@ -388,7 +384,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -414,18 +409,15 @@ public class EnumTest { @Valid @JsonIgnore - public OuterEnum getOuterEnum() { return outerEnum.orElse(null); } @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } - @JsonProperty(JSON_PROPERTY_OUTER_ENUM) public void setOuterEnum_JsonNullable(JsonNullable outerEnum) { this.outerEnum = outerEnum; @@ -450,7 +442,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OuterEnumInteger getOuterEnumInteger() { return outerEnumInteger; } @@ -477,7 +468,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OuterEnumDefaultValue getOuterEnumDefaultValue() { return outerEnumDefaultValue; } @@ -504,7 +494,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { return outerEnumIntegerDefaultValue; } @@ -516,7 +505,6 @@ public class EnumTest { this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; } - /** * Return true if this Enum_Test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index 44732e01391..88c6c8f98b7 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -66,7 +66,6 @@ public class EquilateralTriangle { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -93,7 +92,6 @@ public class EquilateralTriangle { @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getTriangleType() { return triangleType; } @@ -142,7 +140,6 @@ public class EquilateralTriangle { } return this.additionalProperties.get(key); } - /** * Return true if this EquilateralTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index ba770c57dd9..19a58cbaacd 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -65,7 +65,6 @@ public class FileSchemaTestClass { @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public ModelFile getFile() { return _file; } @@ -100,7 +99,6 @@ public class FileSchemaTestClass { @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List<@Valid ModelFile> getFiles() { return files; } @@ -112,7 +110,6 @@ public class FileSchemaTestClass { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Foo.java index 62210e1b6ce..62a7c26ef5d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Foo.java @@ -56,7 +56,6 @@ public class Foo { @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBar() { return bar; } @@ -68,7 +67,6 @@ public class Foo { this.bar = bar; } - /** * Return true if this Foo object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index c18b124e09a..d5bfbcab517 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -59,7 +59,6 @@ public class FooGetDefaultResponse { @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Foo getString() { return string; } @@ -71,7 +70,6 @@ public class FooGetDefaultResponse { this.string = string; } - /** * Return true if this _foo_get_default_response object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java index a82a6a123b7..b0c9a8e30d2 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FormatTest.java @@ -139,7 +139,6 @@ public class FormatTest { @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getInteger() { return integer; } @@ -167,7 +166,6 @@ public class FormatTest { @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getInt32() { return int32; } @@ -193,7 +191,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getInt64() { return int64; } @@ -223,7 +220,6 @@ public class FormatTest { @DecimalMin("32.1") @DecimalMax("543.2") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public BigDecimal getNumber() { return number; } @@ -251,7 +247,6 @@ public class FormatTest { @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Float getFloat() { return _float; } @@ -279,7 +274,6 @@ public class FormatTest { @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Double getDouble() { return _double; } @@ -306,7 +300,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getDecimal() { return decimal; } @@ -332,7 +325,6 @@ public class FormatTest { @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getString() { return string; } @@ -359,7 +351,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public byte[] getByte() { return _byte; } @@ -386,7 +377,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public File getBinary() { return binary; } @@ -414,7 +404,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public LocalDate getDate() { return date; } @@ -441,7 +430,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDateTime() { return dateTime; } @@ -468,7 +456,6 @@ public class FormatTest { @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UUID getUuid() { return uuid; } @@ -495,7 +482,6 @@ public class FormatTest { @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getPassword() { return password; } @@ -521,7 +507,6 @@ public class FormatTest { @Pattern(regexp="^\\d{10}$") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPatternWithDigits() { return patternWithDigits; } @@ -547,7 +532,6 @@ public class FormatTest { @Pattern(regexp="/^image_\\d{1,3}$/i") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPatternWithDigitsAndDelimiter() { return patternWithDigitsAndDelimiter; } @@ -559,7 +543,6 @@ public class FormatTest { this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; } - /** * Return true if this format_test object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Fruit.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Fruit.java index c819d5a9365..e755b2d0b54 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Fruit.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Fruit.java @@ -58,6 +58,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Fruit.FruitDeserializer.class) @JsonSerialize(using = Fruit.FruitSerializer.class) public class Fruit extends AbstractOpenApiSchema { @@ -149,7 +150,6 @@ public class Fruit extends AbstractOpenApiSchema { public Fruit() { super("oneOf", Boolean.FALSE); } - public Fruit(Apple o) { super("oneOf", Boolean.TRUE); setActualInstance(o); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FruitReq.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FruitReq.java index 17c9e85e05c..41fdce25f7f 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FruitReq.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/FruitReq.java @@ -58,6 +58,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = FruitReq.FruitReqDeserializer.class) @JsonSerialize(using = FruitReq.FruitReqSerializer.class) public class FruitReq extends AbstractOpenApiSchema { @@ -149,7 +150,6 @@ public class FruitReq extends AbstractOpenApiSchema { public FruitReq() { super("oneOf", Boolean.TRUE); } - public FruitReq(AppleReq o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GmFruit.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GmFruit.java index 36ffb634603..94fa7134dd7 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GmFruit.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GmFruit.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using=GmFruit.GmFruitDeserializer.class) @JsonSerialize(using = GmFruit.GmFruitSerializer.class) public class GmFruit extends AbstractOpenApiSchema { @@ -129,7 +130,6 @@ public class GmFruit extends AbstractOpenApiSchema { public GmFruit() { super("anyOf", Boolean.FALSE); } - public GmFruit(Apple o) { super("anyOf", Boolean.TRUE); setActualInstance(o); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index fbbe6f2788a..9230b6e2c8b 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -47,7 +47,6 @@ import org.openapitools.client.JSON; @JsonSubTypes.Type(value = ChildCat.class, name = "ChildCat"), @JsonSubTypes.Type(value = ParentPet.class, name = "ParentPet"), }) - public class GrandparentAnimal { public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; @jakarta.annotation.Nonnull @@ -70,7 +69,6 @@ public class GrandparentAnimal { @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getPetType() { return petType; } @@ -82,7 +80,6 @@ public class GrandparentAnimal { this.petType = petType; } - /** * Return true if this GrandparentAnimal object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 2b6cd744bd2..ed2cd41956e 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -67,7 +67,6 @@ public class HasOnlyReadOnly { @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBar() { return bar; } @@ -83,14 +82,12 @@ public class HasOnlyReadOnly { @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFoo() { return foo; } - /** * Return true if this hasOnlyReadOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HealthCheckResult.java index cb1d09c13c5..47f1a68fbf6 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -58,18 +58,15 @@ public class HealthCheckResult { @jakarta.annotation.Nullable @JsonIgnore - public String getNullableMessage() { return nullableMessage.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } - @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) public void setNullableMessage_JsonNullable(JsonNullable nullableMessage) { this.nullableMessage = nullableMessage; @@ -79,7 +76,6 @@ public class HealthCheckResult { this.nullableMessage = JsonNullable.of(nullableMessage); } - /** * Return true if this HealthCheckResult object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index d116617abdd..2285ecb619d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -62,7 +62,6 @@ public class IsoscelesTriangle { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -89,7 +88,6 @@ public class IsoscelesTriangle { @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getTriangleType() { return triangleType; } @@ -101,7 +99,6 @@ public class IsoscelesTriangle { this.triangleType = triangleType; } - /** * Return true if this IsoscelesTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Mammal.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Mammal.java index 6b46ceee645..a21f86801af 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Mammal.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Mammal.java @@ -65,6 +65,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Mammal.MammalDeserializer.class) @JsonSerialize(using = Mammal.MammalSerializer.class) public class Mammal extends AbstractOpenApiSchema { @@ -229,7 +230,6 @@ public class Mammal extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this mammal object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MammalAnyof.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MammalAnyof.java index 90e11adaa73..2cebd597e9f 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MammalAnyof.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MammalAnyof.java @@ -62,6 +62,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using=MammalAnyof.MammalAnyofDeserializer.class) @JsonSerialize(using = MammalAnyof.MammalAnyofSerializer.class) public class MammalAnyof extends AbstractOpenApiSchema { @@ -194,7 +195,6 @@ public class MammalAnyof extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this mammal_anyof object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MapTest.java index 03f3eda9cc3..6df36889beb 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MapTest.java @@ -117,7 +117,6 @@ public class MapTest { @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map> getMapMapOfString() { return mapMapOfString; } @@ -151,7 +150,6 @@ public class MapTest { @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -185,7 +183,6 @@ public class MapTest { @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getDirectMap() { return directMap; } @@ -219,7 +216,6 @@ public class MapTest { @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getIndirectMap() { return indirectMap; } @@ -231,7 +227,6 @@ public class MapTest { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index eb9a5aef500..049af0efbce 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -72,7 +72,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public UUID getUuid() { return uuid; } @@ -99,7 +98,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getDateTime() { return dateTime; } @@ -134,7 +132,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Map getMap() { return map; } @@ -146,7 +143,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Model200Response.java index aabc6c471b2..5d2727ddeba 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Model200Response.java @@ -62,7 +62,6 @@ public class Model200Response { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getName() { return name; } @@ -88,7 +87,6 @@ public class Model200Response { @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPropertyClass() { return propertyClass; } @@ -100,7 +98,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 33bdc417985..c301438f86e 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -67,7 +67,6 @@ public class ModelApiResponse { @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getCode() { return code; } @@ -93,7 +92,6 @@ public class ModelApiResponse { @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getType() { return type; } @@ -119,7 +117,6 @@ public class ModelApiResponse { @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMessage() { return message; } @@ -131,7 +128,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelFile.java index 98a0e80e521..a19fe95c4bd 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelFile.java @@ -57,7 +57,6 @@ public class ModelFile { @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSourceURI() { return sourceURI; } @@ -69,7 +68,6 @@ public class ModelFile { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelList.java index 0434c06ae29..91ce0bdd83f 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelList.java @@ -57,7 +57,6 @@ public class ModelList { @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String get123list() { return _123list; } @@ -69,7 +68,6 @@ public class ModelList { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelReturn.java index 840f3dae748..41deee996d8 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -57,7 +57,6 @@ public class ModelReturn { @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getReturn() { return _return; } @@ -69,7 +68,6 @@ public class ModelReturn { this._return = _return; } - /** * Return true if this Return object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Name.java index 2bd14b77f3a..e73afe664bd 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Name.java @@ -82,7 +82,6 @@ public class Name { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public Integer getName() { return name; } @@ -103,7 +102,6 @@ public class Name { @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getSnakeCase() { return snakeCase; } @@ -124,7 +122,6 @@ public class Name { @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getProperty() { return property; } @@ -145,14 +142,12 @@ public class Name { @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer get123number() { return _123number; } - /** * Return true if this Name object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableClass.java index 883f1cbba65..d7a56b10035 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableClass.java @@ -115,18 +115,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public Integer getIntegerProp() { return integerProp.orElse(null); } @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } - @JsonProperty(JSON_PROPERTY_INTEGER_PROP) public void setIntegerProp_JsonNullable(JsonNullable integerProp) { this.integerProp = integerProp; @@ -150,18 +147,15 @@ public class NullableClass { @Valid @JsonIgnore - public BigDecimal getNumberProp() { return numberProp.orElse(null); } @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } - @JsonProperty(JSON_PROPERTY_NUMBER_PROP) public void setNumberProp_JsonNullable(JsonNullable numberProp) { this.numberProp = numberProp; @@ -184,18 +178,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public Boolean getBooleanProp() { return booleanProp.orElse(null); } @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } - @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) public void setBooleanProp_JsonNullable(JsonNullable booleanProp) { this.booleanProp = booleanProp; @@ -218,18 +209,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public String getStringProp() { return stringProp.orElse(null); } @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } - @JsonProperty(JSON_PROPERTY_STRING_PROP) public void setStringProp_JsonNullable(JsonNullable stringProp) { this.stringProp = stringProp; @@ -253,18 +241,15 @@ public class NullableClass { @Valid @JsonIgnore - public LocalDate getDateProp() { return dateProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } - @JsonProperty(JSON_PROPERTY_DATE_PROP) public void setDateProp_JsonNullable(JsonNullable dateProp) { this.dateProp = dateProp; @@ -288,18 +273,15 @@ public class NullableClass { @Valid @JsonIgnore - public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } - @JsonProperty(JSON_PROPERTY_DATETIME_PROP) public void setDatetimeProp_JsonNullable(JsonNullable datetimeProp) { this.datetimeProp = datetimeProp; @@ -334,18 +316,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public List getArrayNullableProp() { return arrayNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } - @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) public void setArrayNullableProp_JsonNullable(JsonNullable> arrayNullableProp) { this.arrayNullableProp = arrayNullableProp; @@ -380,18 +359,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } - @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) public void setArrayAndItemsNullableProp_JsonNullable(JsonNullable> arrayAndItemsNullableProp) { this.arrayAndItemsNullableProp = arrayAndItemsNullableProp; @@ -423,7 +399,6 @@ public class NullableClass { @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getArrayItemsNullable() { return arrayItemsNullable; } @@ -460,18 +435,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public Map getObjectNullableProp() { return objectNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } - @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) public void setObjectNullableProp_JsonNullable(JsonNullable> objectNullableProp) { this.objectNullableProp = objectNullableProp; @@ -506,18 +478,15 @@ public class NullableClass { @jakarta.annotation.Nullable @JsonIgnore - public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } - @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) public void setObjectAndItemsNullableProp_JsonNullable(JsonNullable> objectAndItemsNullableProp) { this.objectAndItemsNullableProp = objectAndItemsNullableProp; @@ -549,7 +518,6 @@ public class NullableClass { @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public Map getObjectItemsNullable() { return objectItemsNullable; } @@ -598,7 +566,6 @@ public class NullableClass { } return this.additionalProperties.get(key); } - /** * Return true if this NullableClass object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableShape.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableShape.java index 429b0dde63e..dbd57777a5d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableShape.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NullableShape.java @@ -64,6 +64,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = NullableShape.NullableShapeDeserializer.class) @JsonSerialize(using = NullableShape.NullableShapeSerializer.class) public class NullableShape extends AbstractOpenApiSchema { @@ -208,7 +209,6 @@ public class NullableShape extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this NullableShape object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NumberOnly.java index 2ce68e24084..c31de0de19b 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -58,7 +58,6 @@ public class NumberOnly { @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getJustNumber() { return justNumber; } @@ -70,7 +69,6 @@ public class NumberOnly { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index a79d8c67c62..613067f2a88 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -78,7 +78,6 @@ public class ObjectWithDeprecatedFields { @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUuid() { return uuid; } @@ -108,7 +107,6 @@ public class ObjectWithDeprecatedFields { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getId() { return id; } @@ -139,7 +137,6 @@ public class ObjectWithDeprecatedFields { @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public DeprecatedObject getDeprecatedRef() { return deprecatedRef; } @@ -177,7 +174,6 @@ public class ObjectWithDeprecatedFields { @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getBars() { return bars; } @@ -190,7 +186,6 @@ public class ObjectWithDeprecatedFields { this.bars = bars; } - /** * Return true if this ObjectWithDeprecatedFields object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Order.java index 1205e73cfcf..9df26a70ec6 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Order.java @@ -119,7 +119,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getId() { return id; } @@ -145,7 +144,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getPetId() { return petId; } @@ -171,7 +169,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getQuantity() { return quantity; } @@ -198,7 +195,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public OffsetDateTime getShipDate() { return shipDate; } @@ -224,7 +220,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } @@ -250,7 +245,6 @@ public class Order { @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getComplete() { return complete; } @@ -262,7 +256,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/OuterComposite.java index 286cf92b75b..624ade0fb4d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -68,7 +68,6 @@ public class OuterComposite { @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public BigDecimal getMyNumber() { return myNumber; } @@ -94,7 +93,6 @@ public class OuterComposite { @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getMyString() { return myString; } @@ -120,7 +118,6 @@ public class OuterComposite { @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getMyBoolean() { return myBoolean; } @@ -132,7 +129,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ParentPet.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ParentPet.java index 68ee6a8725e..b67df3bddc6 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ParentPet.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ParentPet.java @@ -50,7 +50,6 @@ import org.openapitools.client.JSON; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildCat.class, name = "ChildCat"), }) - public class ParentPet extends GrandparentAnimal { public ParentPet() { } @@ -91,7 +90,6 @@ public class ParentPet extends GrandparentAnimal { } return this.additionalProperties.get(key); } - /** * Return true if this ParentPet object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pet.java index 0db1e478552..0450e95765d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pet.java @@ -122,7 +122,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getId() { return id; } @@ -149,7 +148,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Category getCategory() { return category; } @@ -176,7 +174,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getName() { return name; } @@ -211,7 +208,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getPhotoUrls() { return photoUrls; } @@ -246,7 +242,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List<@Valid Tag> getTags() { return tags; } @@ -272,7 +267,6 @@ public class Pet { @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public StatusEnum getStatus() { return status; } @@ -284,7 +278,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pig.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pig.java index 16cb5a576e2..08c43a926ac 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pig.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Pig.java @@ -64,6 +64,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Pig.PigDeserializer.class) @JsonSerialize(using = Pig.PigSerializer.class) public class Pig extends AbstractOpenApiSchema { @@ -208,7 +209,6 @@ public class Pig extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this Pig object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Quadrilateral.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Quadrilateral.java index 3d0dea5e0ce..8e357e16c50 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Quadrilateral.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Quadrilateral.java @@ -64,6 +64,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Quadrilateral.QuadrilateralDeserializer.class) @JsonSerialize(using = Quadrilateral.QuadrilateralSerializer.class) public class Quadrilateral extends AbstractOpenApiSchema { @@ -208,7 +209,6 @@ public class Quadrilateral extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this Quadrilateral object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index b143ca302ec..aae63d9a5a1 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -57,7 +57,6 @@ public class QuadrilateralInterface { @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuadrilateralType() { return quadrilateralType; } @@ -69,7 +68,6 @@ public class QuadrilateralInterface { this.quadrilateralType = quadrilateralType; } - /** * Return true if this QuadrilateralInterface object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 8cfa6a5ae6f..305510cebbe 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -64,7 +64,6 @@ public class ReadOnlyFirst { @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBar() { return bar; } @@ -85,7 +84,6 @@ public class ReadOnlyFirst { @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getBaz() { return baz; } @@ -97,7 +95,6 @@ public class ReadOnlyFirst { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index 3714690b948..867019fc841 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -66,7 +66,6 @@ public class ScaleneTriangle { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -93,7 +92,6 @@ public class ScaleneTriangle { @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getTriangleType() { return triangleType; } @@ -142,7 +140,6 @@ public class ScaleneTriangle { } return this.additionalProperties.get(key); } - /** * Return true if this ScaleneTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Shape.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Shape.java index efa80a0e1e0..de6641551ad 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Shape.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Shape.java @@ -64,6 +64,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Shape.ShapeDeserializer.class) @JsonSerialize(using = Shape.ShapeSerializer.class) public class Shape extends AbstractOpenApiSchema { @@ -208,7 +209,6 @@ public class Shape extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this Shape object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeInterface.java index c24a869e117..afafa23ada0 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -57,7 +57,6 @@ public class ShapeInterface { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -69,7 +68,6 @@ public class ShapeInterface { this.shapeType = shapeType; } - /** * Return true if this ShapeInterface object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeOrNull.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeOrNull.java index 5bf7e348066..4d660d590e2 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeOrNull.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/ShapeOrNull.java @@ -64,6 +64,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = ShapeOrNull.ShapeOrNullDeserializer.class) @JsonSerialize(using = ShapeOrNull.ShapeOrNullSerializer.class) public class ShapeOrNull extends AbstractOpenApiSchema { @@ -208,7 +209,6 @@ public class ShapeOrNull extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this ShapeOrNull object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index 7fd5a7fc8f6..ecbee090b81 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -66,7 +66,6 @@ public class SimpleQuadrilateral { @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getShapeType() { return shapeType; } @@ -93,7 +92,6 @@ public class SimpleQuadrilateral { @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getQuadrilateralType() { return quadrilateralType; } @@ -142,7 +140,6 @@ public class SimpleQuadrilateral { } return this.additionalProperties.get(key); } - /** * Return true if this SimpleQuadrilateral object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SpecialModelName.java index ae88910475e..556f06f5cc4 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -62,7 +62,6 @@ public class SpecialModelName { @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long get$SpecialPropertyName() { return $specialPropertyName; } @@ -88,7 +87,6 @@ public class SpecialModelName { @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSpecialModelName() { return specialModelName; } @@ -100,7 +98,6 @@ public class SpecialModelName { this.specialModelName = specialModelName; } - /** * Return true if this _special_model.name_ object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Tag.java index 14fd4f1c766..05eb0077611 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Tag.java @@ -61,7 +61,6 @@ public class Tag { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getId() { return id; } @@ -87,7 +86,6 @@ public class Tag { @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { return name; } @@ -99,7 +97,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index deeba97cf15..7d0e78366be 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -61,7 +61,6 @@ public class TestInlineFreeformAdditionalPropertiesRequest { @JsonProperty(JSON_PROPERTY_SOME_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getSomeProperty() { return someProperty; } @@ -110,7 +109,6 @@ public class TestInlineFreeformAdditionalPropertiesRequest { } return this.additionalProperties.get(key); } - /** * Return true if this testInlineFreeformAdditionalProperties_request object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Triangle.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Triangle.java index 65bc16911cf..7ca4cdf0a39 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Triangle.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Triangle.java @@ -65,6 +65,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Triangle.TriangleDeserializer.class) @JsonSerialize(using = Triangle.TriangleSerializer.class) public class Triangle extends AbstractOpenApiSchema { @@ -229,7 +230,6 @@ public class Triangle extends AbstractOpenApiSchema { } return this.additionalProperties.get(key); } - /** * Return true if this Triangle object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TriangleInterface.java index 374c7406828..ffcb2eab3c2 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -57,7 +57,6 @@ public class TriangleInterface { @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getTriangleType() { return triangleType; } @@ -69,7 +68,6 @@ public class TriangleInterface { this.triangleType = triangleType; } - /** * Return true if this TriangleInterface object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java index f515fdb5a1f..fe20a40bebd 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/User.java @@ -112,7 +112,6 @@ public class User { @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Long getId() { return id; } @@ -138,7 +137,6 @@ public class User { @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getUsername() { return username; } @@ -164,7 +162,6 @@ public class User { @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getFirstName() { return firstName; } @@ -190,7 +187,6 @@ public class User { @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getLastName() { return lastName; } @@ -216,7 +212,6 @@ public class User { @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getEmail() { return email; } @@ -242,7 +237,6 @@ public class User { @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPassword() { return password; } @@ -268,7 +262,6 @@ public class User { @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getPhone() { return phone; } @@ -294,7 +287,6 @@ public class User { @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Integer getUserStatus() { return userStatus; } @@ -320,7 +312,6 @@ public class User { @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Object getObjectWithNoDeclaredProps() { return objectWithNoDeclaredProps; } @@ -345,18 +336,15 @@ public class User { @jakarta.annotation.Nullable @JsonIgnore - public Object getObjectWithNoDeclaredPropsNullable() { return objectWithNoDeclaredPropsNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } - @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) public void setObjectWithNoDeclaredPropsNullable_JsonNullable(JsonNullable objectWithNoDeclaredPropsNullable) { this.objectWithNoDeclaredPropsNullable = objectWithNoDeclaredPropsNullable; @@ -379,18 +367,15 @@ public class User { @jakarta.annotation.Nullable @JsonIgnore - public Object getAnyTypeProp() { return anyTypeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } - @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) public void setAnyTypeProp_JsonNullable(JsonNullable anyTypeProp) { this.anyTypeProp = anyTypeProp; @@ -413,18 +398,15 @@ public class User { @jakarta.annotation.Nullable @JsonIgnore - public Object getAnyTypePropNullable() { return anyTypePropNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } - @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) public void setAnyTypePropNullable_JsonNullable(JsonNullable anyTypePropNullable) { this.anyTypePropNullable = anyTypePropNullable; @@ -434,7 +416,6 @@ public class User { this.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); } - /** * Return true if this User object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Whale.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Whale.java index f82b8c58919..83d48847f28 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Whale.java @@ -67,7 +67,6 @@ public class Whale { @JsonProperty(JSON_PROPERTY_HAS_BALEEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasBaleen() { return hasBaleen; } @@ -93,7 +92,6 @@ public class Whale { @JsonProperty(JSON_PROPERTY_HAS_TEETH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getHasTeeth() { return hasTeeth; } @@ -120,7 +118,6 @@ public class Whale { @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getClassName() { return className; } @@ -132,7 +129,6 @@ public class Whale { this.className = className; } - /** * Return true if this whale object is equal to o. */ diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Zebra.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Zebra.java index 7d2e7458855..3642591d7d5 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/model/Zebra.java @@ -103,7 +103,6 @@ public class Zebra { @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public TypeEnum getType() { return type; } @@ -130,7 +129,6 @@ public class Zebra { @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getClassName() { return className; } @@ -179,7 +177,6 @@ public class Zebra { } return this.additionalProperties.get(key); } - /** * Return true if this zebra object is equal to o. */ diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Category.java index c798b428fe2..3091f2c2789 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Category.java @@ -38,7 +38,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * A category for a pet */ - public class Category { public static final String JSON_PROPERTY_ID = "id"; @@ -127,4 +126,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 7ea582a1bec..fc53b652383 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -40,7 +40,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; @@ -160,4 +159,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Order.java index 20efbf432c4..75c24f52bb9 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Order.java @@ -43,7 +43,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * An order for a pets from the pet store */ - public class Order { public static final String JSON_PROPERTY_ID = "id"; @@ -295,4 +294,3 @@ public class Order { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java index d0717134404..3dfd4dda8d5 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java @@ -47,7 +47,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * A pet for sale in the pet store */ - public class Pet { public static final String JSON_PROPERTY_ID = "id"; @@ -323,4 +322,3 @@ public class Pet { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Tag.java index db5a74ca2be..31c3ca9cc1f 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Tag.java @@ -38,7 +38,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * A tag for a pet */ - public class Tag { public static final String JSON_PROPERTY_ID = "id"; @@ -127,4 +126,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java index 9856bbcead5..c6f5d6ce14c 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/User.java @@ -44,7 +44,6 @@ import jakarta.xml.bind.annotation.adapters.*; /** * A User who is purchasing from the pet store */ - public class User { public static final String JSON_PROPERTY_ID = "id"; @@ -322,4 +321,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Category.java index e08314ab682..0483901ed14 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Category.java @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * A category for a pet */ - public class Category { public static final String JSON_PROPERTY_ID = "id"; @@ -112,4 +111,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 75df05dfaef..fd87d78e23d 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -29,7 +29,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; @@ -143,4 +142,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Order.java index eb683221585..1600cd67dab 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Order.java @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * An order for a pets from the pet store */ - public class Order { public static final String JSON_PROPERTY_ID = "id"; @@ -268,4 +267,3 @@ public class Order { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Pet.java index 0e0720b7714..f675d7c5bf5 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Pet.java @@ -36,7 +36,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * A pet for sale in the pet store */ - public class Pet { public static final String JSON_PROPERTY_ID = "id"; @@ -290,4 +289,3 @@ public class Pet { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Tag.java index b6f69349785..650c987f61a 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/Tag.java @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * A tag for a pet */ - public class Tag { public static final String JSON_PROPERTY_ID = "id"; @@ -112,4 +111,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java index fda9ee53d14..0aa66c52082 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/model/User.java @@ -33,7 +33,6 @@ import com.fasterxml.jackson.annotation.JsonTypeName; /** * A User who is purchasing from the pet store */ - public class User { public static final String JSON_PROPERTY_ID = "id"; @@ -295,4 +294,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Category.java index 121589eaeb6..20ec86cd9a0 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Category.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/ModelApiResponse.java index c1df0dd408a..090892fdc75 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Order.java index 489c7fc73c5..b49117639f5 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Order.java @@ -27,7 +27,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ public class Order { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Pet.java index 5761ee105f1..3281acf0943 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Pet.java @@ -31,7 +31,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ public class Pet { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Tag.java index 28985a1f069..8332d5dcbae 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/Tag.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java index d9ebaeb284d..695623c512c 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0/src/main/java/org/openapitools/client/model/User.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Cat.java index 6d04b341acc..308d85dbf42 100644 --- a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Cat.java @@ -24,7 +24,6 @@ import javax.json.stream.JsonGenerator; import javax.json.stream.JsonParser; import javax.json.bind.annotation.JsonbProperty; - public class Cat { @JsonbProperty("id") @@ -123,4 +122,3 @@ public class Cat { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Dog.java index ae84137c036..dd7d3c0d9bf 100644 --- a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Dog.java @@ -24,7 +24,6 @@ import javax.json.stream.JsonGenerator; import javax.json.stream.JsonParser; import javax.json.bind.annotation.JsonbProperty; - public class Dog { @JsonbProperty("id") @@ -123,4 +122,3 @@ public class Dog { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Status.java b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Status.java index ec5a12d0b53..047efe9bd37 100644 --- a/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Status.java +++ b/samples/client/petstore/java/microprofile-rest-client-outer-enum/src/main/java/org/openapitools/client/model/Status.java @@ -71,4 +71,3 @@ public enum Status { throw new IllegalArgumentException("Unexpected value '" + text + "'"); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java index 121589eaeb6..20ec86cd9a0 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java index c1df0dd408a..090892fdc75 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java index 489c7fc73c5..b49117639f5 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java @@ -27,7 +27,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ public class Order { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java index 5761ee105f1..3281acf0943 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java @@ -31,7 +31,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ public class Pet { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java index 28985a1f069..8332d5dcbae 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java index d9ebaeb284d..695623c512c 100644 --- a/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter/src/main/java/org/openapitools/client/model/User.java @@ -26,7 +26,6 @@ import jakarta.json.bind.annotation.JsonbProperty; /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Category.java index 9b8e0cd7205..2536c7888d1 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Category.java @@ -26,7 +26,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 6afa6830d98..92ec06a3fb3 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,7 +26,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Order.java index a111215c674..e5c85d97aa5 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Order.java @@ -27,7 +27,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ public class Order { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Pet.java index 4da8d4dc763..ef82d919238 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Pet.java @@ -31,7 +31,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ public class Pet { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Tag.java index 29afe967b74..52be68267f0 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/Tag.java @@ -26,7 +26,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java index 67aba438db6..0f80fb92b88 100644 --- a/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/microprofile-rest-client/src/main/java/org/openapitools/client/model/User.java @@ -26,7 +26,6 @@ import javax.json.bind.annotation.JsonbProperty; /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java/native-async/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/native-async/docs/AdditionalPropertiesClass.md index 83051d9be44..3bda53c4d3c 100644 --- a/samples/client/petstore/java/native-async/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/java/native-async/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ |**mapWithUndeclaredPropertiesString** | **Map<String, String>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Animal.md b/samples/client/petstore/java/native-async/docs/Animal.md index d9b32f14c88..540bfec69bc 100644 --- a/samples/client/petstore/java/native-async/docs/Animal.md +++ b/samples/client/petstore/java/native-async/docs/Animal.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Apple.md b/samples/client/petstore/java/native-async/docs/Apple.md index 0ef7a92c74d..19a409261d0 100644 --- a/samples/client/petstore/java/native-async/docs/Apple.md +++ b/samples/client/petstore/java/native-async/docs/Apple.md @@ -11,4 +11,3 @@ |**origin** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/AppleReq.md b/samples/client/petstore/java/native-async/docs/AppleReq.md index 989e1cfedd1..4dae60bf73d 100644 --- a/samples/client/petstore/java/native-async/docs/AppleReq.md +++ b/samples/client/petstore/java/native-async/docs/AppleReq.md @@ -11,4 +11,3 @@ |**mealy** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/native-async/docs/ArrayOfArrayOfNumberOnly.md index 0188db3eb13..237ef6876b5 100644 --- a/samples/client/petstore/java/native-async/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/java/native-async/docs/ArrayOfArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/native-async/docs/ArrayOfNumberOnly.md index a5753530aad..48d5474e10a 100644 --- a/samples/client/petstore/java/native-async/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/java/native-async/docs/ArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayNumber** | **List<BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ArrayTest.md b/samples/client/petstore/java/native-async/docs/ArrayTest.md index 36077c9df30..1bfb727e450 100644 --- a/samples/client/petstore/java/native-async/docs/ArrayTest.md +++ b/samples/client/petstore/java/native-async/docs/ArrayTest.md @@ -12,4 +12,3 @@ |**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Banana.md b/samples/client/petstore/java/native-async/docs/Banana.md index 5356d17ee70..cf0c789b457 100644 --- a/samples/client/petstore/java/native-async/docs/Banana.md +++ b/samples/client/petstore/java/native-async/docs/Banana.md @@ -10,4 +10,3 @@ |**lengthCm** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/BananaReq.md b/samples/client/petstore/java/native-async/docs/BananaReq.md index 22ebe1a7105..2a45b8a318b 100644 --- a/samples/client/petstore/java/native-async/docs/BananaReq.md +++ b/samples/client/petstore/java/native-async/docs/BananaReq.md @@ -11,4 +11,3 @@ |**sweet** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/BasquePig.md b/samples/client/petstore/java/native-async/docs/BasquePig.md index 160cb71c321..ab4d63f698e 100644 --- a/samples/client/petstore/java/native-async/docs/BasquePig.md +++ b/samples/client/petstore/java/native-async/docs/BasquePig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/Capitalization.md b/samples/client/petstore/java/native-async/docs/Capitalization.md index 82a812711de..0b2455e5863 100644 --- a/samples/client/petstore/java/native-async/docs/Capitalization.md +++ b/samples/client/petstore/java/native-async/docs/Capitalization.md @@ -15,4 +15,3 @@ |**ATT_NAME** | **String** | Name of the pet | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Cat.md b/samples/client/petstore/java/native-async/docs/Cat.md index 390dd519c8c..04b42c7dc5b 100644 --- a/samples/client/petstore/java/native-async/docs/Cat.md +++ b/samples/client/petstore/java/native-async/docs/Cat.md @@ -10,4 +10,3 @@ |**declawed** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Category.md b/samples/client/petstore/java/native-async/docs/Category.md index ab6d1ec334d..f33915619cc 100644 --- a/samples/client/petstore/java/native-async/docs/Category.md +++ b/samples/client/petstore/java/native-async/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/ChildCat.md b/samples/client/petstore/java/native-async/docs/ChildCat.md index 258d87e5699..de4d3300bc9 100644 --- a/samples/client/petstore/java/native-async/docs/ChildCat.md +++ b/samples/client/petstore/java/native-async/docs/ChildCat.md @@ -19,4 +19,3 @@ | CHILD_CAT | "ChildCat" | - diff --git a/samples/client/petstore/java/native-async/docs/ClassModel.md b/samples/client/petstore/java/native-async/docs/ClassModel.md index af46dea1f6c..58f279eeb40 100644 --- a/samples/client/petstore/java/native-async/docs/ClassModel.md +++ b/samples/client/petstore/java/native-async/docs/ClassModel.md @@ -11,4 +11,3 @@ Model for testing model with \"_class\" property |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Client.md b/samples/client/petstore/java/native-async/docs/Client.md index ef07b4ab8b9..414196529f0 100644 --- a/samples/client/petstore/java/native-async/docs/Client.md +++ b/samples/client/petstore/java/native-async/docs/Client.md @@ -10,4 +10,3 @@ |**client** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ComplexQuadrilateral.md b/samples/client/petstore/java/native-async/docs/ComplexQuadrilateral.md index d0a4b1a0a75..0054df5be9f 100644 --- a/samples/client/petstore/java/native-async/docs/ComplexQuadrilateral.md +++ b/samples/client/petstore/java/native-async/docs/ComplexQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/DanishPig.md b/samples/client/petstore/java/native-async/docs/DanishPig.md index 0b366d3cf2f..161f758de85 100644 --- a/samples/client/petstore/java/native-async/docs/DanishPig.md +++ b/samples/client/petstore/java/native-async/docs/DanishPig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/DeprecatedObject.md b/samples/client/petstore/java/native-async/docs/DeprecatedObject.md index 48de1d62442..bbc0ccf6ed6 100644 --- a/samples/client/petstore/java/native-async/docs/DeprecatedObject.md +++ b/samples/client/petstore/java/native-async/docs/DeprecatedObject.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Dog.md b/samples/client/petstore/java/native-async/docs/Dog.md index 972c981c0d0..4692cd2b4a5 100644 --- a/samples/client/petstore/java/native-async/docs/Dog.md +++ b/samples/client/petstore/java/native-async/docs/Dog.md @@ -10,4 +10,3 @@ |**breed** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Drawing.md b/samples/client/petstore/java/native-async/docs/Drawing.md index 6b815fc4131..87a8673fd2a 100644 --- a/samples/client/petstore/java/native-async/docs/Drawing.md +++ b/samples/client/petstore/java/native-async/docs/Drawing.md @@ -13,4 +13,3 @@ |**shapes** | [**List<Shape>**](Shape.md) | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/EnumArrays.md b/samples/client/petstore/java/native-async/docs/EnumArrays.md index b2222d5beb2..58c01044480 100644 --- a/samples/client/petstore/java/native-async/docs/EnumArrays.md +++ b/samples/client/petstore/java/native-async/docs/EnumArrays.md @@ -29,4 +29,3 @@ | CRAB | "crab" | - diff --git a/samples/client/petstore/java/native-async/docs/EnumClass.md b/samples/client/petstore/java/native-async/docs/EnumClass.md index b314590a759..7a4c4ec692c 100644 --- a/samples/client/petstore/java/native-async/docs/EnumClass.md +++ b/samples/client/petstore/java/native-async/docs/EnumClass.md @@ -12,4 +12,3 @@ * `_XYZ_` (value: `"(xyz)"`) - diff --git a/samples/client/petstore/java/native-async/docs/EnumTest.md b/samples/client/petstore/java/native-async/docs/EnumTest.md index 3e226e18b50..fca06e77849 100644 --- a/samples/client/petstore/java/native-async/docs/EnumTest.md +++ b/samples/client/petstore/java/native-async/docs/EnumTest.md @@ -65,4 +65,3 @@ | NUMBER_MINUS_1_DOT_2 | -1.2 | - diff --git a/samples/client/petstore/java/native-async/docs/EquilateralTriangle.md b/samples/client/petstore/java/native-async/docs/EquilateralTriangle.md index eade817feb3..063b113ee70 100644 --- a/samples/client/petstore/java/native-async/docs/EquilateralTriangle.md +++ b/samples/client/petstore/java/native-async/docs/EquilateralTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/java/native-async/docs/FakeBigDecimalMap200Response.md index 475be1d2d73..35f1cd587cf 100644 --- a/samples/client/petstore/java/native-async/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/java/native-async/docs/FakeBigDecimalMap200Response.md @@ -11,4 +11,3 @@ |**someMap** | **Map<String, BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/FileSchemaTestClass.md b/samples/client/petstore/java/native-async/docs/FileSchemaTestClass.md index 85d1a063669..f5d57cfd409 100644 --- a/samples/client/petstore/java/native-async/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/java/native-async/docs/FileSchemaTestClass.md @@ -11,4 +11,3 @@ |**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Foo.md b/samples/client/petstore/java/native-async/docs/Foo.md index 6b3f0556528..9c59271b892 100644 --- a/samples/client/petstore/java/native-async/docs/Foo.md +++ b/samples/client/petstore/java/native-async/docs/Foo.md @@ -10,4 +10,3 @@ |**bar** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md index ff3d7a3a56c..fb98b2bd376 100644 --- a/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/java/native-async/docs/FooGetDefaultResponse.md @@ -10,4 +10,3 @@ |**string** | [**Foo**](Foo.md) | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/FormatTest.md b/samples/client/petstore/java/native-async/docs/FormatTest.md index 01b8c777ae0..4397f81e22d 100644 --- a/samples/client/petstore/java/native-async/docs/FormatTest.md +++ b/samples/client/petstore/java/native-async/docs/FormatTest.md @@ -25,4 +25,3 @@ |**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Fruit.md b/samples/client/petstore/java/native-async/docs/Fruit.md index 41b3152250e..1ca01a3fda0 100644 --- a/samples/client/petstore/java/native-async/docs/Fruit.md +++ b/samples/client/petstore/java/native-async/docs/Fruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/FruitReq.md b/samples/client/petstore/java/native-async/docs/FruitReq.md index 3927b7acded..649d59b09ff 100644 --- a/samples/client/petstore/java/native-async/docs/FruitReq.md +++ b/samples/client/petstore/java/native-async/docs/FruitReq.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/GmFruit.md b/samples/client/petstore/java/native-async/docs/GmFruit.md index c9dc50b92cb..e182eaf5420 100644 --- a/samples/client/petstore/java/native-async/docs/GmFruit.md +++ b/samples/client/petstore/java/native-async/docs/GmFruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/GrandparentAnimal.md b/samples/client/petstore/java/native-async/docs/GrandparentAnimal.md index 9737408f272..dbc2301c750 100644 --- a/samples/client/petstore/java/native-async/docs/GrandparentAnimal.md +++ b/samples/client/petstore/java/native-async/docs/GrandparentAnimal.md @@ -10,4 +10,3 @@ |**petType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/native-async/docs/HasOnlyReadOnly.md index 29da5205dbb..38dfd19f5a8 100644 --- a/samples/client/petstore/java/native-async/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/java/native-async/docs/HasOnlyReadOnly.md @@ -11,4 +11,3 @@ |**foo** | **String** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/native-async/docs/HealthCheckResult.md b/samples/client/petstore/java/native-async/docs/HealthCheckResult.md index 4885e6f1cad..a2065216d66 100644 --- a/samples/client/petstore/java/native-async/docs/HealthCheckResult.md +++ b/samples/client/petstore/java/native-async/docs/HealthCheckResult.md @@ -11,4 +11,3 @@ Just a string to inform instance is up and running. Make it nullable in hope to |**nullableMessage** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/IsoscelesTriangle.md b/samples/client/petstore/java/native-async/docs/IsoscelesTriangle.md index 0bd5045bc68..674bb2d975b 100644 --- a/samples/client/petstore/java/native-async/docs/IsoscelesTriangle.md +++ b/samples/client/petstore/java/native-async/docs/IsoscelesTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/Mammal.md b/samples/client/petstore/java/native-async/docs/Mammal.md index 11bbff5e2ba..8c881b7f5cb 100644 --- a/samples/client/petstore/java/native-async/docs/Mammal.md +++ b/samples/client/petstore/java/native-async/docs/Mammal.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/MapTest.md b/samples/client/petstore/java/native-async/docs/MapTest.md index 54380188e1d..b68397073bf 100644 --- a/samples/client/petstore/java/native-async/docs/MapTest.md +++ b/samples/client/petstore/java/native-async/docs/MapTest.md @@ -22,4 +22,3 @@ | LOWER | "lower" | - diff --git a/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md index a5ddf0faa6a..5d0f2a7b6a4 100644 --- a/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/java/native-async/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -12,4 +12,3 @@ |**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Model200Response.md b/samples/client/petstore/java/native-async/docs/Model200Response.md index 109411580c6..14100fcc25b 100644 --- a/samples/client/petstore/java/native-async/docs/Model200Response.md +++ b/samples/client/petstore/java/native-async/docs/Model200Response.md @@ -12,4 +12,3 @@ Model for testing model name starting with number |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ModelApiResponse.md b/samples/client/petstore/java/native-async/docs/ModelApiResponse.md index e374c2dd2de..e59fea0970b 100644 --- a/samples/client/petstore/java/native-async/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/native-async/docs/ModelApiResponse.md @@ -12,4 +12,3 @@ |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ModelFile.md b/samples/client/petstore/java/native-async/docs/ModelFile.md index adcde984f52..61c9020e62a 100644 --- a/samples/client/petstore/java/native-async/docs/ModelFile.md +++ b/samples/client/petstore/java/native-async/docs/ModelFile.md @@ -11,4 +11,3 @@ Must be named `File` for test. |**sourceURI** | **String** | Test capitalization | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ModelList.md b/samples/client/petstore/java/native-async/docs/ModelList.md index f93ab7dde8d..2e28e551301 100644 --- a/samples/client/petstore/java/native-async/docs/ModelList.md +++ b/samples/client/petstore/java/native-async/docs/ModelList.md @@ -10,4 +10,3 @@ |**_123list** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ModelReturn.md b/samples/client/petstore/java/native-async/docs/ModelReturn.md index 0bd356861eb..d307e6fbd93 100644 --- a/samples/client/petstore/java/native-async/docs/ModelReturn.md +++ b/samples/client/petstore/java/native-async/docs/ModelReturn.md @@ -11,4 +11,3 @@ Model for testing reserved words |**_return** | **Integer** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Name.md b/samples/client/petstore/java/native-async/docs/Name.md index c901d943530..002cad3f332 100644 --- a/samples/client/petstore/java/native-async/docs/Name.md +++ b/samples/client/petstore/java/native-async/docs/Name.md @@ -14,4 +14,3 @@ Model for testing model name same as property name |**_123number** | **Integer** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/native-async/docs/NullableClass.md b/samples/client/petstore/java/native-async/docs/NullableClass.md index fa98c5c6d98..3f6e8619c87 100644 --- a/samples/client/petstore/java/native-async/docs/NullableClass.md +++ b/samples/client/petstore/java/native-async/docs/NullableClass.md @@ -21,4 +21,3 @@ |**objectItemsNullable** | **Map<String, Object>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/NullableShape.md b/samples/client/petstore/java/native-async/docs/NullableShape.md index 60c45b26840..ae217f582b2 100644 --- a/samples/client/petstore/java/native-async/docs/NullableShape.md +++ b/samples/client/petstore/java/native-async/docs/NullableShape.md @@ -38,4 +38,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/NumberOnly.md b/samples/client/petstore/java/native-async/docs/NumberOnly.md index b8ed1a4cfae..ca181cdaf81 100644 --- a/samples/client/petstore/java/native-async/docs/NumberOnly.md +++ b/samples/client/petstore/java/native-async/docs/NumberOnly.md @@ -10,4 +10,3 @@ |**justNumber** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md index f1cf571f4c0..37a3aad5547 100644 --- a/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/java/native-async/docs/ObjectWithDeprecatedFields.md @@ -13,4 +13,3 @@ |**bars** | **List<String>** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Order.md b/samples/client/petstore/java/native-async/docs/Order.md index 27af32855c5..21c4c8efc7b 100644 --- a/samples/client/petstore/java/native-async/docs/Order.md +++ b/samples/client/petstore/java/native-async/docs/Order.md @@ -25,4 +25,3 @@ | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/native-async/docs/OuterComposite.md b/samples/client/petstore/java/native-async/docs/OuterComposite.md index 98b56e0763f..19601002fd2 100644 --- a/samples/client/petstore/java/native-async/docs/OuterComposite.md +++ b/samples/client/petstore/java/native-async/docs/OuterComposite.md @@ -12,4 +12,3 @@ |**myBoolean** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/OuterEnum.md b/samples/client/petstore/java/native-async/docs/OuterEnum.md index 1f9b723eb8e..97cfc1e9a95 100644 --- a/samples/client/petstore/java/native-async/docs/OuterEnum.md +++ b/samples/client/petstore/java/native-async/docs/OuterEnum.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/native-async/docs/OuterEnumDefaultValue.md b/samples/client/petstore/java/native-async/docs/OuterEnumDefaultValue.md index cbc7f4ba54d..16c6da73893 100644 --- a/samples/client/petstore/java/native-async/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/java/native-async/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/native-async/docs/OuterEnumInteger.md b/samples/client/petstore/java/native-async/docs/OuterEnumInteger.md index f71dea30ad0..1691ce771b3 100644 --- a/samples/client/petstore/java/native-async/docs/OuterEnumInteger.md +++ b/samples/client/petstore/java/native-async/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/native-async/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/java/native-async/docs/OuterEnumIntegerDefaultValue.md index 99e6389f427..e57bc124e36 100644 --- a/samples/client/petstore/java/native-async/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/java/native-async/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/native-async/docs/ParentPet.md b/samples/client/petstore/java/native-async/docs/ParentPet.md index 4992b88a671..27b37b9d1d2 100644 --- a/samples/client/petstore/java/native-async/docs/ParentPet.md +++ b/samples/client/petstore/java/native-async/docs/ParentPet.md @@ -9,4 +9,3 @@ |------------ | ------------- | ------------- | -------------| - diff --git a/samples/client/petstore/java/native-async/docs/Pet.md b/samples/client/petstore/java/native-async/docs/Pet.md index 08dfd862360..d7a1d925604 100644 --- a/samples/client/petstore/java/native-async/docs/Pet.md +++ b/samples/client/petstore/java/native-async/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/petstore/java/native-async/docs/Pig.md b/samples/client/petstore/java/native-async/docs/Pig.md index f0a92bbe61b..568f7f4d407 100644 --- a/samples/client/petstore/java/native-async/docs/Pig.md +++ b/samples/client/petstore/java/native-async/docs/Pig.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/Quadrilateral.md b/samples/client/petstore/java/native-async/docs/Quadrilateral.md index 83ffea0c742..724e8935923 100644 --- a/samples/client/petstore/java/native-async/docs/Quadrilateral.md +++ b/samples/client/petstore/java/native-async/docs/Quadrilateral.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/QuadrilateralInterface.md b/samples/client/petstore/java/native-async/docs/QuadrilateralInterface.md index 99451f3bd02..1817e338ff7 100644 --- a/samples/client/petstore/java/native-async/docs/QuadrilateralInterface.md +++ b/samples/client/petstore/java/native-async/docs/QuadrilateralInterface.md @@ -10,4 +10,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/ReadOnlyFirst.md b/samples/client/petstore/java/native-async/docs/ReadOnlyFirst.md index ad6af7ee155..138406406d3 100644 --- a/samples/client/petstore/java/native-async/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/java/native-async/docs/ReadOnlyFirst.md @@ -11,4 +11,3 @@ |**baz** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/ScaleneTriangle.md b/samples/client/petstore/java/native-async/docs/ScaleneTriangle.md index c578f6cbfaa..fb2f1e798e7 100644 --- a/samples/client/petstore/java/native-async/docs/ScaleneTriangle.md +++ b/samples/client/petstore/java/native-async/docs/ScaleneTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/Shape.md b/samples/client/petstore/java/native-async/docs/Shape.md index 9c237eefb04..57895ef4e1b 100644 --- a/samples/client/petstore/java/native-async/docs/Shape.md +++ b/samples/client/petstore/java/native-async/docs/Shape.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/ShapeInterface.md b/samples/client/petstore/java/native-async/docs/ShapeInterface.md index b4f981e3b56..e1d285bda6e 100644 --- a/samples/client/petstore/java/native-async/docs/ShapeInterface.md +++ b/samples/client/petstore/java/native-async/docs/ShapeInterface.md @@ -10,4 +10,3 @@ |**shapeType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/ShapeOrNull.md b/samples/client/petstore/java/native-async/docs/ShapeOrNull.md index 0bb9b8b9025..f0b05f9317d 100644 --- a/samples/client/petstore/java/native-async/docs/ShapeOrNull.md +++ b/samples/client/petstore/java/native-async/docs/ShapeOrNull.md @@ -36,4 +36,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/SimpleQuadrilateral.md b/samples/client/petstore/java/native-async/docs/SimpleQuadrilateral.md index 52fb7d1a6a4..c4e88c25956 100644 --- a/samples/client/petstore/java/native-async/docs/SimpleQuadrilateral.md +++ b/samples/client/petstore/java/native-async/docs/SimpleQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/SpecialModelName.md b/samples/client/petstore/java/native-async/docs/SpecialModelName.md index e17d0d797b7..5336911fcf7 100644 --- a/samples/client/petstore/java/native-async/docs/SpecialModelName.md +++ b/samples/client/petstore/java/native-async/docs/SpecialModelName.md @@ -11,4 +11,3 @@ |**specialModelName** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Tag.md b/samples/client/petstore/java/native-async/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/petstore/java/native-async/docs/Tag.md +++ b/samples/client/petstore/java/native-async/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/java/native-async/docs/TestInlineFreeformAdditionalPropertiesRequest.md index dc066e6c7da..31f9e413678 100644 --- a/samples/client/petstore/java/native-async/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/java/native-async/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -10,4 +10,3 @@ |**someProperty** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Triangle.md b/samples/client/petstore/java/native-async/docs/Triangle.md index daf9d153ff6..8ca98989d71 100644 --- a/samples/client/petstore/java/native-async/docs/Triangle.md +++ b/samples/client/petstore/java/native-async/docs/Triangle.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native-async/docs/TriangleInterface.md b/samples/client/petstore/java/native-async/docs/TriangleInterface.md index ef5fc7575f3..c684f27e858 100644 --- a/samples/client/petstore/java/native-async/docs/TriangleInterface.md +++ b/samples/client/petstore/java/native-async/docs/TriangleInterface.md @@ -10,4 +10,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/User.md b/samples/client/petstore/java/native-async/docs/User.md index 9e97dc35485..0923cdf0c33 100644 --- a/samples/client/petstore/java/native-async/docs/User.md +++ b/samples/client/petstore/java/native-async/docs/User.md @@ -21,4 +21,3 @@ |**anyTypePropNullable** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] | - diff --git a/samples/client/petstore/java/native-async/docs/Whale.md b/samples/client/petstore/java/native-async/docs/Whale.md index 30ce4bb8215..bec0b35bd00 100644 --- a/samples/client/petstore/java/native-async/docs/Whale.md +++ b/samples/client/petstore/java/native-async/docs/Whale.md @@ -12,4 +12,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native-async/docs/Zebra.md b/samples/client/petstore/java/native-async/docs/Zebra.md index f7c4389b645..3b9786866e5 100644 --- a/samples/client/petstore/java/native-async/docs/Zebra.md +++ b/samples/client/petstore/java/native-async/docs/Zebra.md @@ -21,4 +21,3 @@ | GREVYS | "grevys" | - diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 29df00aa086..4d9c4bef1d3 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -143,5 +143,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 8d8a1f6eefa..082eba28efa 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -49,37 +49,31 @@ import org.openapitools.client.ApiClient; AdditionalPropertiesClass.JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; - @javax.annotation.Nullable - private Map mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; private JsonNullable anytype1 = JsonNullable.of(null); public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1 = "map_with_undeclared_properties_anytype_1"; - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype1; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype1; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2 = "map_with_undeclared_properties_anytype_2"; - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype2; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype2; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3 = "map_with_undeclared_properties_anytype_3"; - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); public static final String JSON_PROPERTY_EMPTY_MAP = "empty_map"; - @javax.annotation.Nullable - private Object emptyMap; + @javax.annotation.Nullable private Object emptyMap; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING = "map_with_undeclared_properties_string"; - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesString = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesString = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -101,8 +95,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { return mapProperty; @@ -133,8 +126,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { return mapOfMapProperty; @@ -157,15 +149,13 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnytype1() { return anytype1.orElse(null); } @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnytype1_JsonNullable() { return anytype1; } @@ -189,8 +179,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype1 * @return mapWithUndeclaredPropertiesAnytype1 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getMapWithUndeclaredPropertiesAnytype1() { return mapWithUndeclaredPropertiesAnytype1; @@ -213,8 +202,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype2 * @return mapWithUndeclaredPropertiesAnytype2 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getMapWithUndeclaredPropertiesAnytype2() { return mapWithUndeclaredPropertiesAnytype2; @@ -245,8 +233,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype3 * @return mapWithUndeclaredPropertiesAnytype3 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getMapWithUndeclaredPropertiesAnytype3() { return mapWithUndeclaredPropertiesAnytype3; @@ -269,8 +256,7 @@ public class AdditionalPropertiesClass { * an object with no declared properties and no undeclared properties, hence it's an empty map. * @return emptyMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMPTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMPTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getEmptyMap() { return emptyMap; @@ -301,8 +287,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesString * @return mapWithUndeclaredPropertiesString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapWithUndeclaredPropertiesString() { return mapWithUndeclaredPropertiesString; @@ -315,7 +300,6 @@ public class AdditionalPropertiesClass { this.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java index 93b8d1702b3..ee0c803c977 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java @@ -41,6 +41,7 @@ import org.openapitools.client.ApiClient; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -53,12 +54,10 @@ import org.openapitools.client.ApiClient; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { } @@ -72,8 +71,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -96,8 +94,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { return color; @@ -110,7 +107,6 @@ public class Animal { this.color = color; } - /** * Return true if this Animal object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Apple.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Apple.java index 93cce709835..6865d47b2e4 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Apple.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Apple.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Apple.JSON_PROPERTY_ORIGIN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Apple { public static final String JSON_PROPERTY_CULTIVAR = "cultivar"; - @javax.annotation.Nullable - private String cultivar; + @javax.annotation.Nullable private String cultivar; public static final String JSON_PROPERTY_ORIGIN = "origin"; - @javax.annotation.Nullable - private String origin; + @javax.annotation.Nullable private String origin; public Apple() { } @@ -58,8 +57,7 @@ public class Apple { * Get cultivar * @return cultivar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CULTIVAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCultivar() { return cultivar; @@ -82,8 +80,7 @@ public class Apple { * Get origin * @return origin */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ORIGIN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOrigin() { return origin; @@ -96,7 +93,6 @@ public class Apple { this.origin = origin; } - /** * Return true if this apple object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AppleReq.java index b099484fabf..93e95f43ccc 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/AppleReq.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; AppleReq.JSON_PROPERTY_MEALY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AppleReq { public static final String JSON_PROPERTY_CULTIVAR = "cultivar"; - @javax.annotation.Nonnull - private String cultivar; + @javax.annotation.Nonnull private String cultivar; public static final String JSON_PROPERTY_MEALY = "mealy"; - @javax.annotation.Nullable - private Boolean mealy; + @javax.annotation.Nullable private Boolean mealy; public AppleReq() { } @@ -58,8 +57,7 @@ public class AppleReq { * Get cultivar * @return cultivar */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CULTIVAR) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getCultivar() { return cultivar; @@ -82,8 +80,7 @@ public class AppleReq { * Get mealy * @return mealy */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MEALY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MEALY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMealy() { return mealy; @@ -96,7 +93,6 @@ public class AppleReq { this.mealy = mealy; } - /** * Return true if this appleReq object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 68a2adae6b8..a19c9b6452d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -39,10 +39,10 @@ import org.openapitools.client.ApiClient; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -64,8 +64,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { return arrayArrayNumber; @@ -78,7 +77,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 87be9636418..2c8be47913d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -39,10 +39,10 @@ import org.openapitools.client.ApiClient; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -64,8 +64,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { return arrayNumber; @@ -78,7 +77,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayTest.java index 373aaba494c..7634dc6807b 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -41,18 +41,16 @@ import org.openapitools.client.ApiClient; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -74,8 +72,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { return arrayOfString; @@ -106,8 +103,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; @@ -138,8 +134,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { return arrayArrayOfModel; @@ -152,7 +147,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Banana.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Banana.java index 2bdfe51040a..d59e1430a0b 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Banana.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Banana.java @@ -37,10 +37,10 @@ import org.openapitools.client.ApiClient; Banana.JSON_PROPERTY_LENGTH_CM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Banana { public static final String JSON_PROPERTY_LENGTH_CM = "lengthCm"; - @javax.annotation.Nullable - private BigDecimal lengthCm; + @javax.annotation.Nullable private BigDecimal lengthCm; public Banana() { } @@ -54,8 +54,7 @@ public class Banana { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LENGTH_CM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getLengthCm() { return lengthCm; @@ -68,7 +67,6 @@ public class Banana { this.lengthCm = lengthCm; } - /** * Return true if this banana object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BananaReq.java index 0a088640a6c..ce9720cfce8 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BananaReq.java @@ -38,14 +38,13 @@ import org.openapitools.client.ApiClient; BananaReq.JSON_PROPERTY_SWEET }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BananaReq { public static final String JSON_PROPERTY_LENGTH_CM = "lengthCm"; - @javax.annotation.Nonnull - private BigDecimal lengthCm; + @javax.annotation.Nonnull private BigDecimal lengthCm; public static final String JSON_PROPERTY_SWEET = "sweet"; - @javax.annotation.Nullable - private Boolean sweet; + @javax.annotation.Nullable private Boolean sweet; public BananaReq() { } @@ -59,8 +58,7 @@ public class BananaReq { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_LENGTH_CM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getLengthCm() { return lengthCm; @@ -83,8 +81,7 @@ public class BananaReq { * Get sweet * @return sweet */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SWEET) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SWEET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getSweet() { return sweet; @@ -97,7 +94,6 @@ public class BananaReq { this.sweet = sweet; } - /** * Return true if this bananaReq object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BasquePig.java index 487148eccdd..579ecb59993 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/BasquePig.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; BasquePig.JSON_PROPERTY_CLASS_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BasquePig { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public BasquePig() { } @@ -53,8 +53,7 @@ public class BasquePig { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -67,7 +66,6 @@ public class BasquePig { this.className = className; } - /** * Return true if this BasquePig object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Capitalization.java index a376eb98ae8..6fa44ff93c8 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Capitalization.java @@ -41,30 +41,25 @@ import org.openapitools.client.ApiClient; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -78,8 +73,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { return smallCamel; @@ -102,8 +96,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { return capitalCamel; @@ -126,8 +119,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { return smallSnake; @@ -150,8 +142,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { return capitalSnake; @@ -174,8 +165,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { return scAETHFlowPoints; @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { return ATT_NAME; @@ -212,7 +201,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Cat.java index f7fc3c527b5..67135475212 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Cat.java @@ -42,6 +42,7 @@ import org.openapitools.client.ApiClient; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -50,8 +51,7 @@ import org.openapitools.client.ApiClient; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { } @@ -65,8 +65,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { return declawed; @@ -79,7 +78,6 @@ public class Cat extends Animal { this.declawed = declawed; } - @Override public Cat className(@javax.annotation.Nonnull String className) { this.setClassName(className); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java index 3f3aa4cb3b2..f5c6579c204 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -58,8 +57,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ChildCat.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ChildCat.java index 3637660c419..9a37001a034 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ChildCat.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ChildCat.java @@ -44,6 +44,7 @@ import org.openapitools.client.ApiClient; ChildCat.JSON_PROPERTY_PET_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "pet_type", // ignore manually set pet_type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the pet_type to be set during deserialization @@ -52,12 +53,10 @@ import org.openapitools.client.ApiClient; public class ChildCat extends ParentPet { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; - @javax.annotation.Nullable - private String petType = "ChildCat"; + @javax.annotation.Nullable private String petType = "ChildCat"; public ChildCat() { } @@ -71,8 +70,7 @@ public class ChildCat extends ParentPet { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -103,8 +101,7 @@ public class ChildCat extends ParentPet { * Get petType * @return petType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPetType() { return petType; @@ -121,7 +118,6 @@ public class ChildCat extends ParentPet { this.petType = petType; } - /** * Return true if this ChildCat object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ClassModel.java index d7db6ba2533..af7bc2f4ff6 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ClassModel.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -53,8 +53,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { return propertyClass; @@ -67,7 +66,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Client.java index 8fe9bbe7f8c..13b5f04e620 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Client.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -53,8 +53,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { return client; @@ -67,7 +66,6 @@ public class Client { this.client = client; } - /** * Return true if this Client object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index 794d11f7dcf..57eb4561220 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; ComplexQuadrilateral.JSON_PROPERTY_QUADRILATERAL_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ComplexQuadrilateral { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public ComplexQuadrilateral() { } @@ -58,8 +57,7 @@ public class ComplexQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +80,7 @@ public class ComplexQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -96,7 +93,6 @@ public class ComplexQuadrilateral { this.quadrilateralType = quadrilateralType; } - /** * Return true if this ComplexQuadrilateral object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DanishPig.java index 194c8fce8bb..3e2c0c2e6b6 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DanishPig.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; DanishPig.JSON_PROPERTY_CLASS_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DanishPig { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public DanishPig() { } @@ -53,8 +53,7 @@ public class DanishPig { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -67,7 +66,6 @@ public class DanishPig { this.className = className; } - /** * Return true if this DanishPig object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DeprecatedObject.java index 7616309d67e..0cf8d8c8f26 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -38,10 +38,10 @@ import org.openapitools.client.ApiClient; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -55,8 +55,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -69,7 +68,6 @@ public class DeprecatedObject { this.name = name; } - /** * Return true if this DeprecatedObject object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Dog.java index 9a224024673..1a61de9cbaf 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Dog.java @@ -41,6 +41,7 @@ import org.openapitools.client.ApiClient; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -49,8 +50,7 @@ import org.openapitools.client.ApiClient; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { } @@ -64,8 +64,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { return breed; @@ -78,7 +77,6 @@ public class Dog extends Animal { this.breed = breed; } - @Override public Dog className(@javax.annotation.Nonnull String className) { this.setClassName(className); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Drawing.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Drawing.java index 0b50ca21243..60de0002a7c 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Drawing.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Drawing.java @@ -55,21 +55,19 @@ import org.openapitools.client.ApiClient; Drawing.JSON_PROPERTY_SHAPES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Drawing extends HashMap { public static final String JSON_PROPERTY_MAIN_SHAPE = "mainShape"; - @javax.annotation.Nullable - private Shape mainShape; + @javax.annotation.Nullable private Shape mainShape; public static final String JSON_PROPERTY_SHAPE_OR_NULL = "shapeOrNull"; - @javax.annotation.Nullable - private ShapeOrNull shapeOrNull; + @javax.annotation.Nullable private ShapeOrNull shapeOrNull; public static final String JSON_PROPERTY_NULLABLE_SHAPE = "nullableShape"; private JsonNullable nullableShape = JsonNullable.undefined(); public static final String JSON_PROPERTY_SHAPES = "shapes"; - @javax.annotation.Nullable - private List shapes = new ArrayList<>(); + @javax.annotation.Nullable private List shapes = new ArrayList<>(); public Drawing() { } @@ -83,8 +81,7 @@ public class Drawing extends HashMap { * Get mainShape * @return mainShape */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Shape getMainShape() { return mainShape; @@ -107,8 +104,7 @@ public class Drawing extends HashMap { * Get shapeOrNull * @return shapeOrNull */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ShapeOrNull getShapeOrNull() { return shapeOrNull; @@ -131,15 +127,13 @@ public class Drawing extends HashMap { * Get nullableShape * @return nullableShape */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public NullableShape getNullableShape() { return nullableShape.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } @@ -171,8 +165,7 @@ public class Drawing extends HashMap { * Get shapes * @return shapes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHAPES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHAPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getShapes() { return shapes; @@ -228,7 +221,6 @@ public class Drawing extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this Drawing object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumArrays.java index 13ca76a48ea..371ec71c6ad 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -39,6 +39,7 @@ import org.openapitools.client.ApiClient; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -74,10 +75,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -113,10 +112,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -130,8 +127,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { return justSymbol; @@ -162,8 +158,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { return arrayEnum; @@ -176,7 +171,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java index 4ca18c79f42..c682dd007e3 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java @@ -52,6 +52,7 @@ import org.openapitools.client.ApiClient; EnumTest.JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -89,10 +90,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -130,10 +129,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -169,10 +166,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumIntegerOnly @@ -208,10 +203,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER_ONLY = "enum_integer_only"; - @javax.annotation.Nullable - private EnumIntegerOnlyEnum enumIntegerOnly; + @javax.annotation.Nullable private EnumIntegerOnlyEnum enumIntegerOnly; /** * Gets or Sets enumNumber @@ -247,25 +240,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -279,8 +267,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { return enumString; @@ -303,8 +290,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; @@ -327,8 +313,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { return enumInteger; @@ -351,8 +336,7 @@ public class EnumTest { * Get enumIntegerOnly * @return enumIntegerOnly */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerOnlyEnum getEnumIntegerOnly() { return enumIntegerOnly; @@ -375,8 +359,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { return enumNumber; @@ -399,15 +382,13 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); } @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -431,8 +412,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { return outerEnumInteger; @@ -455,8 +435,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { return outerEnumDefaultValue; @@ -479,8 +458,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { return outerEnumIntegerDefaultValue; @@ -493,7 +471,6 @@ public class EnumTest { this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; } - /** * Return true if this Enum_Test object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index 82f5ea90b2e..fdea120cbff 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; EquilateralTriangle.JSON_PROPERTY_TRIANGLE_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EquilateralTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public EquilateralTriangle() { } @@ -58,8 +57,7 @@ public class EquilateralTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +80,7 @@ public class EquilateralTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +93,6 @@ public class EquilateralTriangle { this.triangleType = triangleType; } - /** * Return true if this EquilateralTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 9315c7b2ba6..15f95c9ffac 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -40,14 +40,13 @@ import org.openapitools.client.ApiClient; FakeBigDecimalMap200Response.JSON_PROPERTY_SOME_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap = new HashMap<>(); + @javax.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -61,8 +60,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { return someId; @@ -93,8 +91,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { return someMap; @@ -107,7 +104,6 @@ public class FakeBigDecimalMap200Response { this.someMap = someMap; } - /** * Return true if this fakeBigDecimalMap_200_response object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 63a765d2fba..6a7faedede2 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -40,14 +40,13 @@ import org.openapitools.client.ApiClient; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -61,8 +60,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { return _file; @@ -93,8 +91,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { return files; @@ -107,7 +104,6 @@ public class FileSchemaTestClass { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Foo.java index 7cfcf087c9a..5417bfdaf0f 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Foo.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -53,8 +53,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -67,7 +66,6 @@ public class Foo { this.bar = bar; } - /** * Return true if this Foo object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 868e8549dc9..4516d2e0661 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -37,10 +37,10 @@ import org.openapitools.client.ApiClient; FooGetDefaultResponse.JSON_PROPERTY_STRING }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -54,8 +54,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { return string; @@ -68,7 +67,6 @@ public class FooGetDefaultResponse { this.string = string; } - /** * Return true if this _foo_get_default_response object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java index 4911e97c9d1..fba31473de8 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java @@ -56,70 +56,55 @@ import org.openapitools.client.ApiClient; FormatTest.JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -135,8 +120,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { return integer; @@ -161,8 +145,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { return int32; @@ -185,8 +168,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { return int64; @@ -211,8 +193,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { return number; @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { return _float; @@ -263,8 +243,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { return _double; @@ -287,8 +266,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { return decimal; @@ -311,8 +289,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { return string; @@ -335,8 +312,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { return _byte; @@ -359,8 +335,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { return binary; @@ -383,8 +358,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { return date; @@ -407,8 +381,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { return dateTime; @@ -431,8 +404,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { return uuid; @@ -455,8 +427,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { return password; @@ -479,8 +450,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { return patternWithDigits; @@ -503,8 +473,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { return patternWithDigitsAndDelimiter; @@ -517,7 +486,6 @@ public class FormatTest { this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; } - /** * Return true if this format_test object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Fruit.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Fruit.java index 657dfc19c85..6acf58194f9 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Fruit.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Fruit.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Fruit.FruitDeserializer.class) @JsonSerialize(using = Fruit.FruitSerializer.class) public class Fruit extends AbstractOpenApiSchema { @@ -166,7 +167,6 @@ public class Fruit extends AbstractOpenApiSchema { public Fruit() { super("oneOf", Boolean.FALSE); } - public Fruit(Apple o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FruitReq.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FruitReq.java index 66a63ec9eb0..cee3506218e 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FruitReq.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FruitReq.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = FruitReq.FruitReqDeserializer.class) @JsonSerialize(using = FruitReq.FruitReqSerializer.class) public class FruitReq extends AbstractOpenApiSchema { @@ -166,7 +167,6 @@ public class FruitReq extends AbstractOpenApiSchema { public FruitReq() { super("oneOf", Boolean.FALSE); } - public FruitReq(AppleReq o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GmFruit.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GmFruit.java index 6b3ba6739e3..6b4dd62906d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GmFruit.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GmFruit.java @@ -52,6 +52,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using=GmFruit.GmFruitDeserializer.class) @JsonSerialize(using = GmFruit.GmFruitSerializer.class) public class GmFruit extends AbstractOpenApiSchema { @@ -126,7 +127,6 @@ public class GmFruit extends AbstractOpenApiSchema { public GmFruit() { super("anyOf", Boolean.FALSE); } - public GmFruit(Apple o) { super("anyOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index e80b219e13f..f70acfac9e9 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -40,6 +40,7 @@ import org.openapitools.client.ApiClient; GrandparentAnimal.JSON_PROPERTY_PET_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "pet_type", // ignore manually set pet_type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the pet_type to be set during deserialization @@ -52,8 +53,7 @@ import org.openapitools.client.ApiClient; public class GrandparentAnimal { public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; - @javax.annotation.Nonnull - private String petType; + @javax.annotation.Nonnull private String petType; public GrandparentAnimal() { } @@ -67,8 +67,7 @@ public class GrandparentAnimal { * Get petType * @return petType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PET_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPetType() { return petType; @@ -81,7 +80,6 @@ public class GrandparentAnimal { this.petType = petType; } - /** * Return true if this GrandparentAnimal object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 88918ca5545..e07585f7c26 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; HasOnlyReadOnly.JSON_PROPERTY_FOO }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -63,8 +62,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -77,8 +75,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { return foo; @@ -86,7 +83,6 @@ public class HasOnlyReadOnly { - /** * Return true if this hasOnlyReadOnly object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 586ad5fc0a9..126413252c6 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -40,6 +40,7 @@ import org.openapitools.client.ApiClient; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; private JsonNullable nullableMessage = JsonNullable.undefined(); @@ -56,15 +57,13 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -78,7 +77,6 @@ public class HealthCheckResult { this.nullableMessage = JsonNullable.of(nullableMessage); } - /** * Return true if this HealthCheckResult object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index 36e8f880f49..1dc526ea80a 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; IsoscelesTriangle.JSON_PROPERTY_TRIANGLE_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class IsoscelesTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public IsoscelesTriangle() { } @@ -58,8 +57,7 @@ public class IsoscelesTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +80,7 @@ public class IsoscelesTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +93,6 @@ public class IsoscelesTriangle { this.triangleType = triangleType; } - /** * Return true if this IsoscelesTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Mammal.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Mammal.java index 727d75d5809..dd856b4d7c3 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Mammal.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Mammal.java @@ -58,6 +58,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Mammal.MammalDeserializer.class) @JsonSerialize(using = Mammal.MammalSerializer.class) public class Mammal extends AbstractOpenApiSchema { @@ -195,7 +196,6 @@ public class Mammal extends AbstractOpenApiSchema { public Mammal() { super("oneOf", Boolean.FALSE); } - public Mammal(Pig o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MapTest.java index 6df3a798f44..9239a69f14b 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MapTest.java @@ -41,10 +41,10 @@ import org.openapitools.client.ApiClient; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -80,18 +80,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -113,8 +109,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { return mapMapOfString; @@ -145,8 +140,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { return mapOfEnumString; @@ -177,8 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { return directMap; @@ -209,8 +202,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { return indirectMap; @@ -223,7 +215,6 @@ public class MapTest { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 189cc0473e6..911728cc3e7 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -43,18 +43,16 @@ import org.openapitools.client.ApiClient; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -68,8 +66,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { return uuid; @@ -92,8 +89,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { return dateTime; @@ -124,8 +120,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { return map; @@ -138,7 +133,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Model200Response.java index 8f8da84f893..484c7054d06 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Model200Response.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Model200Response.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -58,8 +57,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { return name; @@ -82,8 +80,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { return propertyClass; @@ -96,7 +93,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelApiResponse.java index f9cfad9a631..1ce59e22632 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -38,18 +38,16 @@ import org.openapitools.client.ApiClient; ModelApiResponse.JSON_PROPERTY_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -63,8 +61,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { return code; @@ -87,8 +84,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { return type; @@ -111,8 +107,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { return message; @@ -125,7 +120,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelFile.java index 895e319e820..c490d689a73 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelFile.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; ModelFile.JSON_PROPERTY_SOURCE_U_R_I }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -53,8 +53,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { return sourceURI; @@ -67,7 +66,6 @@ public class ModelFile { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelList.java index 35e07d36e12..66c58370bc5 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelList.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; ModelList.JSON_PROPERTY_123LIST }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -53,8 +53,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { return _123list; @@ -67,7 +66,6 @@ public class ModelList { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelReturn.java index 74647ae19ae..8656a9eb14d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; ModelReturn.JSON_PROPERTY_RETURN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -53,8 +53,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { return _return; @@ -67,7 +66,6 @@ public class ModelReturn { this._return = _return; } - /** * Return true if this Return object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java index e4ab623bedf..f34da8986c7 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java @@ -39,22 +39,19 @@ import org.openapitools.client.ApiClient; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -78,8 +75,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { return name; @@ -97,8 +93,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { return snakeCase; @@ -116,8 +111,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { return property; @@ -135,8 +129,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { return _123number; @@ -144,7 +137,6 @@ public class Name { - /** * Return true if this Name object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableClass.java index 9116b92ee49..fb0e1f587a4 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableClass.java @@ -62,6 +62,7 @@ import org.openapitools.client.ApiClient; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; private JsonNullable integerProp = JsonNullable.undefined(); @@ -88,8 +89,7 @@ public class NullableClass extends HashMap { private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; private JsonNullable> objectNullableProp = JsonNullable.>undefined(); @@ -98,8 +98,7 @@ public class NullableClass extends HashMap { private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { } @@ -113,15 +112,13 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); } @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -145,15 +142,13 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); } @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -177,15 +172,13 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); } @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -209,15 +202,13 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); } @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -241,15 +232,13 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -273,15 +262,13 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -317,15 +304,13 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -361,15 +346,13 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -401,8 +384,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { return arrayItemsNullable; @@ -437,15 +419,13 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -481,15 +461,13 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -521,8 +499,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { return objectItemsNullable; @@ -578,7 +555,6 @@ public class NullableClass extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this NullableClass object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableShape.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableShape.java index 69337631f59..a3e283dbe78 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableShape.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NullableShape.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = NullableShape.NullableShapeDeserializer.class) @JsonSerialize(using = NullableShape.NullableShapeSerializer.class) public class NullableShape extends AbstractOpenApiSchema { @@ -170,7 +171,6 @@ public class NullableShape extends AbstractOpenApiSchema { public NullableShape() { super("oneOf", Boolean.TRUE); } - public NullableShape(Quadrilateral o) { super("oneOf", Boolean.TRUE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NumberOnly.java index 0191985c550..13c96de2899 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -37,10 +37,10 @@ import org.openapitools.client.ApiClient; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -54,8 +54,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { return justNumber; @@ -68,7 +67,6 @@ public class NumberOnly { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 26c7820c3a1..c771ef0d956 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -43,22 +43,19 @@ import org.openapitools.client.ApiClient; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -72,8 +69,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { return uuid; @@ -98,8 +94,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { return id; @@ -124,8 +119,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { return deprecatedRef; @@ -158,8 +152,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { return bars; @@ -172,7 +165,6 @@ public class ObjectWithDeprecatedFields { this.bars = bars; } - /** * Return true if this ObjectWithDeprecatedFields object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Order.java index 69e09161e49..7b11f543700 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Order.java @@ -42,22 +42,19 @@ import org.openapitools.client.ApiClient; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -95,14 +92,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -116,8 +110,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -140,8 +133,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { return petId; @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { return quantity; @@ -188,8 +179,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { return shipDate; @@ -212,8 +202,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { return complete; @@ -250,7 +238,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/OuterComposite.java index c57a196e0d4..8f958a8ca49 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -39,18 +39,16 @@ import org.openapitools.client.ApiClient; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -64,8 +62,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { return myNumber; @@ -88,8 +85,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { return myString; @@ -112,8 +108,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { return myBoolean; @@ -126,7 +121,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ParentPet.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ParentPet.java index 996ecc54f61..90b006c1ddd 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ParentPet.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ParentPet.java @@ -40,6 +40,7 @@ import org.openapitools.client.ApiClient; @JsonPropertyOrder({ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "pet_type", // ignore manually set pet_type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the pet_type to be set during deserialization @@ -52,7 +53,6 @@ import org.openapitools.client.ApiClient; public class ParentPet extends GrandparentAnimal { public ParentPet() { } - @Override public ParentPet petType(@javax.annotation.Nonnull String petType) { this.setPetType(petType); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java index bbaa7db7492..f31b9d945fb 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java @@ -45,26 +45,22 @@ import org.openapitools.client.ApiClient; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -102,10 +98,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { return category; @@ -167,8 +159,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -199,8 +190,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { return photoUrls; @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { return tags; @@ -255,8 +244,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -269,7 +257,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pig.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pig.java index 4ee5c3fc43c..8ef668ef4b3 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pig.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pig.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Pig.PigDeserializer.class) @JsonSerialize(using = Pig.PigSerializer.class) public class Pig extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Pig extends AbstractOpenApiSchema { public Pig() { super("oneOf", Boolean.FALSE); } - public Pig(BasquePig o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Quadrilateral.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Quadrilateral.java index b2a851b351f..8d1b4bf9f31 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Quadrilateral.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Quadrilateral.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Quadrilateral.QuadrilateralDeserializer.class) @JsonSerialize(using = Quadrilateral.QuadrilateralSerializer.class) public class Quadrilateral extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Quadrilateral extends AbstractOpenApiSchema { public Quadrilateral() { super("oneOf", Boolean.FALSE); } - public Quadrilateral(ComplexQuadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index 808502be8d5..0be6ad897bd 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; QuadrilateralInterface.JSON_PROPERTY_QUADRILATERAL_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class QuadrilateralInterface { public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public QuadrilateralInterface() { } @@ -53,8 +53,7 @@ public class QuadrilateralInterface { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -67,7 +66,6 @@ public class QuadrilateralInterface { this.quadrilateralType = quadrilateralType; } - /** * Return true if this QuadrilateralInterface object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index b95057fbe55..69a94a551e2 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -61,8 +60,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -80,8 +78,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { return baz; @@ -94,7 +91,6 @@ public class ReadOnlyFirst { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index 8d32ac208be..3d653fd4861 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; ScaleneTriangle.JSON_PROPERTY_TRIANGLE_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ScaleneTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public ScaleneTriangle() { } @@ -58,8 +57,7 @@ public class ScaleneTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +80,7 @@ public class ScaleneTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +93,6 @@ public class ScaleneTriangle { this.triangleType = triangleType; } - /** * Return true if this ScaleneTriangle object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Shape.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Shape.java index 6a44b5a721e..682fc0af0ad 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Shape.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Shape.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Shape.ShapeDeserializer.class) @JsonSerialize(using = Shape.ShapeSerializer.class) public class Shape extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Shape extends AbstractOpenApiSchema { public Shape() { super("oneOf", Boolean.FALSE); } - public Shape(Quadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeInterface.java index 544d0d4a899..269ff18d923 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -36,10 +36,10 @@ import org.openapitools.client.ApiClient; ShapeInterface.JSON_PROPERTY_SHAPE_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ShapeInterface { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public ShapeInterface() { } @@ -53,8 +53,7 @@ public class ShapeInterface { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -67,7 +66,6 @@ public class ShapeInterface { this.shapeType = shapeType; } - /** * Return true if this ShapeInterface object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeOrNull.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeOrNull.java index 07f9a1bd3aa..c8f2c76315d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeOrNull.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/ShapeOrNull.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = ShapeOrNull.ShapeOrNullDeserializer.class) @JsonSerialize(using = ShapeOrNull.ShapeOrNullSerializer.class) public class ShapeOrNull extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class ShapeOrNull extends AbstractOpenApiSchema { public ShapeOrNull() { super("oneOf", Boolean.FALSE); } - public ShapeOrNull(Quadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index b98d759c8b5..9d3f3307441 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; SimpleQuadrilateral.JSON_PROPERTY_QUADRILATERAL_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SimpleQuadrilateral { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public SimpleQuadrilateral() { } @@ -58,8 +57,7 @@ public class SimpleQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +80,7 @@ public class SimpleQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -96,7 +93,6 @@ public class SimpleQuadrilateral { this.quadrilateralType = quadrilateralType; } - /** * Return true if this SimpleQuadrilateral object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SpecialModelName.java index fca0648ef47..6886775ae04 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; SpecialModelName.JSON_PROPERTY_SPECIAL_MODEL_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public static final String JSON_PROPERTY_SPECIAL_MODEL_NAME = "_special_model.name_"; - @javax.annotation.Nullable - private String specialModelName; + @javax.annotation.Nullable private String specialModelName; public SpecialModelName() { } @@ -58,8 +57,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { return $specialPropertyName; @@ -82,8 +80,7 @@ public class SpecialModelName { * Get specialModelName * @return specialModelName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSpecialModelName() { return specialModelName; @@ -96,7 +93,6 @@ public class SpecialModelName { this.specialModelName = specialModelName; } - /** * Return true if this _special_model.name_ object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Tag.java index 0be17aeb75b..431864eaccf 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Tag.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -58,8 +57,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 78ee4289eab..851b6c9cd05 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -42,10 +42,10 @@ import org.openapitools.client.ApiClient; TestInlineFreeformAdditionalPropertiesRequest.JSON_PROPERTY_SOME_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { } @@ -59,8 +59,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap objectWithNoDeclaredPropsNullable = JsonNullable.undefined(); @@ -109,8 +101,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -133,8 +124,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { return username; @@ -157,8 +147,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { return firstName; @@ -181,8 +170,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { return lastName; @@ -205,8 +193,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { return email; @@ -229,8 +216,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { return password; @@ -253,8 +239,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { return phone; @@ -277,8 +262,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { return userStatus; @@ -301,8 +285,7 @@ public class User { * test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. * @return objectWithNoDeclaredProps */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getObjectWithNoDeclaredProps() { return objectWithNoDeclaredProps; @@ -325,15 +308,13 @@ public class User { * test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. * @return objectWithNoDeclaredPropsNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getObjectWithNoDeclaredPropsNullable() { return objectWithNoDeclaredPropsNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } @@ -357,15 +338,13 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 * @return anyTypeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnyTypeProp() { return anyTypeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } @@ -389,15 +368,13 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. * @return anyTypePropNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnyTypePropNullable() { return anyTypePropNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } @@ -411,7 +388,6 @@ public class User { this.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); } - /** * Return true if this User object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Whale.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Whale.java index b58368c9395..e63be17e25c 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Whale.java @@ -38,18 +38,16 @@ import org.openapitools.client.ApiClient; Whale.JSON_PROPERTY_CLASS_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Whale { public static final String JSON_PROPERTY_HAS_BALEEN = "hasBaleen"; - @javax.annotation.Nullable - private Boolean hasBaleen; + @javax.annotation.Nullable private Boolean hasBaleen; public static final String JSON_PROPERTY_HAS_TEETH = "hasTeeth"; - @javax.annotation.Nullable - private Boolean hasTeeth; + @javax.annotation.Nullable private Boolean hasTeeth; public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Whale() { } @@ -63,8 +61,7 @@ public class Whale { * Get hasBaleen * @return hasBaleen */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_BALEEN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HAS_BALEEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getHasBaleen() { return hasBaleen; @@ -87,8 +84,7 @@ public class Whale { * Get hasTeeth * @return hasTeeth */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_TEETH) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HAS_TEETH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getHasTeeth() { return hasTeeth; @@ -111,8 +107,7 @@ public class Whale { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -125,7 +120,6 @@ public class Whale { this.className = className; } - /** * Return true if this whale object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Zebra.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Zebra.java index c21707d55b0..c152df29666 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Zebra.java @@ -43,6 +43,7 @@ import org.openapitools.client.ApiClient; Zebra.JSON_PROPERTY_CLASS_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Zebra extends HashMap { /** * Gets or Sets type @@ -80,14 +81,11 @@ public class Zebra extends HashMap { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private TypeEnum type; + @javax.annotation.Nullable private TypeEnum type; public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Zebra() { } @@ -101,8 +99,7 @@ public class Zebra extends HashMap { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { return type; @@ -125,8 +122,7 @@ public class Zebra extends HashMap { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -182,7 +178,6 @@ public class Zebra extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this zebra object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/docs/Category.md b/samples/client/petstore/java/native-jakarta/docs/Category.md index a7fc939d252..e3a4b6bba74 100644 --- a/samples/client/petstore/java/native-jakarta/docs/Category.md +++ b/samples/client/petstore/java/native-jakarta/docs/Category.md @@ -12,4 +12,3 @@ A category for a pet |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-jakarta/docs/ModelApiResponse.md b/samples/client/petstore/java/native-jakarta/docs/ModelApiResponse.md index cd7e3c400be..d9032dc49e9 100644 --- a/samples/client/petstore/java/native-jakarta/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/native-jakarta/docs/ModelApiResponse.md @@ -13,4 +13,3 @@ Describes the result of uploading an image resource |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-jakarta/docs/Order.md b/samples/client/petstore/java/native-jakarta/docs/Order.md index 0c33059b8b6..5f37d98be57 100644 --- a/samples/client/petstore/java/native-jakarta/docs/Order.md +++ b/samples/client/petstore/java/native-jakarta/docs/Order.md @@ -26,4 +26,3 @@ An order for a pets from the pet store | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/native-jakarta/docs/Pet.md b/samples/client/petstore/java/native-jakarta/docs/Pet.md index 8bb36330123..4319dfdcb79 100644 --- a/samples/client/petstore/java/native-jakarta/docs/Pet.md +++ b/samples/client/petstore/java/native-jakarta/docs/Pet.md @@ -26,4 +26,3 @@ A pet for sale in the pet store | SOLD | "sold" | - diff --git a/samples/client/petstore/java/native-jakarta/docs/Tag.md b/samples/client/petstore/java/native-jakarta/docs/Tag.md index abfde4afb50..539d9b3e664 100644 --- a/samples/client/petstore/java/native-jakarta/docs/Tag.md +++ b/samples/client/petstore/java/native-jakarta/docs/Tag.md @@ -12,4 +12,3 @@ A tag for a pet |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native-jakarta/docs/User.md b/samples/client/petstore/java/native-jakarta/docs/User.md index 426845227bd..7bbb6217b8f 100644 --- a/samples/client/petstore/java/native-jakarta/docs/User.md +++ b/samples/client/petstore/java/native-jakarta/docs/User.md @@ -18,4 +18,3 @@ A User who is purchasing from the pet store |**userStatus** | **Integer** | User Status | [optional] | - diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 2b0da9d1ad7..e92b685ba1a 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -143,5 +143,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Category.java index 40920ec031e..10e579631a6 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Category.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Category() { } @@ -58,8 +57,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java index deaecc7dfef..162fa009de5 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -38,18 +38,16 @@ import org.openapitools.client.ApiClient; ModelApiResponse.JSON_PROPERTY_MESSAGE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -63,8 +61,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { return code; @@ -87,8 +84,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { return type; @@ -111,8 +107,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { return message; @@ -125,7 +120,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Order.java index 4b869110f2b..aa812163e4c 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Order.java @@ -42,22 +42,19 @@ import org.openapitools.client.ApiClient; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -95,14 +92,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -116,8 +110,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -140,8 +133,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { return petId; @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { return quantity; @@ -188,8 +179,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { return shipDate; @@ -212,8 +202,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { return complete; @@ -250,7 +238,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Pet.java index 9bd07ec6812..3460bd25a45 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Pet.java @@ -45,26 +45,22 @@ import org.openapitools.client.ApiClient; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @jakarta.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -102,10 +98,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { return category; @@ -167,8 +159,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -199,8 +190,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { return photoUrls; @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { return tags; @@ -257,8 +246,7 @@ public class Pet { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -271,7 +259,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Tag.java index 5fb33a3ada3..891c14ff6ec 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/Tag.java @@ -37,14 +37,13 @@ import org.openapitools.client.ApiClient; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -58,8 +57,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +80,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +93,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java index eab4c0a8301..78c7805ee22 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/model/User.java @@ -43,38 +43,31 @@ import org.openapitools.client.ApiClient; User.JSON_PROPERTY_USER_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @jakarta.annotation.Nullable - private String firstName; + @jakarta.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @jakarta.annotation.Nullable - private String lastName; + @jakarta.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @jakarta.annotation.Nullable - private String email; + @jakarta.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nullable - private String password; + @jakarta.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @jakarta.annotation.Nullable - private String phone; + @jakarta.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @jakarta.annotation.Nullable - private Integer userStatus; + @jakarta.annotation.Nullable private Integer userStatus; public User() { } @@ -88,8 +81,7 @@ public class User { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -112,8 +104,7 @@ public class User { * Get username * @return username */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { return username; @@ -136,8 +127,7 @@ public class User { * Get firstName * @return firstName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { return firstName; @@ -160,8 +150,7 @@ public class User { * Get lastName * @return lastName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { return lastName; @@ -184,8 +173,7 @@ public class User { * Get email * @return email */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { return email; @@ -208,8 +196,7 @@ public class User { * Get password * @return password */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { return password; @@ -232,8 +219,7 @@ public class User { * Get phone * @return phone */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { return phone; @@ -256,8 +242,7 @@ public class User { * User Status * @return userStatus */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { return userStatus; @@ -270,7 +255,6 @@ public class User { this.userStatus = userStatus; } - /** * Return true if this User object is equal to o. */ diff --git a/samples/client/petstore/java/native/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/native/docs/AdditionalPropertiesClass.md index 83051d9be44..3bda53c4d3c 100644 --- a/samples/client/petstore/java/native/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/java/native/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ |**mapWithUndeclaredPropertiesString** | **Map<String, String>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Animal.md b/samples/client/petstore/java/native/docs/Animal.md index d9b32f14c88..540bfec69bc 100644 --- a/samples/client/petstore/java/native/docs/Animal.md +++ b/samples/client/petstore/java/native/docs/Animal.md @@ -11,4 +11,3 @@ |**color** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Apple.md b/samples/client/petstore/java/native/docs/Apple.md index 0ef7a92c74d..19a409261d0 100644 --- a/samples/client/petstore/java/native/docs/Apple.md +++ b/samples/client/petstore/java/native/docs/Apple.md @@ -11,4 +11,3 @@ |**origin** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/AppleReq.md b/samples/client/petstore/java/native/docs/AppleReq.md index 989e1cfedd1..4dae60bf73d 100644 --- a/samples/client/petstore/java/native/docs/AppleReq.md +++ b/samples/client/petstore/java/native/docs/AppleReq.md @@ -11,4 +11,3 @@ |**mealy** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/native/docs/ArrayOfArrayOfNumberOnly.md index 0188db3eb13..237ef6876b5 100644 --- a/samples/client/petstore/java/native/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/java/native/docs/ArrayOfArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/native/docs/ArrayOfNumberOnly.md index a5753530aad..48d5474e10a 100644 --- a/samples/client/petstore/java/native/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/java/native/docs/ArrayOfNumberOnly.md @@ -10,4 +10,3 @@ |**arrayNumber** | **List<BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ArrayTest.md b/samples/client/petstore/java/native/docs/ArrayTest.md index 36077c9df30..1bfb727e450 100644 --- a/samples/client/petstore/java/native/docs/ArrayTest.md +++ b/samples/client/petstore/java/native/docs/ArrayTest.md @@ -12,4 +12,3 @@ |**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Banana.md b/samples/client/petstore/java/native/docs/Banana.md index 5356d17ee70..cf0c789b457 100644 --- a/samples/client/petstore/java/native/docs/Banana.md +++ b/samples/client/petstore/java/native/docs/Banana.md @@ -10,4 +10,3 @@ |**lengthCm** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/BananaReq.md b/samples/client/petstore/java/native/docs/BananaReq.md index 22ebe1a7105..2a45b8a318b 100644 --- a/samples/client/petstore/java/native/docs/BananaReq.md +++ b/samples/client/petstore/java/native/docs/BananaReq.md @@ -11,4 +11,3 @@ |**sweet** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/BasquePig.md b/samples/client/petstore/java/native/docs/BasquePig.md index 160cb71c321..ab4d63f698e 100644 --- a/samples/client/petstore/java/native/docs/BasquePig.md +++ b/samples/client/petstore/java/native/docs/BasquePig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/Capitalization.md b/samples/client/petstore/java/native/docs/Capitalization.md index 82a812711de..0b2455e5863 100644 --- a/samples/client/petstore/java/native/docs/Capitalization.md +++ b/samples/client/petstore/java/native/docs/Capitalization.md @@ -15,4 +15,3 @@ |**ATT_NAME** | **String** | Name of the pet | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Cat.md b/samples/client/petstore/java/native/docs/Cat.md index 390dd519c8c..04b42c7dc5b 100644 --- a/samples/client/petstore/java/native/docs/Cat.md +++ b/samples/client/petstore/java/native/docs/Cat.md @@ -10,4 +10,3 @@ |**declawed** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Category.md b/samples/client/petstore/java/native/docs/Category.md index ab6d1ec334d..f33915619cc 100644 --- a/samples/client/petstore/java/native/docs/Category.md +++ b/samples/client/petstore/java/native/docs/Category.md @@ -11,4 +11,3 @@ |**name** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/ChildCat.md b/samples/client/petstore/java/native/docs/ChildCat.md index 258d87e5699..de4d3300bc9 100644 --- a/samples/client/petstore/java/native/docs/ChildCat.md +++ b/samples/client/petstore/java/native/docs/ChildCat.md @@ -19,4 +19,3 @@ | CHILD_CAT | "ChildCat" | - diff --git a/samples/client/petstore/java/native/docs/ClassModel.md b/samples/client/petstore/java/native/docs/ClassModel.md index af46dea1f6c..58f279eeb40 100644 --- a/samples/client/petstore/java/native/docs/ClassModel.md +++ b/samples/client/petstore/java/native/docs/ClassModel.md @@ -11,4 +11,3 @@ Model for testing model with \"_class\" property |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Client.md b/samples/client/petstore/java/native/docs/Client.md index ef07b4ab8b9..414196529f0 100644 --- a/samples/client/petstore/java/native/docs/Client.md +++ b/samples/client/petstore/java/native/docs/Client.md @@ -10,4 +10,3 @@ |**client** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ComplexQuadrilateral.md b/samples/client/petstore/java/native/docs/ComplexQuadrilateral.md index d0a4b1a0a75..0054df5be9f 100644 --- a/samples/client/petstore/java/native/docs/ComplexQuadrilateral.md +++ b/samples/client/petstore/java/native/docs/ComplexQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/DanishPig.md b/samples/client/petstore/java/native/docs/DanishPig.md index 0b366d3cf2f..161f758de85 100644 --- a/samples/client/petstore/java/native/docs/DanishPig.md +++ b/samples/client/petstore/java/native/docs/DanishPig.md @@ -10,4 +10,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/DeprecatedObject.md b/samples/client/petstore/java/native/docs/DeprecatedObject.md index 48de1d62442..bbc0ccf6ed6 100644 --- a/samples/client/petstore/java/native/docs/DeprecatedObject.md +++ b/samples/client/petstore/java/native/docs/DeprecatedObject.md @@ -10,4 +10,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Dog.md b/samples/client/petstore/java/native/docs/Dog.md index 972c981c0d0..4692cd2b4a5 100644 --- a/samples/client/petstore/java/native/docs/Dog.md +++ b/samples/client/petstore/java/native/docs/Dog.md @@ -10,4 +10,3 @@ |**breed** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Drawing.md b/samples/client/petstore/java/native/docs/Drawing.md index 6b815fc4131..87a8673fd2a 100644 --- a/samples/client/petstore/java/native/docs/Drawing.md +++ b/samples/client/petstore/java/native/docs/Drawing.md @@ -13,4 +13,3 @@ |**shapes** | [**List<Shape>**](Shape.md) | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/EnumArrays.md b/samples/client/petstore/java/native/docs/EnumArrays.md index b2222d5beb2..58c01044480 100644 --- a/samples/client/petstore/java/native/docs/EnumArrays.md +++ b/samples/client/petstore/java/native/docs/EnumArrays.md @@ -29,4 +29,3 @@ | CRAB | "crab" | - diff --git a/samples/client/petstore/java/native/docs/EnumClass.md b/samples/client/petstore/java/native/docs/EnumClass.md index b314590a759..7a4c4ec692c 100644 --- a/samples/client/petstore/java/native/docs/EnumClass.md +++ b/samples/client/petstore/java/native/docs/EnumClass.md @@ -12,4 +12,3 @@ * `_XYZ_` (value: `"(xyz)"`) - diff --git a/samples/client/petstore/java/native/docs/EnumTest.md b/samples/client/petstore/java/native/docs/EnumTest.md index 3e226e18b50..fca06e77849 100644 --- a/samples/client/petstore/java/native/docs/EnumTest.md +++ b/samples/client/petstore/java/native/docs/EnumTest.md @@ -65,4 +65,3 @@ | NUMBER_MINUS_1_DOT_2 | -1.2 | - diff --git a/samples/client/petstore/java/native/docs/EquilateralTriangle.md b/samples/client/petstore/java/native/docs/EquilateralTriangle.md index eade817feb3..063b113ee70 100644 --- a/samples/client/petstore/java/native/docs/EquilateralTriangle.md +++ b/samples/client/petstore/java/native/docs/EquilateralTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/java/native/docs/FakeBigDecimalMap200Response.md index 475be1d2d73..35f1cd587cf 100644 --- a/samples/client/petstore/java/native/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/java/native/docs/FakeBigDecimalMap200Response.md @@ -11,4 +11,3 @@ |**someMap** | **Map<String, BigDecimal>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/FileSchemaTestClass.md b/samples/client/petstore/java/native/docs/FileSchemaTestClass.md index 85d1a063669..f5d57cfd409 100644 --- a/samples/client/petstore/java/native/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/java/native/docs/FileSchemaTestClass.md @@ -11,4 +11,3 @@ |**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Foo.md b/samples/client/petstore/java/native/docs/Foo.md index 6b3f0556528..9c59271b892 100644 --- a/samples/client/petstore/java/native/docs/Foo.md +++ b/samples/client/petstore/java/native/docs/Foo.md @@ -10,4 +10,3 @@ |**bar** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md index ff3d7a3a56c..fb98b2bd376 100644 --- a/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/java/native/docs/FooGetDefaultResponse.md @@ -10,4 +10,3 @@ |**string** | [**Foo**](Foo.md) | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/FormatTest.md b/samples/client/petstore/java/native/docs/FormatTest.md index 01b8c777ae0..4397f81e22d 100644 --- a/samples/client/petstore/java/native/docs/FormatTest.md +++ b/samples/client/petstore/java/native/docs/FormatTest.md @@ -25,4 +25,3 @@ |**patternWithDigitsAndDelimiter** | **String** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Fruit.md b/samples/client/petstore/java/native/docs/Fruit.md index 41b3152250e..1ca01a3fda0 100644 --- a/samples/client/petstore/java/native/docs/Fruit.md +++ b/samples/client/petstore/java/native/docs/Fruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/FruitReq.md b/samples/client/petstore/java/native/docs/FruitReq.md index 3927b7acded..649d59b09ff 100644 --- a/samples/client/petstore/java/native/docs/FruitReq.md +++ b/samples/client/petstore/java/native/docs/FruitReq.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/GmFruit.md b/samples/client/petstore/java/native/docs/GmFruit.md index c9dc50b92cb..e182eaf5420 100644 --- a/samples/client/petstore/java/native/docs/GmFruit.md +++ b/samples/client/petstore/java/native/docs/GmFruit.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/GrandparentAnimal.md b/samples/client/petstore/java/native/docs/GrandparentAnimal.md index 9737408f272..dbc2301c750 100644 --- a/samples/client/petstore/java/native/docs/GrandparentAnimal.md +++ b/samples/client/petstore/java/native/docs/GrandparentAnimal.md @@ -10,4 +10,3 @@ |**petType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/native/docs/HasOnlyReadOnly.md index 29da5205dbb..38dfd19f5a8 100644 --- a/samples/client/petstore/java/native/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/java/native/docs/HasOnlyReadOnly.md @@ -11,4 +11,3 @@ |**foo** | **String** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/native/docs/HealthCheckResult.md b/samples/client/petstore/java/native/docs/HealthCheckResult.md index 4885e6f1cad..a2065216d66 100644 --- a/samples/client/petstore/java/native/docs/HealthCheckResult.md +++ b/samples/client/petstore/java/native/docs/HealthCheckResult.md @@ -11,4 +11,3 @@ Just a string to inform instance is up and running. Make it nullable in hope to |**nullableMessage** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/IsoscelesTriangle.md b/samples/client/petstore/java/native/docs/IsoscelesTriangle.md index 0bd5045bc68..674bb2d975b 100644 --- a/samples/client/petstore/java/native/docs/IsoscelesTriangle.md +++ b/samples/client/petstore/java/native/docs/IsoscelesTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/Mammal.md b/samples/client/petstore/java/native/docs/Mammal.md index 11bbff5e2ba..8c881b7f5cb 100644 --- a/samples/client/petstore/java/native/docs/Mammal.md +++ b/samples/client/petstore/java/native/docs/Mammal.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/MapTest.md b/samples/client/petstore/java/native/docs/MapTest.md index 54380188e1d..b68397073bf 100644 --- a/samples/client/petstore/java/native/docs/MapTest.md +++ b/samples/client/petstore/java/native/docs/MapTest.md @@ -22,4 +22,3 @@ | LOWER | "lower" | - diff --git a/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md index a5ddf0faa6a..5d0f2a7b6a4 100644 --- a/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/java/native/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -12,4 +12,3 @@ |**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Model200Response.md b/samples/client/petstore/java/native/docs/Model200Response.md index 109411580c6..14100fcc25b 100644 --- a/samples/client/petstore/java/native/docs/Model200Response.md +++ b/samples/client/petstore/java/native/docs/Model200Response.md @@ -12,4 +12,3 @@ Model for testing model name starting with number |**propertyClass** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ModelApiResponse.md b/samples/client/petstore/java/native/docs/ModelApiResponse.md index e374c2dd2de..e59fea0970b 100644 --- a/samples/client/petstore/java/native/docs/ModelApiResponse.md +++ b/samples/client/petstore/java/native/docs/ModelApiResponse.md @@ -12,4 +12,3 @@ |**message** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ModelFile.md b/samples/client/petstore/java/native/docs/ModelFile.md index adcde984f52..61c9020e62a 100644 --- a/samples/client/petstore/java/native/docs/ModelFile.md +++ b/samples/client/petstore/java/native/docs/ModelFile.md @@ -11,4 +11,3 @@ Must be named `File` for test. |**sourceURI** | **String** | Test capitalization | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ModelList.md b/samples/client/petstore/java/native/docs/ModelList.md index f93ab7dde8d..2e28e551301 100644 --- a/samples/client/petstore/java/native/docs/ModelList.md +++ b/samples/client/petstore/java/native/docs/ModelList.md @@ -10,4 +10,3 @@ |**_123list** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ModelReturn.md b/samples/client/petstore/java/native/docs/ModelReturn.md index 0bd356861eb..d307e6fbd93 100644 --- a/samples/client/petstore/java/native/docs/ModelReturn.md +++ b/samples/client/petstore/java/native/docs/ModelReturn.md @@ -11,4 +11,3 @@ Model for testing reserved words |**_return** | **Integer** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Name.md b/samples/client/petstore/java/native/docs/Name.md index c901d943530..002cad3f332 100644 --- a/samples/client/petstore/java/native/docs/Name.md +++ b/samples/client/petstore/java/native/docs/Name.md @@ -14,4 +14,3 @@ Model for testing model name same as property name |**_123number** | **Integer** | | [optional] [readonly] | - diff --git a/samples/client/petstore/java/native/docs/NullableClass.md b/samples/client/petstore/java/native/docs/NullableClass.md index fa98c5c6d98..3f6e8619c87 100644 --- a/samples/client/petstore/java/native/docs/NullableClass.md +++ b/samples/client/petstore/java/native/docs/NullableClass.md @@ -21,4 +21,3 @@ |**objectItemsNullable** | **Map<String, Object>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/NullableShape.md b/samples/client/petstore/java/native/docs/NullableShape.md index 60c45b26840..ae217f582b2 100644 --- a/samples/client/petstore/java/native/docs/NullableShape.md +++ b/samples/client/petstore/java/native/docs/NullableShape.md @@ -38,4 +38,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/NumberOnly.md b/samples/client/petstore/java/native/docs/NumberOnly.md index b8ed1a4cfae..ca181cdaf81 100644 --- a/samples/client/petstore/java/native/docs/NumberOnly.md +++ b/samples/client/petstore/java/native/docs/NumberOnly.md @@ -10,4 +10,3 @@ |**justNumber** | **BigDecimal** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md index f1cf571f4c0..37a3aad5547 100644 --- a/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/java/native/docs/ObjectWithDeprecatedFields.md @@ -13,4 +13,3 @@ |**bars** | **List<String>** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Order.md b/samples/client/petstore/java/native/docs/Order.md index 27af32855c5..21c4c8efc7b 100644 --- a/samples/client/petstore/java/native/docs/Order.md +++ b/samples/client/petstore/java/native/docs/Order.md @@ -25,4 +25,3 @@ | DELIVERED | "delivered" | - diff --git a/samples/client/petstore/java/native/docs/OuterComposite.md b/samples/client/petstore/java/native/docs/OuterComposite.md index 98b56e0763f..19601002fd2 100644 --- a/samples/client/petstore/java/native/docs/OuterComposite.md +++ b/samples/client/petstore/java/native/docs/OuterComposite.md @@ -12,4 +12,3 @@ |**myBoolean** | **Boolean** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/OuterEnum.md b/samples/client/petstore/java/native/docs/OuterEnum.md index 1f9b723eb8e..97cfc1e9a95 100644 --- a/samples/client/petstore/java/native/docs/OuterEnum.md +++ b/samples/client/petstore/java/native/docs/OuterEnum.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/native/docs/OuterEnumDefaultValue.md b/samples/client/petstore/java/native/docs/OuterEnumDefaultValue.md index cbc7f4ba54d..16c6da73893 100644 --- a/samples/client/petstore/java/native/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/java/native/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ * `DELIVERED` (value: `"delivered"`) - diff --git a/samples/client/petstore/java/native/docs/OuterEnumInteger.md b/samples/client/petstore/java/native/docs/OuterEnumInteger.md index f71dea30ad0..1691ce771b3 100644 --- a/samples/client/petstore/java/native/docs/OuterEnumInteger.md +++ b/samples/client/petstore/java/native/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/native/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/java/native/docs/OuterEnumIntegerDefaultValue.md index 99e6389f427..e57bc124e36 100644 --- a/samples/client/petstore/java/native/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/java/native/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ * `NUMBER_2` (value: `2`) - diff --git a/samples/client/petstore/java/native/docs/ParentPet.md b/samples/client/petstore/java/native/docs/ParentPet.md index 4992b88a671..27b37b9d1d2 100644 --- a/samples/client/petstore/java/native/docs/ParentPet.md +++ b/samples/client/petstore/java/native/docs/ParentPet.md @@ -9,4 +9,3 @@ |------------ | ------------- | ------------- | -------------| - diff --git a/samples/client/petstore/java/native/docs/Pet.md b/samples/client/petstore/java/native/docs/Pet.md index 08dfd862360..d7a1d925604 100644 --- a/samples/client/petstore/java/native/docs/Pet.md +++ b/samples/client/petstore/java/native/docs/Pet.md @@ -25,4 +25,3 @@ | SOLD | "sold" | - diff --git a/samples/client/petstore/java/native/docs/Pig.md b/samples/client/petstore/java/native/docs/Pig.md index f0a92bbe61b..568f7f4d407 100644 --- a/samples/client/petstore/java/native/docs/Pig.md +++ b/samples/client/petstore/java/native/docs/Pig.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/Quadrilateral.md b/samples/client/petstore/java/native/docs/Quadrilateral.md index 83ffea0c742..724e8935923 100644 --- a/samples/client/petstore/java/native/docs/Quadrilateral.md +++ b/samples/client/petstore/java/native/docs/Quadrilateral.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/QuadrilateralInterface.md b/samples/client/petstore/java/native/docs/QuadrilateralInterface.md index 99451f3bd02..1817e338ff7 100644 --- a/samples/client/petstore/java/native/docs/QuadrilateralInterface.md +++ b/samples/client/petstore/java/native/docs/QuadrilateralInterface.md @@ -10,4 +10,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/ReadOnlyFirst.md b/samples/client/petstore/java/native/docs/ReadOnlyFirst.md index ad6af7ee155..138406406d3 100644 --- a/samples/client/petstore/java/native/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/java/native/docs/ReadOnlyFirst.md @@ -11,4 +11,3 @@ |**baz** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/ScaleneTriangle.md b/samples/client/petstore/java/native/docs/ScaleneTriangle.md index c578f6cbfaa..fb2f1e798e7 100644 --- a/samples/client/petstore/java/native/docs/ScaleneTriangle.md +++ b/samples/client/petstore/java/native/docs/ScaleneTriangle.md @@ -11,4 +11,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/Shape.md b/samples/client/petstore/java/native/docs/Shape.md index 9c237eefb04..57895ef4e1b 100644 --- a/samples/client/petstore/java/native/docs/Shape.md +++ b/samples/client/petstore/java/native/docs/Shape.md @@ -34,4 +34,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/ShapeInterface.md b/samples/client/petstore/java/native/docs/ShapeInterface.md index b4f981e3b56..e1d285bda6e 100644 --- a/samples/client/petstore/java/native/docs/ShapeInterface.md +++ b/samples/client/petstore/java/native/docs/ShapeInterface.md @@ -10,4 +10,3 @@ |**shapeType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/ShapeOrNull.md b/samples/client/petstore/java/native/docs/ShapeOrNull.md index 0bb9b8b9025..f0b05f9317d 100644 --- a/samples/client/petstore/java/native/docs/ShapeOrNull.md +++ b/samples/client/petstore/java/native/docs/ShapeOrNull.md @@ -36,4 +36,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/SimpleQuadrilateral.md b/samples/client/petstore/java/native/docs/SimpleQuadrilateral.md index 52fb7d1a6a4..c4e88c25956 100644 --- a/samples/client/petstore/java/native/docs/SimpleQuadrilateral.md +++ b/samples/client/petstore/java/native/docs/SimpleQuadrilateral.md @@ -11,4 +11,3 @@ |**quadrilateralType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/SpecialModelName.md b/samples/client/petstore/java/native/docs/SpecialModelName.md index e17d0d797b7..5336911fcf7 100644 --- a/samples/client/petstore/java/native/docs/SpecialModelName.md +++ b/samples/client/petstore/java/native/docs/SpecialModelName.md @@ -11,4 +11,3 @@ |**specialModelName** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Tag.md b/samples/client/petstore/java/native/docs/Tag.md index 5088b2dd1c3..169ff376a5a 100644 --- a/samples/client/petstore/java/native/docs/Tag.md +++ b/samples/client/petstore/java/native/docs/Tag.md @@ -11,4 +11,3 @@ |**name** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/java/native/docs/TestInlineFreeformAdditionalPropertiesRequest.md index dc066e6c7da..31f9e413678 100644 --- a/samples/client/petstore/java/native/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/java/native/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -10,4 +10,3 @@ |**someProperty** | **String** | | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Triangle.md b/samples/client/petstore/java/native/docs/Triangle.md index daf9d153ff6..8ca98989d71 100644 --- a/samples/client/petstore/java/native/docs/Triangle.md +++ b/samples/client/petstore/java/native/docs/Triangle.md @@ -43,4 +43,3 @@ public class Example { } ``` - diff --git a/samples/client/petstore/java/native/docs/TriangleInterface.md b/samples/client/petstore/java/native/docs/TriangleInterface.md index ef5fc7575f3..c684f27e858 100644 --- a/samples/client/petstore/java/native/docs/TriangleInterface.md +++ b/samples/client/petstore/java/native/docs/TriangleInterface.md @@ -10,4 +10,3 @@ |**triangleType** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/User.md b/samples/client/petstore/java/native/docs/User.md index 9e97dc35485..0923cdf0c33 100644 --- a/samples/client/petstore/java/native/docs/User.md +++ b/samples/client/petstore/java/native/docs/User.md @@ -21,4 +21,3 @@ |**anyTypePropNullable** | **Object** | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] | - diff --git a/samples/client/petstore/java/native/docs/Whale.md b/samples/client/petstore/java/native/docs/Whale.md index 30ce4bb8215..bec0b35bd00 100644 --- a/samples/client/petstore/java/native/docs/Whale.md +++ b/samples/client/petstore/java/native/docs/Whale.md @@ -12,4 +12,3 @@ |**className** | **String** | | | - diff --git a/samples/client/petstore/java/native/docs/Zebra.md b/samples/client/petstore/java/native/docs/Zebra.md index f7c4389b645..3b9786866e5 100644 --- a/samples/client/petstore/java/native/docs/Zebra.md +++ b/samples/client/petstore/java/native/docs/Zebra.md @@ -21,4 +21,3 @@ | GREVYS | "grevys" | - diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index 29df00aa086..4d9c4bef1d3 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -143,5 +143,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 76dc10c07a8..0a00b9a60f4 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -51,35 +51,28 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; - @javax.annotation.Nullable - private Map mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; private JsonNullable anytype1 = JsonNullable.of(null); public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1 = "map_with_undeclared_properties_anytype_1"; - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype1; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype1; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2 = "map_with_undeclared_properties_anytype_2"; - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype2; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype2; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3 = "map_with_undeclared_properties_anytype_3"; - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); public static final String JSON_PROPERTY_EMPTY_MAP = "empty_map"; - @javax.annotation.Nullable - private Object emptyMap; + @javax.annotation.Nullable private Object emptyMap; public static final String JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING = "map_with_undeclared_properties_string"; - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesString = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesString = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -101,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { return mapProperty; @@ -133,8 +125,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { return mapOfMapProperty; @@ -157,15 +148,13 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnytype1() { return anytype1.orElse(null); } @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnytype1_JsonNullable() { return anytype1; } @@ -189,8 +178,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype1 * @return mapWithUndeclaredPropertiesAnytype1 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getMapWithUndeclaredPropertiesAnytype1() { return mapWithUndeclaredPropertiesAnytype1; @@ -213,8 +201,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype2 * @return mapWithUndeclaredPropertiesAnytype2 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getMapWithUndeclaredPropertiesAnytype2() { return mapWithUndeclaredPropertiesAnytype2; @@ -245,8 +232,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype3 * @return mapWithUndeclaredPropertiesAnytype3 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getMapWithUndeclaredPropertiesAnytype3() { return mapWithUndeclaredPropertiesAnytype3; @@ -269,8 +255,7 @@ public class AdditionalPropertiesClass { * an object with no declared properties and no undeclared properties, hence it's an empty map. * @return emptyMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMPTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMPTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getEmptyMap() { return emptyMap; @@ -301,8 +286,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesString * @return mapWithUndeclaredPropertiesString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapWithUndeclaredPropertiesString() { return mapWithUndeclaredPropertiesString; @@ -315,7 +299,6 @@ public class AdditionalPropertiesClass { this.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ @@ -563,6 +546,5 @@ public class AdditionalPropertiesClass { .emptyMap(getEmptyMap()) .mapWithUndeclaredPropertiesString(getMapWithUndeclaredPropertiesString()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java index d1f3c98076f..8212867af52 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java @@ -50,15 +50,12 @@ import org.openapitools.client.ApiClient; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog"), }) - public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { } @@ -72,8 +69,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -96,8 +92,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { return color; @@ -110,7 +105,6 @@ public class Animal { this.color = color; } - /** * Return true if this Animal object is equal to o. */ @@ -263,6 +257,5 @@ static { .className(getClassName()) .color(getColor()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Apple.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Apple.java index 1c61171ebe6..bba92286551 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Apple.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Apple.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Apple { public static final String JSON_PROPERTY_CULTIVAR = "cultivar"; - @javax.annotation.Nullable - private String cultivar; + @javax.annotation.Nullable private String cultivar; public static final String JSON_PROPERTY_ORIGIN = "origin"; - @javax.annotation.Nullable - private String origin; + @javax.annotation.Nullable private String origin; public Apple() { } @@ -58,8 +56,7 @@ public class Apple { * Get cultivar * @return cultivar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CULTIVAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCultivar() { return cultivar; @@ -82,8 +79,7 @@ public class Apple { * Get origin * @return origin */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ORIGIN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOrigin() { return origin; @@ -96,7 +92,6 @@ public class Apple { this.origin = origin; } - /** * Return true if this apple object is equal to o. */ @@ -241,6 +236,5 @@ public class Apple { .cultivar(getCultivar()) .origin(getOrigin()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java index a34652b3c10..403f74dc81e 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AppleReq { public static final String JSON_PROPERTY_CULTIVAR = "cultivar"; - @javax.annotation.Nonnull - private String cultivar; + @javax.annotation.Nonnull private String cultivar; public static final String JSON_PROPERTY_MEALY = "mealy"; - @javax.annotation.Nullable - private Boolean mealy; + @javax.annotation.Nullable private Boolean mealy; public AppleReq() { } @@ -58,8 +56,7 @@ public class AppleReq { * Get cultivar * @return cultivar */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CULTIVAR) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getCultivar() { return cultivar; @@ -82,8 +79,7 @@ public class AppleReq { * Get mealy * @return mealy */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MEALY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MEALY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMealy() { return mealy; @@ -96,7 +92,6 @@ public class AppleReq { this.mealy = mealy; } - /** * Return true if this appleReq object is equal to o. */ @@ -241,6 +236,5 @@ public class AppleReq { .cultivar(getCultivar()) .mealy(getMealy()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 9028a95c7d4..bbe01b4cd18 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -41,8 +41,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -64,8 +63,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { return arrayArrayNumber; @@ -78,7 +76,6 @@ public class ArrayOfArrayOfNumberOnly { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ @@ -217,6 +214,5 @@ public class ArrayOfArrayOfNumberOnly { return new ArrayOfArrayOfNumberOnly.Builder() .arrayArrayNumber(getArrayArrayNumber()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 03e2f228771..645a3e7d711 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -41,8 +41,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -64,8 +63,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { return arrayNumber; @@ -78,7 +76,6 @@ public class ArrayOfNumberOnly { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ @@ -217,6 +214,5 @@ public class ArrayOfNumberOnly { return new ArrayOfNumberOnly.Builder() .arrayNumber(getArrayNumber()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayTest.java index 234361daf01..9c960d2198b 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -43,16 +43,13 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -74,8 +71,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { return arrayOfString; @@ -106,8 +102,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; @@ -138,8 +133,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { return arrayArrayOfModel; @@ -152,7 +146,6 @@ public class ArrayTest { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ @@ -323,6 +316,5 @@ public class ArrayTest { .arrayArrayOfInteger(getArrayArrayOfInteger()) .arrayArrayOfModel(getArrayArrayOfModel()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Banana.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Banana.java index 4292c2d0ea2..a15cffff2cc 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Banana.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Banana.java @@ -39,8 +39,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Banana { public static final String JSON_PROPERTY_LENGTH_CM = "lengthCm"; - @javax.annotation.Nullable - private BigDecimal lengthCm; + @javax.annotation.Nullable private BigDecimal lengthCm; public Banana() { } @@ -54,8 +53,7 @@ public class Banana { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LENGTH_CM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getLengthCm() { return lengthCm; @@ -68,7 +66,6 @@ public class Banana { this.lengthCm = lengthCm; } - /** * Return true if this banana object is equal to o. */ @@ -201,6 +198,5 @@ public class Banana { return new Banana.Builder() .lengthCm(getLengthCm()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java index 6756b7f9b3c..d96f1baed66 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java @@ -40,12 +40,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class BananaReq { public static final String JSON_PROPERTY_LENGTH_CM = "lengthCm"; - @javax.annotation.Nonnull - private BigDecimal lengthCm; + @javax.annotation.Nonnull private BigDecimal lengthCm; public static final String JSON_PROPERTY_SWEET = "sweet"; - @javax.annotation.Nullable - private Boolean sweet; + @javax.annotation.Nullable private Boolean sweet; public BananaReq() { } @@ -59,8 +57,7 @@ public class BananaReq { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_LENGTH_CM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getLengthCm() { return lengthCm; @@ -83,8 +80,7 @@ public class BananaReq { * Get sweet * @return sweet */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SWEET) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SWEET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getSweet() { return sweet; @@ -97,7 +93,6 @@ public class BananaReq { this.sweet = sweet; } - /** * Return true if this bananaReq object is equal to o. */ @@ -242,6 +237,5 @@ public class BananaReq { .lengthCm(getLengthCm()) .sweet(getSweet()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java index 4828c1cae62..b744298bd44 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class BasquePig { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public BasquePig() { } @@ -53,8 +52,7 @@ public class BasquePig { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -67,7 +65,6 @@ public class BasquePig { this.className = className; } - /** * Return true if this BasquePig object is equal to o. */ @@ -200,6 +197,5 @@ public class BasquePig { return new BasquePig.Builder() .className(getClassName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Capitalization.java index 99cbc682ed7..37d4dd498eb 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Capitalization.java @@ -43,28 +43,22 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -78,8 +72,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { return smallCamel; @@ -102,8 +95,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { return capitalCamel; @@ -126,8 +118,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { return smallSnake; @@ -150,8 +141,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { return capitalSnake; @@ -174,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { return scAETHFlowPoints; @@ -198,8 +187,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { return ATT_NAME; @@ -212,7 +200,6 @@ public class Capitalization { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ @@ -405,6 +392,5 @@ public class Capitalization { .scAETHFlowPoints(getScAETHFlowPoints()) .ATT_NAME(getATTNAME()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Cat.java index 591afb1f7d7..f326f16d6e6 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Cat.java @@ -47,11 +47,9 @@ import org.openapitools.client.ApiClient; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { } @@ -65,8 +63,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { return declawed; @@ -79,7 +76,6 @@ public class Cat extends Animal { this.declawed = declawed; } - @Override public Cat className(@javax.annotation.Nonnull String className) { this.setClassName(className); @@ -256,6 +252,5 @@ static { .color(getColor()) .declawed(getDeclawed()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java index 7a2120d0b06..49a1737d11b 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -58,8 +56,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +79,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -96,7 +92,6 @@ public class Category { this.name = name; } - /** * Return true if this Category object is equal to o. */ @@ -241,6 +236,5 @@ public class Category { .id(getId()) .name(getName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java index 160a533e97c..4d4165db9ae 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java @@ -49,15 +49,13 @@ import org.openapitools.client.ApiClient; allowSetters = true // allows the pet_type to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "pet_type", visible = true) - public class ChildCat extends ParentPet { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; + public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; - @javax.annotation.Nullable - private String petType = "ChildCat"; + @javax.annotation.Nullable private String petType = "ChildCat"; public ChildCat() { } @@ -71,8 +69,7 @@ public class ChildCat extends ParentPet { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -103,8 +100,7 @@ public class ChildCat extends ParentPet { * Get petType * @return petType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPetType() { return petType; @@ -121,7 +117,6 @@ public class ChildCat extends ParentPet { this.petType = petType; } - /** * Return true if this ChildCat object is equal to o. */ @@ -276,6 +271,5 @@ static { .petType(getPetType()) .name(getName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ClassModel.java index 46bf4f851a9..51817185704 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ClassModel.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -53,8 +52,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { return propertyClass; @@ -67,7 +65,6 @@ public class ClassModel { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ @@ -200,6 +197,5 @@ public class ClassModel { return new ClassModel.Builder() .propertyClass(getPropertyClass()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Client.java index 2228e599891..3452c43540e 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Client.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -53,8 +52,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { return client; @@ -67,7 +65,6 @@ public class Client { this.client = client; } - /** * Return true if this Client object is equal to o. */ @@ -200,6 +197,5 @@ public class Client { return new Client.Builder() .client(getClient()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index c48a15a03b8..a1f77f52b1d 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ComplexQuadrilateral { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public ComplexQuadrilateral() { } @@ -58,8 +56,7 @@ public class ComplexQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +79,7 @@ public class ComplexQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -96,7 +92,6 @@ public class ComplexQuadrilateral { this.quadrilateralType = quadrilateralType; } - /** * Return true if this ComplexQuadrilateral object is equal to o. */ @@ -241,6 +236,5 @@ public class ComplexQuadrilateral { .shapeType(getShapeType()) .quadrilateralType(getQuadrilateralType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java index 8051e05c23b..ab0382e9ec0 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class DanishPig { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public DanishPig() { } @@ -53,8 +52,7 @@ public class DanishPig { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -67,7 +65,6 @@ public class DanishPig { this.className = className; } - /** * Return true if this DanishPig object is equal to o. */ @@ -200,6 +197,5 @@ public class DanishPig { return new DanishPig.Builder() .className(getClassName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DeprecatedObject.java index 7a17c8f3d89..1fd5f513a56 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -40,8 +40,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -55,8 +54,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -69,7 +67,6 @@ public class DeprecatedObject { this.name = name; } - /** * Return true if this DeprecatedObject object is equal to o. */ @@ -202,6 +199,5 @@ public class DeprecatedObject { return new DeprecatedObject.Builder() .name(getName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Dog.java index d03f6a1dda8..b095c2c9b50 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Dog.java @@ -46,11 +46,9 @@ import org.openapitools.client.ApiClient; allowSetters = true // allows the className to be set during deserialization ) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true) - public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { } @@ -64,8 +62,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { return breed; @@ -78,7 +75,6 @@ public class Dog extends Animal { this.breed = breed; } - @Override public Dog className(@javax.annotation.Nonnull String className) { this.setClassName(className); @@ -255,6 +251,5 @@ static { .color(getColor()) .breed(getBreed()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Drawing.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Drawing.java index d259ea563f8..bc3b50690d7 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Drawing.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Drawing.java @@ -57,19 +57,16 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Drawing extends HashMap { public static final String JSON_PROPERTY_MAIN_SHAPE = "mainShape"; - @javax.annotation.Nullable - private Shape mainShape; + @javax.annotation.Nullable private Shape mainShape; public static final String JSON_PROPERTY_SHAPE_OR_NULL = "shapeOrNull"; - @javax.annotation.Nullable - private ShapeOrNull shapeOrNull; + @javax.annotation.Nullable private ShapeOrNull shapeOrNull; public static final String JSON_PROPERTY_NULLABLE_SHAPE = "nullableShape"; private JsonNullable nullableShape = JsonNullable.undefined(); public static final String JSON_PROPERTY_SHAPES = "shapes"; - @javax.annotation.Nullable - private List shapes = new ArrayList<>(); + @javax.annotation.Nullable private List shapes = new ArrayList<>(); public Drawing() { } @@ -83,8 +80,7 @@ public class Drawing extends HashMap { * Get mainShape * @return mainShape */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Shape getMainShape() { return mainShape; @@ -107,8 +103,7 @@ public class Drawing extends HashMap { * Get shapeOrNull * @return shapeOrNull */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ShapeOrNull getShapeOrNull() { return shapeOrNull; @@ -131,15 +126,13 @@ public class Drawing extends HashMap { * Get nullableShape * @return nullableShape */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public NullableShape getNullableShape() { return nullableShape.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } @@ -171,8 +164,7 @@ public class Drawing extends HashMap { * Get shapes * @return shapes */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHAPES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHAPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getShapes() { return shapes; @@ -228,7 +220,6 @@ public class Drawing extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this Drawing object is equal to o. */ @@ -421,6 +412,5 @@ public class Drawing extends HashMap { .nullableShape(getNullableShape()) .shapes(getShapes()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumArrays.java index 91d031f2d38..21dbe399f2e 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -76,8 +76,7 @@ public class EnumArrays { } public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -115,8 +114,7 @@ public class EnumArrays { } public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -130,8 +128,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { return justSymbol; @@ -162,8 +159,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { return arrayEnum; @@ -176,7 +172,6 @@ public class EnumArrays { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ @@ -325,6 +320,5 @@ public class EnumArrays { .justSymbol(getJustSymbol()) .arrayEnum(getArrayEnum()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java index a5b629557a1..36976df39d1 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java @@ -91,8 +91,7 @@ public class EnumTest { } public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -132,8 +131,7 @@ public class EnumTest { } public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -171,8 +169,7 @@ public class EnumTest { } public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumIntegerOnly @@ -210,8 +207,7 @@ public class EnumTest { } public static final String JSON_PROPERTY_ENUM_INTEGER_ONLY = "enum_integer_only"; - @javax.annotation.Nullable - private EnumIntegerOnlyEnum enumIntegerOnly; + @javax.annotation.Nullable private EnumIntegerOnlyEnum enumIntegerOnly; /** * Gets or Sets enumNumber @@ -249,23 +245,19 @@ public class EnumTest { } public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -279,8 +271,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { return enumString; @@ -303,8 +294,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; @@ -327,8 +317,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { return enumInteger; @@ -351,8 +340,7 @@ public class EnumTest { * Get enumIntegerOnly * @return enumIntegerOnly */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerOnlyEnum getEnumIntegerOnly() { return enumIntegerOnly; @@ -375,8 +363,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { return enumNumber; @@ -399,15 +386,13 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); } @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -431,8 +416,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { return outerEnumInteger; @@ -455,8 +439,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { return outerEnumDefaultValue; @@ -479,8 +462,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { return outerEnumIntegerDefaultValue; @@ -493,7 +475,6 @@ public class EnumTest { this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; } - /** * Return true if this Enum_Test object is equal to o. */ @@ -737,6 +718,5 @@ public class EnumTest { .outerEnumDefaultValue(getOuterEnumDefaultValue()) .outerEnumIntegerDefaultValue(getOuterEnumIntegerDefaultValue()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index 2033162fd12..ed6f0752418 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class EquilateralTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public EquilateralTriangle() { } @@ -58,8 +56,7 @@ public class EquilateralTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +79,7 @@ public class EquilateralTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +92,6 @@ public class EquilateralTriangle { this.triangleType = triangleType; } - /** * Return true if this EquilateralTriangle object is equal to o. */ @@ -241,6 +236,5 @@ public class EquilateralTriangle { .shapeType(getShapeType()) .triangleType(getTriangleType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 24888be137f..45fdde0c174 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -42,12 +42,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap = new HashMap<>(); + @javax.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -61,8 +59,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { return someId; @@ -93,8 +90,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { return someMap; @@ -107,7 +103,6 @@ public class FakeBigDecimalMap200Response { this.someMap = someMap; } - /** * Return true if this fakeBigDecimalMap_200_response object is equal to o. */ @@ -256,6 +251,5 @@ public class FakeBigDecimalMap200Response { .someId(getSomeId()) .someMap(getSomeMap()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 5a0e4037072..6b26e44db35 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -42,12 +42,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -61,8 +59,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { return _file; @@ -93,8 +90,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { return files; @@ -107,7 +103,6 @@ public class FileSchemaTestClass { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ @@ -257,6 +252,5 @@ public class FileSchemaTestClass { ._file(getFile()) .files(getFiles()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Foo.java index baf2ad20197..637e1951fed 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Foo.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -53,8 +52,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -67,7 +65,6 @@ public class Foo { this.bar = bar; } - /** * Return true if this Foo object is equal to o. */ @@ -200,6 +197,5 @@ public class Foo { return new Foo.Builder() .bar(getBar()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 63ff6395a1e..593283594d1 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -39,8 +39,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -54,8 +53,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { return string; @@ -68,7 +66,6 @@ public class FooGetDefaultResponse { this.string = string; } - /** * Return true if this _foo_get_default_response object is equal to o. */ @@ -201,6 +198,5 @@ public class FooGetDefaultResponse { return new FooGetDefaultResponse.Builder() .string(getString()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java index 3bb358c894a..3f765abfd27 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java @@ -58,68 +58,52 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -135,8 +119,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { return integer; @@ -161,8 +144,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { return int32; @@ -185,8 +167,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { return int64; @@ -211,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { return number; @@ -237,8 +217,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { return _float; @@ -263,8 +242,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { return _double; @@ -287,8 +265,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { return decimal; @@ -311,8 +288,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { return string; @@ -335,8 +311,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { return _byte; @@ -359,8 +334,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { return binary; @@ -383,8 +357,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { return date; @@ -407,8 +380,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { return dateTime; @@ -431,8 +403,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { return uuid; @@ -455,8 +426,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { return password; @@ -479,8 +449,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { return patternWithDigits; @@ -503,8 +472,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { return patternWithDigitsAndDelimiter; @@ -517,7 +485,6 @@ public class FormatTest { this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; } - /** * Return true if this format_test object is equal to o. */ @@ -830,6 +797,5 @@ public class FormatTest { .patternWithDigits(getPatternWithDigits()) .patternWithDigitsAndDelimiter(getPatternWithDigitsAndDelimiter()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Fruit.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Fruit.java index 657dfc19c85..6acf58194f9 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Fruit.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Fruit.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Fruit.FruitDeserializer.class) @JsonSerialize(using = Fruit.FruitSerializer.class) public class Fruit extends AbstractOpenApiSchema { @@ -166,7 +167,6 @@ public class Fruit extends AbstractOpenApiSchema { public Fruit() { super("oneOf", Boolean.FALSE); } - public Fruit(Apple o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FruitReq.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FruitReq.java index 66a63ec9eb0..cee3506218e 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FruitReq.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FruitReq.java @@ -55,6 +55,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = FruitReq.FruitReqDeserializer.class) @JsonSerialize(using = FruitReq.FruitReqSerializer.class) public class FruitReq extends AbstractOpenApiSchema { @@ -166,7 +167,6 @@ public class FruitReq extends AbstractOpenApiSchema { public FruitReq() { super("oneOf", Boolean.FALSE); } - public FruitReq(AppleReq o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GmFruit.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GmFruit.java index 6b3ba6739e3..6b4dd62906d 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GmFruit.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GmFruit.java @@ -52,6 +52,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using=GmFruit.GmFruitDeserializer.class) @JsonSerialize(using = GmFruit.GmFruitSerializer.class) public class GmFruit extends AbstractOpenApiSchema { @@ -126,7 +127,6 @@ public class GmFruit extends AbstractOpenApiSchema { public GmFruit() { super("anyOf", Boolean.FALSE); } - public GmFruit(Apple o) { super("anyOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index 4d5c1dcadf0..9cc89a3904f 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -49,11 +49,9 @@ import org.openapitools.client.ApiClient; @JsonSubTypes.Type(value = ChildCat.class, name = "ChildCat"), @JsonSubTypes.Type(value = ParentPet.class, name = "ParentPet"), }) - public class GrandparentAnimal { public static final String JSON_PROPERTY_PET_TYPE = "pet_type"; - @javax.annotation.Nonnull - private String petType; + @javax.annotation.Nonnull private String petType; public GrandparentAnimal() { } @@ -67,8 +65,7 @@ public class GrandparentAnimal { * Get petType * @return petType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PET_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPetType() { return petType; @@ -81,7 +78,6 @@ public class GrandparentAnimal { this.petType = petType; } - /** * Return true if this GrandparentAnimal object is equal to o. */ @@ -222,6 +218,5 @@ static { return new GrandparentAnimal.Builder() .petType(getPetType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 26ce80f3fc9..a03c6200104 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -63,8 +61,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -77,8 +74,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { return foo; @@ -86,7 +82,6 @@ public class HasOnlyReadOnly { - /** * Return true if this hasOnlyReadOnly object is equal to o. */ @@ -231,6 +226,5 @@ public class HasOnlyReadOnly { .bar(getBar()) .foo(getFoo()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 128a16915fb..d7c26866b1a 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -56,15 +56,13 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); } @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -78,7 +76,6 @@ public class HealthCheckResult { this.nullableMessage = JsonNullable.of(nullableMessage); } - /** * Return true if this HealthCheckResult object is equal to o. */ @@ -226,6 +223,5 @@ public class HealthCheckResult { return new HealthCheckResult.Builder() .nullableMessage(getNullableMessage()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index 640a0091b9a..d4945b13934 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class IsoscelesTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public IsoscelesTriangle() { } @@ -58,8 +56,7 @@ public class IsoscelesTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +79,7 @@ public class IsoscelesTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +92,6 @@ public class IsoscelesTriangle { this.triangleType = triangleType; } - /** * Return true if this IsoscelesTriangle object is equal to o. */ @@ -241,6 +236,5 @@ public class IsoscelesTriangle { .shapeType(getShapeType()) .triangleType(getTriangleType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Mammal.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Mammal.java index 727d75d5809..dd856b4d7c3 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Mammal.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Mammal.java @@ -58,6 +58,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Mammal.MammalDeserializer.class) @JsonSerialize(using = Mammal.MammalSerializer.class) public class Mammal extends AbstractOpenApiSchema { @@ -195,7 +196,6 @@ public class Mammal extends AbstractOpenApiSchema { public Mammal() { super("oneOf", Boolean.FALSE); } - public Mammal(Pig o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MapTest.java index e8ab4903c9f..2358973a901 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MapTest.java @@ -43,8 +43,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -82,16 +81,13 @@ public class MapTest { } public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -113,8 +109,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { return mapMapOfString; @@ -145,8 +140,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { return mapOfEnumString; @@ -177,8 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { return directMap; @@ -209,8 +202,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { return indirectMap; @@ -223,7 +215,6 @@ public class MapTest { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ @@ -408,6 +399,5 @@ public class MapTest { .directMap(getDirectMap()) .indirectMap(getIndirectMap()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 9b8ea43fb25..8cd1a84ab47 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -45,16 +45,13 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -68,8 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { return uuid; @@ -92,8 +88,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { return dateTime; @@ -124,8 +119,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { return map; @@ -138,7 +132,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ @@ -300,6 +293,5 @@ public class MixedPropertiesAndAdditionalPropertiesClass { .dateTime(getDateTime()) .map(getMap()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Model200Response.java index a587abd842b..8e773f717d5 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Model200Response.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -58,8 +56,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { return name; @@ -82,8 +79,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { return propertyClass; @@ -96,7 +92,6 @@ public class Model200Response { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ @@ -241,6 +236,5 @@ public class Model200Response { .name(getName()) .propertyClass(getPropertyClass()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelApiResponse.java index f1a305ac813..619e8414171 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -40,16 +40,13 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -63,8 +60,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { return code; @@ -87,8 +83,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { return type; @@ -111,8 +106,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { return message; @@ -125,7 +119,6 @@ public class ModelApiResponse { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ @@ -282,6 +275,5 @@ public class ModelApiResponse { .type(getType()) .message(getMessage()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelFile.java index 2cbb873e1bb..dccbf1c0d16 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelFile.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -53,8 +52,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { return sourceURI; @@ -67,7 +65,6 @@ public class ModelFile { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ @@ -200,6 +197,5 @@ public class ModelFile { return new ModelFile.Builder() .sourceURI(getSourceURI()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelList.java index 688bd3a492b..b16ce636508 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelList.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -53,8 +52,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { return _123list; @@ -67,7 +65,6 @@ public class ModelList { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ @@ -200,6 +197,5 @@ public class ModelList { return new ModelList.Builder() ._123list(get123list()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelReturn.java index 8afe2aa291c..becb2bb4ef8 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -53,8 +52,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { return _return; @@ -67,7 +65,6 @@ public class ModelReturn { this._return = _return; } - /** * Return true if this Return object is equal to o. */ @@ -200,6 +197,5 @@ public class ModelReturn { return new ModelReturn.Builder() ._return(getReturn()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java index 254eb93783d..9a373d817f7 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java @@ -41,20 +41,16 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -78,8 +74,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { return name; @@ -97,8 +92,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { return snakeCase; @@ -116,8 +110,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { return property; @@ -135,8 +128,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { return _123number; @@ -144,7 +136,6 @@ public class Name { - /** * Return true if this Name object is equal to o. */ @@ -313,6 +304,5 @@ public class Name { .property(getProperty()) ._123number(get123number()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableClass.java index 9cc1aec009d..5a192800072 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableClass.java @@ -88,8 +88,7 @@ public class NullableClass extends HashMap { private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; private JsonNullable> objectNullableProp = JsonNullable.>undefined(); @@ -98,8 +97,7 @@ public class NullableClass extends HashMap { private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { } @@ -113,15 +111,13 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); } @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -145,15 +141,13 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); } @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -177,15 +171,13 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); } @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -209,15 +201,13 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); } @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -241,15 +231,13 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -273,15 +261,13 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -317,15 +303,13 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -361,15 +345,13 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -401,8 +383,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { return arrayItemsNullable; @@ -437,15 +418,13 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -481,15 +460,13 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -521,8 +498,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { return objectItemsNullable; @@ -578,7 +554,6 @@ public class NullableClass extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this NullableClass object is equal to o. */ @@ -922,6 +897,5 @@ public class NullableClass extends HashMap { .objectAndItemsNullableProp(getObjectAndItemsNullableProp()) .objectItemsNullable(getObjectItemsNullable()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableShape.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableShape.java index 69337631f59..a3e283dbe78 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableShape.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NullableShape.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = NullableShape.NullableShapeDeserializer.class) @JsonSerialize(using = NullableShape.NullableShapeSerializer.class) public class NullableShape extends AbstractOpenApiSchema { @@ -170,7 +171,6 @@ public class NullableShape extends AbstractOpenApiSchema { public NullableShape() { super("oneOf", Boolean.TRUE); } - public NullableShape(Quadrilateral o) { super("oneOf", Boolean.TRUE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NumberOnly.java index 311bddd0737..18dfb5cc03c 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -39,8 +39,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -54,8 +53,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { return justNumber; @@ -68,7 +66,6 @@ public class NumberOnly { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ @@ -201,6 +198,5 @@ public class NumberOnly { return new NumberOnly.Builder() .justNumber(getJustNumber()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 9f22ac33b40..c572f5ff53c 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -45,20 +45,16 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -72,8 +68,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { return uuid; @@ -98,8 +93,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { return id; @@ -124,8 +118,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { return deprecatedRef; @@ -158,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { return bars; @@ -172,7 +164,6 @@ public class ObjectWithDeprecatedFields { this.bars = bars; } - /** * Return true if this ObjectWithDeprecatedFields object is equal to o. */ @@ -345,6 +336,5 @@ public class ObjectWithDeprecatedFields { .deprecatedRef(getDeprecatedRef()) .bars(getBars()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Order.java index 3ba6eeb6d87..1bfad7397ac 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Order.java @@ -44,20 +44,16 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -97,12 +93,10 @@ public class Order { } public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -116,8 +110,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -140,8 +133,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { return petId; @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { return quantity; @@ -188,8 +179,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { return shipDate; @@ -212,8 +202,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { return complete; @@ -250,7 +238,6 @@ public class Order { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ @@ -443,6 +430,5 @@ public class Order { .status(getStatus()) .complete(getComplete()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/OuterComposite.java index da51395e38f..6746f173d33 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -41,16 +41,13 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -64,8 +61,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { return myNumber; @@ -88,8 +84,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { return myString; @@ -112,8 +107,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { return myBoolean; @@ -126,7 +120,6 @@ public class OuterComposite { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ @@ -283,6 +276,5 @@ public class OuterComposite { .myString(getMyString()) .myBoolean(getMyBoolean()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ParentPet.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ParentPet.java index 93528aa7d7d..09731f8a413 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ParentPet.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ParentPet.java @@ -48,11 +48,9 @@ import org.openapitools.client.ApiClient; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildCat.class, name = "ChildCat"), }) - public class ParentPet extends GrandparentAnimal { public ParentPet() { } - @Override public ParentPet petType(@javax.annotation.Nonnull String petType) { this.setPetType(petType); @@ -200,6 +198,5 @@ static { return new ParentPet.Builder() .petType(getPetType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java index d5b671856b5..3bb185d8103 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java @@ -47,24 +47,19 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -104,8 +99,7 @@ public class Pet { } public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { return category; @@ -167,8 +159,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { return name; @@ -199,8 +190,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { return photoUrls; @@ -231,8 +221,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { return tags; @@ -255,8 +244,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { return status; @@ -269,7 +257,6 @@ public class Pet { this.status = status; } - /** * Return true if this Pet object is equal to o. */ @@ -471,6 +458,5 @@ public class Pet { .tags(getTags()) .status(getStatus()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pig.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pig.java index 4ee5c3fc43c..8ef668ef4b3 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pig.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pig.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Pig.PigDeserializer.class) @JsonSerialize(using = Pig.PigSerializer.class) public class Pig extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Pig extends AbstractOpenApiSchema { public Pig() { super("oneOf", Boolean.FALSE); } - public Pig(BasquePig o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Quadrilateral.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Quadrilateral.java index b2a851b351f..8d1b4bf9f31 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Quadrilateral.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Quadrilateral.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Quadrilateral.QuadrilateralDeserializer.class) @JsonSerialize(using = Quadrilateral.QuadrilateralSerializer.class) public class Quadrilateral extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Quadrilateral extends AbstractOpenApiSchema { public Quadrilateral() { super("oneOf", Boolean.FALSE); } - public Quadrilateral(ComplexQuadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index ca89b2c6f14..bcef774a721 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class QuadrilateralInterface { public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public QuadrilateralInterface() { } @@ -53,8 +52,7 @@ public class QuadrilateralInterface { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -67,7 +65,6 @@ public class QuadrilateralInterface { this.quadrilateralType = quadrilateralType; } - /** * Return true if this QuadrilateralInterface object is equal to o. */ @@ -200,6 +197,5 @@ public class QuadrilateralInterface { return new QuadrilateralInterface.Builder() .quadrilateralType(getQuadrilateralType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index c3c0fff1d5c..810aa54dcdd 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -61,8 +59,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { return bar; @@ -80,8 +77,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { return baz; @@ -94,7 +90,6 @@ public class ReadOnlyFirst { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ @@ -239,6 +234,5 @@ public class ReadOnlyFirst { .bar(getBar()) .baz(getBaz()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index d72f51aecf7..3d844361375 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ScaleneTriangle { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_TRIANGLE_TYPE = "triangleType"; - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public ScaleneTriangle() { } @@ -58,8 +56,7 @@ public class ScaleneTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +79,7 @@ public class ScaleneTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getTriangleType() { return triangleType; @@ -96,7 +92,6 @@ public class ScaleneTriangle { this.triangleType = triangleType; } - /** * Return true if this ScaleneTriangle object is equal to o. */ @@ -241,6 +236,5 @@ public class ScaleneTriangle { .shapeType(getShapeType()) .triangleType(getTriangleType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Shape.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Shape.java index 6a44b5a721e..682fc0af0ad 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Shape.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Shape.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = Shape.ShapeDeserializer.class) @JsonSerialize(using = Shape.ShapeSerializer.class) public class Shape extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class Shape extends AbstractOpenApiSchema { public Shape() { super("oneOf", Boolean.FALSE); } - public Shape(Quadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java index 41fcfc60069..5dd29ac75b4 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -38,8 +38,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ShapeInterface { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public ShapeInterface() { } @@ -53,8 +52,7 @@ public class ShapeInterface { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -67,7 +65,6 @@ public class ShapeInterface { this.shapeType = shapeType; } - /** * Return true if this ShapeInterface object is equal to o. */ @@ -200,6 +197,5 @@ public class ShapeInterface { return new ShapeInterface.Builder() .shapeType(getShapeType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeOrNull.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeOrNull.java index 07f9a1bd3aa..c8f2c76315d 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeOrNull.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeOrNull.java @@ -57,6 +57,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonDeserialize(using = ShapeOrNull.ShapeOrNullDeserializer.class) @JsonSerialize(using = ShapeOrNull.ShapeOrNullSerializer.class) public class ShapeOrNull extends AbstractOpenApiSchema { @@ -168,7 +169,6 @@ public class ShapeOrNull extends AbstractOpenApiSchema { public ShapeOrNull() { super("oneOf", Boolean.FALSE); } - public ShapeOrNull(Quadrilateral o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index 98b7071d41f..a3b2f736683 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class SimpleQuadrilateral { public static final String JSON_PROPERTY_SHAPE_TYPE = "shapeType"; - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String JSON_PROPERTY_QUADRILATERAL_TYPE = "quadrilateralType"; - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public SimpleQuadrilateral() { } @@ -58,8 +56,7 @@ public class SimpleQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getShapeType() { return shapeType; @@ -82,8 +79,7 @@ public class SimpleQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getQuadrilateralType() { return quadrilateralType; @@ -96,7 +92,6 @@ public class SimpleQuadrilateral { this.quadrilateralType = quadrilateralType; } - /** * Return true if this SimpleQuadrilateral object is equal to o. */ @@ -241,6 +236,5 @@ public class SimpleQuadrilateral { .shapeType(getShapeType()) .quadrilateralType(getQuadrilateralType()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SpecialModelName.java index 12a839c0a15..1ade1cdd684 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public static final String JSON_PROPERTY_SPECIAL_MODEL_NAME = "_special_model.name_"; - @javax.annotation.Nullable - private String specialModelName; + @javax.annotation.Nullable private String specialModelName; public SpecialModelName() { } @@ -58,8 +56,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { return $specialPropertyName; @@ -82,8 +79,7 @@ public class SpecialModelName { * Get specialModelName * @return specialModelName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSpecialModelName() { return specialModelName; @@ -96,7 +92,6 @@ public class SpecialModelName { this.specialModelName = specialModelName; } - /** * Return true if this _special_model.name_ object is equal to o. */ @@ -241,6 +236,5 @@ public class SpecialModelName { .$specialPropertyName(get$SpecialPropertyName()) .specialModelName(getSpecialModelName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Tag.java index 5f7135324b9..05567b02ad6 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Tag.java @@ -39,12 +39,10 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -58,8 +56,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -82,8 +79,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { return name; @@ -96,7 +92,6 @@ public class Tag { this.name = name; } - /** * Return true if this Tag object is equal to o. */ @@ -241,6 +236,5 @@ public class Tag { .id(getId()) .name(getName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 0fd01ccbd17..e520fc71af1 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -44,8 +44,7 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { } @@ -59,8 +58,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap objectWithNoDeclaredPropsNullable = JsonNullable.undefined(); @@ -109,8 +100,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { return id; @@ -133,8 +123,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { return username; @@ -157,8 +146,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { return firstName; @@ -181,8 +169,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { return lastName; @@ -205,8 +192,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { return email; @@ -229,8 +215,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { return password; @@ -253,8 +238,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { return phone; @@ -277,8 +261,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { return userStatus; @@ -301,8 +284,7 @@ public class User { * test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. * @return objectWithNoDeclaredProps */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getObjectWithNoDeclaredProps() { return objectWithNoDeclaredProps; @@ -325,15 +307,13 @@ public class User { * test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. * @return objectWithNoDeclaredPropsNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getObjectWithNoDeclaredPropsNullable() { return objectWithNoDeclaredPropsNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } @@ -357,15 +337,13 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 * @return anyTypeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnyTypeProp() { return anyTypeProp.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } @@ -389,15 +367,13 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. * @return anyTypePropNullable */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Object getAnyTypePropNullable() { return anyTypePropNullable.orElse(null); } @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } @@ -411,7 +387,6 @@ public class User { this.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); } - /** * Return true if this User object is equal to o. */ @@ -699,6 +674,5 @@ public class User { .anyTypeProp(getAnyTypeProp()) .anyTypePropNullable(getAnyTypePropNullable()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java index be60877fab8..8bd41cd9531 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java @@ -40,16 +40,13 @@ import org.openapitools.client.ApiClient; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Whale { public static final String JSON_PROPERTY_HAS_BALEEN = "hasBaleen"; - @javax.annotation.Nullable - private Boolean hasBaleen; + @javax.annotation.Nullable private Boolean hasBaleen; public static final String JSON_PROPERTY_HAS_TEETH = "hasTeeth"; - @javax.annotation.Nullable - private Boolean hasTeeth; + @javax.annotation.Nullable private Boolean hasTeeth; public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Whale() { } @@ -63,8 +60,7 @@ public class Whale { * Get hasBaleen * @return hasBaleen */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_BALEEN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HAS_BALEEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getHasBaleen() { return hasBaleen; @@ -87,8 +83,7 @@ public class Whale { * Get hasTeeth * @return hasTeeth */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_TEETH) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_HAS_TEETH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getHasTeeth() { return hasTeeth; @@ -111,8 +106,7 @@ public class Whale { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -125,7 +119,6 @@ public class Whale { this.className = className; } - /** * Return true if this whale object is equal to o. */ @@ -282,6 +275,5 @@ public class Whale { .hasTeeth(getHasTeeth()) .className(getClassName()); } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java index 9e1fbf95636..ebe6280cee2 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java @@ -82,12 +82,10 @@ public class Zebra extends HashMap { } public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private TypeEnum type; + @javax.annotation.Nullable private TypeEnum type; public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Zebra() { } @@ -101,8 +99,7 @@ public class Zebra extends HashMap { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { return type; @@ -125,8 +122,7 @@ public class Zebra extends HashMap { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { return className; @@ -182,7 +178,6 @@ public class Zebra extends HashMap { } return this.additionalProperties.get(key); } - /** * Return true if this zebra object is equal to o. */ @@ -331,6 +326,5 @@ public class Zebra extends HashMap { .type(getType()) .className(getClassName()); } - } diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AllOfSimpleModel.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AllOfSimpleModel.java index 3fbafc4845b..7c5f36ba0f2 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AllOfSimpleModel.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AllOfSimpleModel.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * AllOfSimpleModel */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfSimpleModel { public static final String SERIALIZED_NAME_ARRAY_OF_STRINGS = "arrayOfStrings"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRINGS) - @javax.annotation.Nonnull - private List arrayOfStrings = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayOfStrings = new ArrayList<>(); public AllOfSimpleModel() { } @@ -77,8 +77,7 @@ public class AllOfSimpleModel { * Get arrayOfStrings * @return arrayOfStrings */ - @javax.annotation.Nonnull - public List getArrayOfStrings() { + @javax.annotation.Nonnull public List getArrayOfStrings() { return arrayOfStrings; } @@ -131,7 +130,6 @@ public class AllOfSimpleModel { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Animal.java index e57747b134a..92f2b5ed6a2 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Animal.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { this.className = this.getClass().getSimpleName(); @@ -73,8 +72,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -92,8 +90,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -146,7 +143,6 @@ public class Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AnyTypeTest.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AnyTypeTest.java index 0bc12f3f4f3..042b1d90e8b 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AnyTypeTest.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AnyTypeTest.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * AnyTypeTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AnyTypeTest { public static final String SERIALIZED_NAME_ANY_TYPE_PROPERTY = "any_type_property"; @SerializedName(SERIALIZED_NAME_ANY_TYPE_PROPERTY) - @javax.annotation.Nullable - private Object anyTypeProperty = null; + @javax.annotation.Nullable private Object anyTypeProperty = null; public static final String SERIALIZED_NAME_ARRAY_PROP = "array_prop"; @SerializedName(SERIALIZED_NAME_ARRAY_PROP) - @javax.annotation.Nullable - private List arrayProp = new ArrayList<>(); + @javax.annotation.Nullable private List arrayProp = new ArrayList<>(); public static final String SERIALIZED_NAME_REF_ARRAY_PREFIX_ITEMS = "ref_array_prefix_items"; @SerializedName(SERIALIZED_NAME_REF_ARRAY_PREFIX_ITEMS) - @javax.annotation.Nullable - private List refArrayPrefixItems = new ArrayList<>(); + @javax.annotation.Nullable private List refArrayPrefixItems = new ArrayList<>(); public AnyTypeTest() { } @@ -80,8 +78,7 @@ public class AnyTypeTest { * Get anyTypeProperty * @return anyTypeProperty */ - @javax.annotation.Nullable - public Object getAnyTypeProperty() { + @javax.annotation.Nullable public Object getAnyTypeProperty() { return anyTypeProperty; } @@ -107,8 +104,7 @@ public class AnyTypeTest { * test array in 3.1 spec * @return arrayProp */ - @javax.annotation.Nullable - public List getArrayProp() { + @javax.annotation.Nullable public List getArrayProp() { return arrayProp; } @@ -134,8 +130,7 @@ public class AnyTypeTest { * An item that was added to the queue. * @return refArrayPrefixItems */ - @javax.annotation.Nullable - public List getRefArrayPrefixItems() { + @javax.annotation.Nullable public List getRefArrayPrefixItems() { return refArrayPrefixItems; } @@ -188,7 +183,6 @@ public class AnyTypeTest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ArrayOfSameRef.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ArrayOfSameRef.java index 4ca37475e25..390155951ca 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ArrayOfSameRef.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ArrayOfSameRef.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * ArrayOfSameRef */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfSameRef { public static final String SERIALIZED_NAME_ARRAY_FOO_ONE = "arrayFooOne"; @SerializedName(SERIALIZED_NAME_ARRAY_FOO_ONE) - @javax.annotation.Nullable - private List arrayFooOne = new ArrayList<>(); + @javax.annotation.Nullable private List arrayFooOne = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_FOO_TWO = "arrayFooTwo"; @SerializedName(SERIALIZED_NAME_ARRAY_FOO_TWO) - @javax.annotation.Nullable - private List arrayFooTwo = new ArrayList<>(); + @javax.annotation.Nullable private List arrayFooTwo = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_FOO_THREE = "arrayFooThree"; @SerializedName(SERIALIZED_NAME_ARRAY_FOO_THREE) - @javax.annotation.Nullable - private List arrayFooThree = new ArrayList<>(); + @javax.annotation.Nullable private List arrayFooThree = new ArrayList<>(); public ArrayOfSameRef() { } @@ -88,8 +86,7 @@ public class ArrayOfSameRef { * Get arrayFooOne * @return arrayFooOne */ - @javax.annotation.Nullable - public List getArrayFooOne() { + @javax.annotation.Nullable public List getArrayFooOne() { return arrayFooOne; } @@ -115,8 +112,7 @@ public class ArrayOfSameRef { * Get arrayFooTwo * @return arrayFooTwo */ - @javax.annotation.Nullable - public List getArrayFooTwo() { + @javax.annotation.Nullable public List getArrayFooTwo() { return arrayFooTwo; } @@ -142,8 +138,7 @@ public class ArrayOfSameRef { * Get arrayFooThree * @return arrayFooThree */ - @javax.annotation.Nullable - public List getArrayFooThree() { + @javax.annotation.Nullable public List getArrayFooThree() { return arrayFooThree; } @@ -196,7 +191,6 @@ public class ArrayOfSameRef { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Cat.java index e22c005616d..10692bc3782 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Cat.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { this.className = this.getClass().getSimpleName(); @@ -69,8 +69,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - public Boolean getDeclawed() { + @javax.annotation.Nullable public Boolean getDeclawed() { return declawed; } @@ -123,7 +122,6 @@ public class Cat extends Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Category.java index ff68b1fbcef..483a990339e 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A category for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference1.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference1.java index 3b20cafa61e..1b1b6ba3049 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference1.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference1.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * CircularReference1 */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class CircularReference1 { public static final String SERIALIZED_NAME_PROP1 = "prop1"; @SerializedName(SERIALIZED_NAME_PROP1) - @javax.annotation.Nullable - private CircularReference2 prop1; + @javax.annotation.Nullable private CircularReference2 prop1; public CircularReference1() { } @@ -68,8 +68,7 @@ public class CircularReference1 { * Get prop1 * @return prop1 */ - @javax.annotation.Nullable - public CircularReference2 getProp1() { + @javax.annotation.Nullable public CircularReference2 getProp1() { return prop1; } @@ -122,7 +121,6 @@ public class CircularReference1 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference2.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference2.java index 7b9c6cbe399..979f0dcbb95 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference2.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference2.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * CircularReference2 */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class CircularReference2 { public static final String SERIALIZED_NAME_PROP1 = "prop1"; @SerializedName(SERIALIZED_NAME_PROP1) - @javax.annotation.Nullable - private CircularReference3 prop1; + @javax.annotation.Nullable private CircularReference3 prop1; public CircularReference2() { } @@ -68,8 +68,7 @@ public class CircularReference2 { * Get prop1 * @return prop1 */ - @javax.annotation.Nullable - public CircularReference3 getProp1() { + @javax.annotation.Nullable public CircularReference3 getProp1() { return prop1; } @@ -122,7 +121,6 @@ public class CircularReference2 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference3.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference3.java index 9b15f332c69..e8f5cf91d5f 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference3.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/CircularReference3.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * CircularReference3 */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class CircularReference3 { public static final String SERIALIZED_NAME_PROP1 = "prop1"; @SerializedName(SERIALIZED_NAME_PROP1) - @javax.annotation.Nullable - private CircularReference1 prop1; + @javax.annotation.Nullable private CircularReference1 prop1; public CircularReference3() { } @@ -68,8 +68,7 @@ public class CircularReference3 { * Get prop1 * @return prop1 */ - @javax.annotation.Nullable - public CircularReference1 getProp1() { + @javax.annotation.Nullable public CircularReference1 getProp1() { return prop1; } @@ -122,7 +121,6 @@ public class CircularReference3 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Dog.java index 84cb4643a43..7c8653e151a 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Dog.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { this.className = this.getClass().getSimpleName(); @@ -69,8 +69,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - public String getBreed() { + @javax.annotation.Nullable public String getBreed() { return breed; } @@ -123,7 +122,6 @@ public class Dog extends Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0c222131c8a..9fd51733d9f 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Describes the result of uploading an image resource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -169,7 +164,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/OneOfStringOrInt.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/OneOfStringOrInt.java index 34220f42b41..82e9b87b798 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/OneOfStringOrInt.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/OneOfStringOrInt.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OneOfStringOrInt extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(OneOfStringOrInt.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Order.java index 9eabd17d9b2..9cb85424846 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * An order for a pets from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -296,7 +284,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Pet.java index 400e711ef3e..c39c38ca820 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -151,8 +145,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -320,7 +308,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefRefToPathLevelParameterOneofRefToOneofParameter.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefRefToPathLevelParameterOneofRefToOneofParameter.java index 98b21427116..3d553c598a9 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefRefToPathLevelParameterOneofRefToOneofParameter.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefRefToPathLevelParameterOneofRefToOneofParameter.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class RefRefToPathLevelParameterOneofRefToOneofParameter extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(RefRefToPathLevelParameterOneofRefToOneofParameter.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefToRefParameterAnyofRefToAnyofParameter.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefToRefParameterAnyofRefToAnyofParameter.java index fea50b17312..ca8acd54769 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefToRefParameterAnyofRefToAnyofParameter.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/RefToRefParameterAnyofRefToAnyofParameter.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class RefToRefParameterAnyofRefToAnyofParameter extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(RefToRefParameterAnyofRefToAnyofParameter.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAdditionalProperties.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAdditionalProperties.java index bc902fbaee0..e903931e00a 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAdditionalProperties.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAdditionalProperties.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * SelfReferenceAdditionalProperties */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SelfReferenceAdditionalProperties { public static final String SERIALIZED_NAME_DUMMY = "dummy"; @SerializedName(SERIALIZED_NAME_DUMMY) - @javax.annotation.Nullable - private String dummy; + @javax.annotation.Nullable private String dummy; public SelfReferenceAdditionalProperties() { } @@ -67,8 +67,7 @@ public class SelfReferenceAdditionalProperties { * Get dummy * @return dummy */ - @javax.annotation.Nullable - public String getDummy() { + @javax.annotation.Nullable public String getDummy() { return dummy; } @@ -121,7 +120,6 @@ public class SelfReferenceAdditionalProperties { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAnyOf.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAnyOf.java index 30179c22231..1a56a1cb181 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAnyOf.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceAnyOf.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SelfReferenceAnyOf extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SelfReferenceAnyOf.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceOneOf.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceOneOf.java index c0780e851e9..0c17f235e68 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceOneOf.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SelfReferenceOneOf.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SelfReferenceOneOf extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SelfReferenceOneOf.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SimpleModelWithArrayProperty.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SimpleModelWithArrayProperty.java index f5a7e23aabb..87a74f9c013 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SimpleModelWithArrayProperty.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SimpleModelWithArrayProperty.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * SimpleModelWithArrayProperty */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SimpleModelWithArrayProperty { public static final String SERIALIZED_NAME_ARRAY_OF_STRINGS = "arrayOfStrings"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRINGS) - @javax.annotation.Nonnull - private List arrayOfStrings = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayOfStrings = new ArrayList<>(); public SimpleModelWithArrayProperty() { } @@ -77,8 +77,7 @@ public class SimpleModelWithArrayProperty { * Get arrayOfStrings * @return arrayOfStrings */ - @javax.annotation.Nonnull - public List getArrayOfStrings() { + @javax.annotation.Nonnull public List getArrayOfStrings() { return arrayOfStrings; } @@ -131,7 +130,6 @@ public class SimpleModelWithArrayProperty { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/StringOrInt.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/StringOrInt.java index 02647aa1e57..cd7631f1b8c 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/StringOrInt.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/StringOrInt.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class StringOrInt extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(StringOrInt.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Tag.java index 0c1ca3175d3..3ee39c5cc8c 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A tag for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java index 2fabf55abee..ab87cb28001 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * A User who is purchasing from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -289,7 +274,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Category.java index ff68b1fbcef..483a990339e 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A category for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0c222131c8a..9fd51733d9f 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Describes the result of uploading an image resource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -169,7 +164,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Order.java index 9eabd17d9b2..9cb85424846 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * An order for a pets from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -296,7 +284,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Pet.java index 400e711ef3e..c39c38ca820 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -151,8 +145,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -320,7 +308,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Tag.java index 0c1ca3175d3..3ee39c5cc8c 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A tag for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java index 2fabf55abee..ab87cb28001 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * A User who is purchasing from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -289,7 +274,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index cd079bdc58b..d31a784d93f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 27ad8af285a..0ad308807da 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { } @@ -67,8 +67,7 @@ public class AdditionalPropertiesAnyType { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -121,7 +120,6 @@ public class AdditionalPropertiesAnyType { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 9a73473e340..bb0ebb0ddf4 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { } @@ -68,8 +68,7 @@ public class AdditionalPropertiesArray { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -122,7 +121,6 @@ public class AdditionalPropertiesArray { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index bc383b18d63..79374be3e35 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { } @@ -67,8 +67,7 @@ public class AdditionalPropertiesBoolean { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -121,7 +120,6 @@ public class AdditionalPropertiesBoolean { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index d5fe2706272..8b25a2ebf87 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -53,61 +53,51 @@ import org.openapitools.client.JSON; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -129,8 +119,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @javax.annotation.Nullable - public Map getMapString() { + @javax.annotation.Nullable public Map getMapString() { return mapString; } @@ -156,8 +145,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - public Map getMapNumber() { + @javax.annotation.Nullable public Map getMapNumber() { return mapNumber; } @@ -183,8 +171,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - public Map getMapInteger() { + @javax.annotation.Nullable public Map getMapInteger() { return mapInteger; } @@ -210,8 +197,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - public Map getMapBoolean() { + @javax.annotation.Nullable public Map getMapBoolean() { return mapBoolean; } @@ -237,8 +223,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - public Map> getMapArrayInteger() { + @javax.annotation.Nullable public Map> getMapArrayInteger() { return mapArrayInteger; } @@ -264,8 +249,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - public Map> getMapArrayAnytype() { + @javax.annotation.Nullable public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -291,8 +275,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - public Map> getMapMapString() { + @javax.annotation.Nullable public Map> getMapMapString() { return mapMapString; } @@ -318,8 +301,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - public Map> getMapMapAnytype() { + @javax.annotation.Nullable public Map> getMapMapAnytype() { return mapMapAnytype; } @@ -337,8 +319,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - public Object getAnytype1() { + @javax.annotation.Nullable public Object getAnytype1() { return anytype1; } @@ -356,8 +337,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - public Object getAnytype2() { + @javax.annotation.Nullable public Object getAnytype2() { return anytype2; } @@ -375,8 +355,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - public Object getAnytype3() { + @javax.annotation.Nullable public Object getAnytype3() { return anytype3; } @@ -385,7 +364,6 @@ public class AdditionalPropertiesClass { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index bef43e8cfaa..90f73342683 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { } @@ -67,8 +67,7 @@ public class AdditionalPropertiesInteger { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -121,7 +120,6 @@ public class AdditionalPropertiesInteger { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index e8288d98ffa..b8ef868c357 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { } @@ -68,8 +68,7 @@ public class AdditionalPropertiesNumber { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -122,7 +121,6 @@ public class AdditionalPropertiesNumber { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 026dc8e87de..7db28f0f9bf 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { } @@ -68,8 +68,7 @@ public class AdditionalPropertiesObject { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -122,7 +121,6 @@ public class AdditionalPropertiesObject { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 159fc499da7..7a342fc4e67 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { } @@ -67,8 +67,7 @@ public class AdditionalPropertiesString { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -121,7 +120,6 @@ public class AdditionalPropertiesString { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java index 3b0341a3f11..09a0a9d3f09 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { this.className = this.getClass().getSimpleName(); @@ -73,8 +72,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -92,8 +90,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -102,7 +99,6 @@ public class Animal { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 34b465cfb18..26797475c49 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -78,8 +78,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - public List> getArrayArrayNumber() { + @javax.annotation.Nullable public List> getArrayArrayNumber() { return arrayArrayNumber; } @@ -88,7 +87,6 @@ public class ArrayOfArrayOfNumberOnly { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 3723d0301c6..0873f764a38 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -78,8 +78,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - public List getArrayNumber() { + @javax.annotation.Nullable public List getArrayNumber() { return arrayNumber; } @@ -88,7 +87,6 @@ public class ArrayOfNumberOnly { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayTest.java index 59e4181c2f1..3e8374dd35d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -88,8 +86,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - public List getArrayOfString() { + @javax.annotation.Nullable public List getArrayOfString() { return arrayOfString; } @@ -115,8 +112,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { + @javax.annotation.Nullable public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -142,8 +138,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - public List> getArrayArrayOfModel() { + @javax.annotation.Nullable public List> getArrayArrayOfModel() { return arrayArrayOfModel; } @@ -152,7 +147,6 @@ public class ArrayTest { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/BigCat.java index 3de322600eb..ca82eb42cd0 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/BigCat.java @@ -50,6 +50,7 @@ import org.openapitools.client.JSON; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat { /** * Gets or Sets kind @@ -106,11 +107,9 @@ public class BigCat extends Cat { KindEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { this.className = this.getClass().getSimpleName(); @@ -125,8 +124,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @javax.annotation.Nullable - public KindEnum getKind() { + @javax.annotation.Nullable public KindEnum getKind() { return kind; } @@ -135,7 +133,6 @@ public class BigCat extends Cat { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Capitalization.java index cb1bc060a17..cfdc79bc93a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Capitalization.java @@ -49,36 +49,31 @@ import org.openapitools.client.JSON; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -92,8 +87,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - public String getSmallCamel() { + @javax.annotation.Nullable public String getSmallCamel() { return smallCamel; } @@ -111,8 +105,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - public String getCapitalCamel() { + @javax.annotation.Nullable public String getCapitalCamel() { return capitalCamel; } @@ -130,8 +123,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - public String getSmallSnake() { + @javax.annotation.Nullable public String getSmallSnake() { return smallSnake; } @@ -149,8 +141,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - public String getCapitalSnake() { + @javax.annotation.Nullable public String getCapitalSnake() { return capitalSnake; } @@ -168,8 +159,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - public String getScAETHFlowPoints() { + @javax.annotation.Nullable public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -187,8 +177,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - public String getATTNAME() { + @javax.annotation.Nullable public String getATTNAME() { return ATT_NAME; } @@ -197,7 +186,6 @@ public class Capitalization { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Cat.java index 8b288d7608d..63e2cbc17df 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Cat.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { this.className = this.getClass().getSimpleName(); @@ -69,8 +69,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - public Boolean getDeclawed() { + @javax.annotation.Nullable public Boolean getDeclawed() { return declawed; } @@ -79,7 +78,6 @@ public class Cat extends Animal { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java index 8a87ed095ab..5dfc9c97a54 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -101,7 +98,6 @@ public class Category { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ClassModel.java index 3f732cca0db..cda363c2dde 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ClassModel.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -67,8 +67,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -77,7 +76,6 @@ public class ClassModel { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Client.java index 3a63fc204f0..d65b554c913 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Client.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -67,8 +67,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - public String getClient() { + @javax.annotation.Nullable public String getClient() { return client; } @@ -77,7 +76,6 @@ public class Client { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Dog.java index c28d7ef4d3f..a00a7570442 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Dog.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { this.className = this.getClass().getSimpleName(); @@ -69,8 +69,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - public String getBreed() { + @javax.annotation.Nullable public String getBreed() { return breed; } @@ -79,7 +78,6 @@ public class Dog extends Animal { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumArrays.java index 977e873ef75..b432bfb901f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -51,6 +51,7 @@ import org.openapitools.client.JSON; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -103,11 +104,9 @@ public class EnumArrays { JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -160,11 +159,9 @@ public class EnumArrays { ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -178,8 +175,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { + @javax.annotation.Nullable public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -205,8 +201,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - public List getArrayEnum() { + @javax.annotation.Nullable public List getArrayEnum() { return arrayEnum; } @@ -215,7 +210,6 @@ public class EnumArrays { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java index fab5e63c24b..a472bb1c828 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java @@ -50,6 +50,7 @@ import org.openapitools.client.JSON; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -104,11 +105,9 @@ public class EnumTest { EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -163,11 +162,9 @@ public class EnumTest { EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -220,11 +217,9 @@ public class EnumTest { EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -277,16 +272,13 @@ public class EnumTest { EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -300,8 +292,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - public EnumStringEnum getEnumString() { + @javax.annotation.Nullable public EnumStringEnum getEnumString() { return enumString; } @@ -319,8 +310,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { + @javax.annotation.Nonnull public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -338,8 +328,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { + @javax.annotation.Nullable public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -357,8 +346,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { + @javax.annotation.Nullable public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -376,8 +364,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - public OuterEnum getOuterEnum() { + @javax.annotation.Nullable public OuterEnum getOuterEnum() { return outerEnum; } @@ -386,7 +373,6 @@ public class EnumTest { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 88ded19bbd6..f394c0f2345 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -52,16 +52,15 @@ import org.openapitools.client.JSON; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -75,8 +74,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - public ModelFile getFile() { + @javax.annotation.Nullable public ModelFile getFile() { return _file; } @@ -102,8 +100,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - public List getFiles() { + @javax.annotation.Nullable public List getFiles() { return files; } @@ -112,7 +109,6 @@ public class FileSchemaTestClass { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java index 0ec5e78ab4d..f47300b0e29 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java @@ -54,76 +54,63 @@ import org.openapitools.client.JSON; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -139,8 +126,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - public Integer getInteger() { + @javax.annotation.Nullable public Integer getInteger() { return integer; } @@ -160,8 +146,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - public Integer getInt32() { + @javax.annotation.Nullable public Integer getInt32() { return int32; } @@ -179,8 +164,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - public Long getInt64() { + @javax.annotation.Nullable public Long getInt64() { return int64; } @@ -200,8 +184,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - public BigDecimal getNumber() { + @javax.annotation.Nonnull public BigDecimal getNumber() { return number; } @@ -221,8 +204,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - public Float getFloat() { + @javax.annotation.Nullable public Float getFloat() { return _float; } @@ -242,8 +224,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - public Double getDouble() { + @javax.annotation.Nullable public Double getDouble() { return _double; } @@ -261,8 +242,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - public String getString() { + @javax.annotation.Nullable public String getString() { return string; } @@ -280,8 +260,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - public byte[] getByte() { + @javax.annotation.Nonnull public byte[] getByte() { return _byte; } @@ -299,8 +278,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - public File getBinary() { + @javax.annotation.Nullable public File getBinary() { return binary; } @@ -318,8 +296,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - public LocalDate getDate() { + @javax.annotation.Nonnull public LocalDate getDate() { return date; } @@ -337,8 +314,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -356,8 +332,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -375,8 +350,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - public String getPassword() { + @javax.annotation.Nonnull public String getPassword() { return password; } @@ -394,8 +368,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - public BigDecimal getBigDecimal() { + @javax.annotation.Nullable public BigDecimal getBigDecimal() { return bigDecimal; } @@ -404,7 +377,6 @@ public class FormatTest { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 63408815ceb..9057ee16112 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -76,8 +75,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -87,14 +85,12 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - public String getFoo() { + @javax.annotation.Nullable public String getFoo() { return foo; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MapTest.java index 139380bbbef..dbd2d09306c 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MapTest.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -108,21 +108,17 @@ public class MapTest { InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -144,8 +140,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - public Map> getMapMapOfString() { + @javax.annotation.Nullable public Map> getMapMapOfString() { return mapMapOfString; } @@ -171,8 +166,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - public Map getMapOfEnumString() { + @javax.annotation.Nullable public Map getMapOfEnumString() { return mapOfEnumString; } @@ -198,8 +192,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - public Map getDirectMap() { + @javax.annotation.Nullable public Map getDirectMap() { return directMap; } @@ -225,8 +218,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - public Map getIndirectMap() { + @javax.annotation.Nullable public Map getIndirectMap() { return indirectMap; } @@ -235,7 +227,6 @@ public class MapTest { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 2a412a2c95a..eb3aac89e4d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -54,21 +54,19 @@ import org.openapitools.client.JSON; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -82,8 +80,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -101,8 +98,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -128,8 +124,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - public Map getMap() { + @javax.annotation.Nullable public Map getMap() { return map; } @@ -138,7 +133,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Model200Response.java index d109b3b7170..3add163006b 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Model200Response.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -72,8 +71,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - public Integer getName() { + @javax.annotation.Nullable public Integer getName() { return name; } @@ -91,8 +89,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -101,7 +98,6 @@ public class Model200Response { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelApiResponse.java index fd7c4cf6fd2..7e305fb6061 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -125,7 +120,6 @@ public class ModelApiResponse { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelFile.java index e0715164d2d..e0cf61e4784 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelFile.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -67,8 +67,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - public String getSourceURI() { + @javax.annotation.Nullable public String getSourceURI() { return sourceURI; } @@ -77,7 +76,6 @@ public class ModelFile { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelList.java index 01236521328..4d7f818df13 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelList.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -67,8 +67,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - public String get123list() { + @javax.annotation.Nullable public String get123list() { return _123list; } @@ -77,7 +76,6 @@ public class ModelList { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelReturn.java index 13ed2f4071c..d6c34064a41 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -67,8 +67,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - public Integer getReturn() { + @javax.annotation.Nullable public Integer getReturn() { return _return; } @@ -77,7 +76,6 @@ public class ModelReturn { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java index 7981af04061..c9e7737a336 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java @@ -49,26 +49,23 @@ import org.openapitools.client.JSON; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -91,8 +88,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - public Integer getName() { + @javax.annotation.Nonnull public Integer getName() { return name; } @@ -105,8 +101,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - public Integer getSnakeCase() { + @javax.annotation.Nullable public Integer getSnakeCase() { return snakeCase; } @@ -121,8 +116,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - public String getProperty() { + @javax.annotation.Nullable public String getProperty() { return property; } @@ -135,14 +129,12 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - public Integer get123number() { + @javax.annotation.Nullable public Integer get123number() { return _123number; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/NumberOnly.java index b799d1c625f..72bd9d91447 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -68,8 +68,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - public BigDecimal getJustNumber() { + @javax.annotation.Nullable public BigDecimal getJustNumber() { return justNumber; } @@ -78,7 +77,6 @@ public class NumberOnly { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Order.java index 8968dbb20c2..1c1fb267686 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -252,7 +240,6 @@ public class Order { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/OuterComposite.java index ab9772c530d..c0beb1e4e48 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -50,21 +50,19 @@ import org.openapitools.client.JSON; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -78,8 +76,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - public BigDecimal getMyNumber() { + @javax.annotation.Nullable public BigDecimal getMyNumber() { return myNumber; } @@ -97,8 +94,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - public String getMyString() { + @javax.annotation.Nullable public String getMyString() { return myString; } @@ -116,8 +112,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - public Boolean getMyBoolean() { + @javax.annotation.Nullable public Boolean getMyBoolean() { return myBoolean; } @@ -126,7 +121,6 @@ public class OuterComposite { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java index e7436e0eae4..692f90c847f 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java @@ -55,31 +55,27 @@ import org.openapitools.client.JSON; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -134,11 +130,9 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -152,8 +146,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -171,8 +164,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -190,8 +182,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -217,8 +208,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public Set getPhotoUrls() { + @javax.annotation.Nonnull public Set getPhotoUrls() { return photoUrls; } @@ -244,8 +234,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -263,8 +252,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -273,7 +261,6 @@ public class Pet { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 3b772446b36..2c47fed0236 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -74,8 +73,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -90,8 +88,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - public String getBaz() { + @javax.annotation.Nullable public String getBaz() { return baz; } @@ -100,7 +97,6 @@ public class ReadOnlyFirst { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/SpecialModelName.java index faadfa7ebe3..a2453642250 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -67,8 +67,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - public Long get$SpecialPropertyName() { + @javax.annotation.Nullable public Long get$SpecialPropertyName() { return $specialPropertyName; } @@ -77,7 +76,6 @@ public class SpecialModelName { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Tag.java index 7d3729f6339..af0a31f5b3a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -101,7 +98,6 @@ public class Tag { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 7f07d19161a..20f5915d84a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -52,31 +52,27 @@ import org.openapitools.client.JSON; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -90,8 +86,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - public String getStringItem() { + @javax.annotation.Nonnull public String getStringItem() { return stringItem; } @@ -109,8 +104,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - public BigDecimal getNumberItem() { + @javax.annotation.Nonnull public BigDecimal getNumberItem() { return numberItem; } @@ -128,8 +122,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - public Integer getIntegerItem() { + @javax.annotation.Nonnull public Integer getIntegerItem() { return integerItem; } @@ -147,8 +140,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - public Boolean getBoolItem() { + @javax.annotation.Nonnull public Boolean getBoolItem() { return boolItem; } @@ -174,8 +166,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - public List getArrayItem() { + @javax.annotation.Nonnull public List getArrayItem() { return arrayItem; } @@ -184,7 +175,6 @@ public class TypeHolderDefault { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 8dd6ee46fe1..30a75807dba 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -52,36 +52,31 @@ import org.openapitools.client.JSON; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -95,8 +90,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - public String getStringItem() { + @javax.annotation.Nonnull public String getStringItem() { return stringItem; } @@ -114,8 +108,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - public BigDecimal getNumberItem() { + @javax.annotation.Nonnull public BigDecimal getNumberItem() { return numberItem; } @@ -133,8 +126,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - public Float getFloatItem() { + @javax.annotation.Nonnull public Float getFloatItem() { return floatItem; } @@ -152,8 +144,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - public Integer getIntegerItem() { + @javax.annotation.Nonnull public Integer getIntegerItem() { return integerItem; } @@ -171,8 +162,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - public Boolean getBoolItem() { + @javax.annotation.Nonnull public Boolean getBoolItem() { return boolItem; } @@ -198,8 +188,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - public List getArrayItem() { + @javax.annotation.Nonnull public List getArrayItem() { return arrayItem; } @@ -208,7 +197,6 @@ public class TypeHolderExample { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java index 74089db5703..09b08f31e77 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -245,7 +230,6 @@ public class User { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/XmlItem.java index c88e684b699..ce5aef9151a 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/XmlItem.java @@ -52,151 +52,123 @@ import org.openapitools.client.JSON; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -210,8 +182,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - public String getAttributeString() { + @javax.annotation.Nullable public String getAttributeString() { return attributeString; } @@ -229,8 +200,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - public BigDecimal getAttributeNumber() { + @javax.annotation.Nullable public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -248,8 +218,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - public Integer getAttributeInteger() { + @javax.annotation.Nullable public Integer getAttributeInteger() { return attributeInteger; } @@ -267,8 +236,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - public Boolean getAttributeBoolean() { + @javax.annotation.Nullable public Boolean getAttributeBoolean() { return attributeBoolean; } @@ -294,8 +262,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - public List getWrappedArray() { + @javax.annotation.Nullable public List getWrappedArray() { return wrappedArray; } @@ -313,8 +280,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @javax.annotation.Nullable - public String getNameString() { + @javax.annotation.Nullable public String getNameString() { return nameString; } @@ -332,8 +298,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - public BigDecimal getNameNumber() { + @javax.annotation.Nullable public BigDecimal getNameNumber() { return nameNumber; } @@ -351,8 +316,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - public Integer getNameInteger() { + @javax.annotation.Nullable public Integer getNameInteger() { return nameInteger; } @@ -370,8 +334,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - public Boolean getNameBoolean() { + @javax.annotation.Nullable public Boolean getNameBoolean() { return nameBoolean; } @@ -397,8 +360,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - public List getNameArray() { + @javax.annotation.Nullable public List getNameArray() { return nameArray; } @@ -424,8 +386,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - public List getNameWrappedArray() { + @javax.annotation.Nullable public List getNameWrappedArray() { return nameWrappedArray; } @@ -443,8 +404,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - public String getPrefixString() { + @javax.annotation.Nullable public String getPrefixString() { return prefixString; } @@ -462,8 +422,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - public BigDecimal getPrefixNumber() { + @javax.annotation.Nullable public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -481,8 +440,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - public Integer getPrefixInteger() { + @javax.annotation.Nullable public Integer getPrefixInteger() { return prefixInteger; } @@ -500,8 +458,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - public Boolean getPrefixBoolean() { + @javax.annotation.Nullable public Boolean getPrefixBoolean() { return prefixBoolean; } @@ -527,8 +484,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - public List getPrefixArray() { + @javax.annotation.Nullable public List getPrefixArray() { return prefixArray; } @@ -554,8 +510,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - public List getPrefixWrappedArray() { + @javax.annotation.Nullable public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -573,8 +528,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - public String getNamespaceString() { + @javax.annotation.Nullable public String getNamespaceString() { return namespaceString; } @@ -592,8 +546,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - public BigDecimal getNamespaceNumber() { + @javax.annotation.Nullable public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -611,8 +564,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - public Integer getNamespaceInteger() { + @javax.annotation.Nullable public Integer getNamespaceInteger() { return namespaceInteger; } @@ -630,8 +582,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - public Boolean getNamespaceBoolean() { + @javax.annotation.Nullable public Boolean getNamespaceBoolean() { return namespaceBoolean; } @@ -657,8 +608,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - public List getNamespaceArray() { + @javax.annotation.Nullable public List getNamespaceArray() { return namespaceArray; } @@ -684,8 +634,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - public List getNamespaceWrappedArray() { + @javax.annotation.Nullable public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -703,8 +652,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - public String getPrefixNsString() { + @javax.annotation.Nullable public String getPrefixNsString() { return prefixNsString; } @@ -722,8 +670,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - public BigDecimal getPrefixNsNumber() { + @javax.annotation.Nullable public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -741,8 +688,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - public Integer getPrefixNsInteger() { + @javax.annotation.Nullable public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -760,8 +706,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - public Boolean getPrefixNsBoolean() { + @javax.annotation.Nullable public Boolean getPrefixNsBoolean() { return prefixNsBoolean; } @@ -787,8 +732,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - public List getPrefixNsArray() { + @javax.annotation.Nullable public List getPrefixNsArray() { return prefixNsArray; } @@ -814,8 +758,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { + @javax.annotation.Nullable public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } @@ -824,7 +767,6 @@ public class XmlItem { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Category.java index ff68b1fbcef..483a990339e 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A category for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0c222131c8a..9fd51733d9f 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Describes the result of uploading an image resource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -169,7 +164,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Order.java index 9eabd17d9b2..9cb85424846 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * An order for a pets from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -296,7 +284,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Pet.java index 400e711ef3e..c39c38ca820 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -151,8 +145,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -320,7 +308,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Tag.java index 0c1ca3175d3..3ee39c5cc8c 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A tag for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java index 2fabf55abee..ab87cb28001 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * A User who is purchasing from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -289,7 +274,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Category.java index ff68b1fbcef..483a990339e 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A category for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0c222131c8a..9fd51733d9f 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Describes the result of uploading an image resource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -169,7 +164,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Order.java index 9eabd17d9b2..9cb85424846 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * An order for a pets from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -296,7 +284,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Pet.java index 400e711ef3e..c39c38ca820 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -151,8 +145,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -320,7 +308,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases1.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases1.java index c611fb32556..16504ef78db 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases1.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases1.java @@ -54,31 +54,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetWithRequiredNullableCases1 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nullable - private List photoUrls; + @javax.annotation.Nullable private List photoUrls; public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags; + @javax.annotation.Nullable private List tags; /** * pet status in the store @@ -133,12 +129,10 @@ public class PetWithRequiredNullableCases1 { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetWithRequiredNullableCases1() { } @@ -152,8 +146,7 @@ public class PetWithRequiredNullableCases1 { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -171,8 +164,7 @@ public class PetWithRequiredNullableCases1 { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -190,8 +182,7 @@ public class PetWithRequiredNullableCases1 { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -217,8 +208,7 @@ public class PetWithRequiredNullableCases1 { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nullable - public List getPhotoUrls() { + @javax.annotation.Nullable public List getPhotoUrls() { return photoUrls; } @@ -244,8 +234,7 @@ public class PetWithRequiredNullableCases1 { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -266,8 +255,7 @@ public class PetWithRequiredNullableCases1 { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -321,7 +309,6 @@ public class PetWithRequiredNullableCases1 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases2.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases2.java index e515cf4566b..91e64c7dfdd 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases2.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/PetWithRequiredNullableCases2.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * A pet for sale in the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetWithRequiredNullableCases2 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,12 +128,10 @@ public class PetWithRequiredNullableCases2 { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetWithRequiredNullableCases2() { } @@ -151,8 +145,7 @@ public class PetWithRequiredNullableCases2 { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -170,8 +163,7 @@ public class PetWithRequiredNullableCases2 { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -189,8 +181,7 @@ public class PetWithRequiredNullableCases2 { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -216,8 +207,7 @@ public class PetWithRequiredNullableCases2 { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -243,8 +233,7 @@ public class PetWithRequiredNullableCases2 { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class PetWithRequiredNullableCases2 { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -320,7 +308,6 @@ public class PetWithRequiredNullableCases2 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Tag.java index 0c1ca3175d3..3ee39c5cc8c 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * A tag for a pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java index 2fabf55abee..ab87cb28001 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/model/User.java @@ -49,46 +49,39 @@ import org.openapitools.client.JSON; * A User who is purchasing from the pet store */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -102,8 +95,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -121,8 +113,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -140,8 +131,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -159,8 +149,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -178,8 +167,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -197,8 +185,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -216,8 +203,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -235,8 +221,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -289,7 +274,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index cd079bdc58b..d31a784d93f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 977aa947b63..511a7e7698a 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { } @@ -69,8 +69,7 @@ public class AdditionalPropertiesAnyType implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -123,7 +122,6 @@ public class AdditionalPropertiesAnyType implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index ccd77caea55..285c1957bcc 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { } @@ -70,8 +70,7 @@ public class AdditionalPropertiesArray implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -124,7 +123,6 @@ public class AdditionalPropertiesArray implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 59ce65a39bf..1ed8749ac1d 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { } @@ -69,8 +69,7 @@ public class AdditionalPropertiesBoolean implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -123,7 +122,6 @@ public class AdditionalPropertiesBoolean implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index a5ee45e1d1d..78702291086 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -55,61 +55,51 @@ import org.openapitools.client.JSON; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass implements Parcelable { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -131,8 +121,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapString * @return mapString */ - @javax.annotation.Nullable - public Map getMapString() { + @javax.annotation.Nullable public Map getMapString() { return mapString; } @@ -158,8 +147,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - public Map getMapNumber() { + @javax.annotation.Nullable public Map getMapNumber() { return mapNumber; } @@ -185,8 +173,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - public Map getMapInteger() { + @javax.annotation.Nullable public Map getMapInteger() { return mapInteger; } @@ -212,8 +199,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - public Map getMapBoolean() { + @javax.annotation.Nullable public Map getMapBoolean() { return mapBoolean; } @@ -239,8 +225,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - public Map> getMapArrayInteger() { + @javax.annotation.Nullable public Map> getMapArrayInteger() { return mapArrayInteger; } @@ -266,8 +251,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - public Map> getMapArrayAnytype() { + @javax.annotation.Nullable public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -293,8 +277,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - public Map> getMapMapString() { + @javax.annotation.Nullable public Map> getMapMapString() { return mapMapString; } @@ -320,8 +303,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - public Map> getMapMapAnytype() { + @javax.annotation.Nullable public Map> getMapMapAnytype() { return mapMapAnytype; } @@ -339,8 +321,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - public Object getAnytype1() { + @javax.annotation.Nullable public Object getAnytype1() { return anytype1; } @@ -358,8 +339,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - public Object getAnytype2() { + @javax.annotation.Nullable public Object getAnytype2() { return anytype2; } @@ -377,8 +357,7 @@ public class AdditionalPropertiesClass implements Parcelable { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - public Object getAnytype3() { + @javax.annotation.Nullable public Object getAnytype3() { return anytype3; } @@ -387,7 +366,6 @@ public class AdditionalPropertiesClass implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index e92e09ffb6d..ac7a6f251ac 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { } @@ -69,8 +69,7 @@ public class AdditionalPropertiesInteger implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -123,7 +122,6 @@ public class AdditionalPropertiesInteger implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 434ca7b5842..5cefc750e7f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { } @@ -70,8 +70,7 @@ public class AdditionalPropertiesNumber implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -124,7 +123,6 @@ public class AdditionalPropertiesNumber implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 1e0bcf777ad..ab9a1d63b25 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { } @@ -70,8 +70,7 @@ public class AdditionalPropertiesObject implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -124,7 +123,6 @@ public class AdditionalPropertiesObject implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 57a772a2a82..c1c0d1f9c36 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { } @@ -69,8 +69,7 @@ public class AdditionalPropertiesString implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -123,7 +122,6 @@ public class AdditionalPropertiesString implements Parcelable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java index 55815dbec81..031c6570e74 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal implements Parcelable { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { this.className = this.getClass().getSimpleName(); @@ -75,8 +74,7 @@ public class Animal implements Parcelable { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -94,8 +92,7 @@ public class Animal implements Parcelable { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -104,7 +101,6 @@ public class Animal implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 7024a80f451..28a3afd1d95 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -54,11 +54,11 @@ import org.openapitools.client.JSON; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly implements Parcelable { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -80,8 +80,7 @@ public class ArrayOfArrayOfNumberOnly implements Parcelable { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - public List> getArrayArrayNumber() { + @javax.annotation.Nullable public List> getArrayArrayNumber() { return arrayArrayNumber; } @@ -90,7 +89,6 @@ public class ArrayOfArrayOfNumberOnly implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 7cb5e36e068..7981c6e4465 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -54,11 +54,11 @@ import org.openapitools.client.JSON; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly implements Parcelable { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -80,8 +80,7 @@ public class ArrayOfNumberOnly implements Parcelable { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - public List getArrayNumber() { + @javax.annotation.Nullable public List getArrayNumber() { return arrayNumber; } @@ -90,7 +89,6 @@ public class ArrayOfNumberOnly implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayTest.java index 138b680a05b..9bb180cdd60 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -54,21 +54,19 @@ import org.openapitools.client.JSON; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest implements Parcelable { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -90,8 +88,7 @@ public class ArrayTest implements Parcelable { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - public List getArrayOfString() { + @javax.annotation.Nullable public List getArrayOfString() { return arrayOfString; } @@ -117,8 +114,7 @@ public class ArrayTest implements Parcelable { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { + @javax.annotation.Nullable public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -144,8 +140,7 @@ public class ArrayTest implements Parcelable { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - public List> getArrayArrayOfModel() { + @javax.annotation.Nullable public List> getArrayArrayOfModel() { return arrayArrayOfModel; } @@ -154,7 +149,6 @@ public class ArrayTest implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/BigCat.java index c5a244bf74a..0fd323fcc67 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/BigCat.java @@ -52,6 +52,7 @@ import org.openapitools.client.JSON; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat implements Parcelable { /** * Gets or Sets kind @@ -108,11 +109,9 @@ public class BigCat extends Cat implements Parcelable { KindEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { super(); @@ -128,8 +127,7 @@ public class BigCat extends Cat implements Parcelable { * Get kind * @return kind */ - @javax.annotation.Nullable - public KindEnum getKind() { + @javax.annotation.Nullable public KindEnum getKind() { return kind; } @@ -138,7 +136,6 @@ public class BigCat extends Cat implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Capitalization.java index c4f2014209c..284b42137d3 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Capitalization.java @@ -51,36 +51,31 @@ import org.openapitools.client.JSON; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization implements Parcelable { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -94,8 +89,7 @@ public class Capitalization implements Parcelable { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - public String getSmallCamel() { + @javax.annotation.Nullable public String getSmallCamel() { return smallCamel; } @@ -113,8 +107,7 @@ public class Capitalization implements Parcelable { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - public String getCapitalCamel() { + @javax.annotation.Nullable public String getCapitalCamel() { return capitalCamel; } @@ -132,8 +125,7 @@ public class Capitalization implements Parcelable { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - public String getSmallSnake() { + @javax.annotation.Nullable public String getSmallSnake() { return smallSnake; } @@ -151,8 +143,7 @@ public class Capitalization implements Parcelable { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - public String getCapitalSnake() { + @javax.annotation.Nullable public String getCapitalSnake() { return capitalSnake; } @@ -170,8 +161,7 @@ public class Capitalization implements Parcelable { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - public String getScAETHFlowPoints() { + @javax.annotation.Nullable public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -189,8 +179,7 @@ public class Capitalization implements Parcelable { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - public String getATTNAME() { + @javax.annotation.Nullable public String getATTNAME() { return ATT_NAME; } @@ -199,7 +188,6 @@ public class Capitalization implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Cat.java index ad9bf464ff0..10c07d4f548 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Cat.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal implements Parcelable { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { super(); @@ -72,8 +72,7 @@ public class Cat extends Animal implements Parcelable { * Get declawed * @return declawed */ - @javax.annotation.Nullable - public Boolean getDeclawed() { + @javax.annotation.Nullable public Boolean getDeclawed() { return declawed; } @@ -82,7 +81,6 @@ public class Cat extends Animal implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java index 337778c4b0a..bc901c7557e 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category implements Parcelable { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -74,8 +73,7 @@ public class Category implements Parcelable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -93,8 +91,7 @@ public class Category implements Parcelable { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -103,7 +100,6 @@ public class Category implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ClassModel.java index 95cecdab6ab..43f47414cc0 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ClassModel.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel implements Parcelable { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -69,8 +69,7 @@ public class ClassModel implements Parcelable { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -79,7 +78,6 @@ public class ClassModel implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Client.java index ea135acd7cd..7dded7b4cdd 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Client.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client implements Parcelable { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -69,8 +69,7 @@ public class Client implements Parcelable { * Get client * @return client */ - @javax.annotation.Nullable - public String getClient() { + @javax.annotation.Nullable public String getClient() { return client; } @@ -79,7 +78,6 @@ public class Client implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Dog.java index d6eb36b278d..8cecb0c4e24 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Dog.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal implements Parcelable { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { super(); @@ -72,8 +72,7 @@ public class Dog extends Animal implements Parcelable { * Get breed * @return breed */ - @javax.annotation.Nullable - public String getBreed() { + @javax.annotation.Nullable public String getBreed() { return breed; } @@ -82,7 +81,6 @@ public class Dog extends Animal implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumArrays.java index 9810b116a3c..889ab0c50b7 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -53,6 +53,7 @@ import org.openapitools.client.JSON; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays implements Parcelable { /** * Gets or Sets justSymbol @@ -105,11 +106,9 @@ public class EnumArrays implements Parcelable { JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -162,11 +161,9 @@ public class EnumArrays implements Parcelable { ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -180,8 +177,7 @@ public class EnumArrays implements Parcelable { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { + @javax.annotation.Nullable public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -207,8 +203,7 @@ public class EnumArrays implements Parcelable { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - public List getArrayEnum() { + @javax.annotation.Nullable public List getArrayEnum() { return arrayEnum; } @@ -217,7 +212,6 @@ public class EnumArrays implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java index 8e5f26782ad..a0ee36ae0cc 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java @@ -52,6 +52,7 @@ import org.openapitools.client.JSON; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest implements Parcelable { /** * Gets or Sets enumString @@ -106,11 +107,9 @@ public class EnumTest implements Parcelable { EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -165,11 +164,9 @@ public class EnumTest implements Parcelable { EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -222,11 +219,9 @@ public class EnumTest implements Parcelable { EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -279,16 +274,13 @@ public class EnumTest implements Parcelable { EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -302,8 +294,7 @@ public class EnumTest implements Parcelable { * Get enumString * @return enumString */ - @javax.annotation.Nullable - public EnumStringEnum getEnumString() { + @javax.annotation.Nullable public EnumStringEnum getEnumString() { return enumString; } @@ -321,8 +312,7 @@ public class EnumTest implements Parcelable { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { + @javax.annotation.Nonnull public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -340,8 +330,7 @@ public class EnumTest implements Parcelable { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { + @javax.annotation.Nullable public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -359,8 +348,7 @@ public class EnumTest implements Parcelable { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { + @javax.annotation.Nullable public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -378,8 +366,7 @@ public class EnumTest implements Parcelable { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - public OuterEnum getOuterEnum() { + @javax.annotation.Nullable public OuterEnum getOuterEnum() { return outerEnum; } @@ -388,7 +375,6 @@ public class EnumTest implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 18eac6176f5..afef764191f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -54,16 +54,15 @@ import org.openapitools.client.JSON; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass implements Parcelable { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -77,8 +76,7 @@ public class FileSchemaTestClass implements Parcelable { * Get _file * @return _file */ - @javax.annotation.Nullable - public ModelFile getFile() { + @javax.annotation.Nullable public ModelFile getFile() { return _file; } @@ -104,8 +102,7 @@ public class FileSchemaTestClass implements Parcelable { * Get files * @return files */ - @javax.annotation.Nullable - public List getFiles() { + @javax.annotation.Nullable public List getFiles() { return files; } @@ -114,7 +111,6 @@ public class FileSchemaTestClass implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java index 337bf9dbdc3..c5112e28d53 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java @@ -56,76 +56,63 @@ import org.openapitools.client.JSON; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest implements Parcelable { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -141,8 +128,7 @@ public class FormatTest implements Parcelable { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - public Integer getInteger() { + @javax.annotation.Nullable public Integer getInteger() { return integer; } @@ -162,8 +148,7 @@ public class FormatTest implements Parcelable { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - public Integer getInt32() { + @javax.annotation.Nullable public Integer getInt32() { return int32; } @@ -181,8 +166,7 @@ public class FormatTest implements Parcelable { * Get int64 * @return int64 */ - @javax.annotation.Nullable - public Long getInt64() { + @javax.annotation.Nullable public Long getInt64() { return int64; } @@ -202,8 +186,7 @@ public class FormatTest implements Parcelable { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - public BigDecimal getNumber() { + @javax.annotation.Nonnull public BigDecimal getNumber() { return number; } @@ -223,8 +206,7 @@ public class FormatTest implements Parcelable { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - public Float getFloat() { + @javax.annotation.Nullable public Float getFloat() { return _float; } @@ -244,8 +226,7 @@ public class FormatTest implements Parcelable { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - public Double getDouble() { + @javax.annotation.Nullable public Double getDouble() { return _double; } @@ -263,8 +244,7 @@ public class FormatTest implements Parcelable { * Get string * @return string */ - @javax.annotation.Nullable - public String getString() { + @javax.annotation.Nullable public String getString() { return string; } @@ -282,8 +262,7 @@ public class FormatTest implements Parcelable { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - public byte[] getByte() { + @javax.annotation.Nonnull public byte[] getByte() { return _byte; } @@ -301,8 +280,7 @@ public class FormatTest implements Parcelable { * Get binary * @return binary */ - @javax.annotation.Nullable - public File getBinary() { + @javax.annotation.Nullable public File getBinary() { return binary; } @@ -320,8 +298,7 @@ public class FormatTest implements Parcelable { * Get date * @return date */ - @javax.annotation.Nonnull - public LocalDate getDate() { + @javax.annotation.Nonnull public LocalDate getDate() { return date; } @@ -339,8 +316,7 @@ public class FormatTest implements Parcelable { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -358,8 +334,7 @@ public class FormatTest implements Parcelable { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -377,8 +352,7 @@ public class FormatTest implements Parcelable { * Get password * @return password */ - @javax.annotation.Nonnull - public String getPassword() { + @javax.annotation.Nonnull public String getPassword() { return password; } @@ -396,8 +370,7 @@ public class FormatTest implements Parcelable { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - public BigDecimal getBigDecimal() { + @javax.annotation.Nullable public BigDecimal getBigDecimal() { return bigDecimal; } @@ -406,7 +379,6 @@ public class FormatTest implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 456ccab2ab4..49ee4c25e7b 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly implements Parcelable { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -78,8 +77,7 @@ public class HasOnlyReadOnly implements Parcelable { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -89,14 +87,12 @@ public class HasOnlyReadOnly implements Parcelable { * Get foo * @return foo */ - @javax.annotation.Nullable - public String getFoo() { + @javax.annotation.Nullable public String getFoo() { return foo; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MapTest.java index 38ad4ebb3e5..fc19f20fc56 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MapTest.java @@ -53,11 +53,11 @@ import org.openapitools.client.JSON; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest implements Parcelable { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -110,21 +110,17 @@ public class MapTest implements Parcelable { InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -146,8 +142,7 @@ public class MapTest implements Parcelable { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - public Map> getMapMapOfString() { + @javax.annotation.Nullable public Map> getMapMapOfString() { return mapMapOfString; } @@ -173,8 +168,7 @@ public class MapTest implements Parcelable { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - public Map getMapOfEnumString() { + @javax.annotation.Nullable public Map getMapOfEnumString() { return mapOfEnumString; } @@ -200,8 +194,7 @@ public class MapTest implements Parcelable { * Get directMap * @return directMap */ - @javax.annotation.Nullable - public Map getDirectMap() { + @javax.annotation.Nullable public Map getDirectMap() { return directMap; } @@ -227,8 +220,7 @@ public class MapTest implements Parcelable { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - public Map getIndirectMap() { + @javax.annotation.Nullable public Map getIndirectMap() { return indirectMap; } @@ -237,7 +229,6 @@ public class MapTest implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 8473c16eb9a..1c252b7b8c5 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -56,21 +56,19 @@ import org.openapitools.client.JSON; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -84,8 +82,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -103,8 +100,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -130,8 +126,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable { * Get map * @return map */ - @javax.annotation.Nullable - public Map getMap() { + @javax.annotation.Nullable public Map getMap() { return map; } @@ -140,7 +135,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Model200Response.java index d21c66877bc..5d54b187c42 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Model200Response.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -74,8 +73,7 @@ public class Model200Response implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public Integer getName() { + @javax.annotation.Nullable public Integer getName() { return name; } @@ -93,8 +91,7 @@ public class Model200Response implements Parcelable { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -103,7 +100,6 @@ public class Model200Response implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 1ef06f5ecdb..ad4fd501d92 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -51,21 +51,19 @@ import org.openapitools.client.JSON; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse implements Parcelable { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -79,8 +77,7 @@ public class ModelApiResponse implements Parcelable { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -98,8 +95,7 @@ public class ModelApiResponse implements Parcelable { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -117,8 +113,7 @@ public class ModelApiResponse implements Parcelable { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -127,7 +122,6 @@ public class ModelApiResponse implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelFile.java index 315634ff850..2f7565d0c92 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelFile.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile implements Parcelable { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -69,8 +69,7 @@ public class ModelFile implements Parcelable { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - public String getSourceURI() { + @javax.annotation.Nullable public String getSourceURI() { return sourceURI; } @@ -79,7 +78,6 @@ public class ModelFile implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelList.java index 9ca62c3cd4e..0a0de29e71f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelList.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList implements Parcelable { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -69,8 +69,7 @@ public class ModelList implements Parcelable { * Get _123list * @return _123list */ - @javax.annotation.Nullable - public String get123list() { + @javax.annotation.Nullable public String get123list() { return _123list; } @@ -79,7 +78,6 @@ public class ModelList implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelReturn.java index 3c26ebb9c9d..94605f73e07 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn implements Parcelable { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -69,8 +69,7 @@ public class ModelReturn implements Parcelable { * Get _return * @return _return */ - @javax.annotation.Nullable - public Integer getReturn() { + @javax.annotation.Nullable public Integer getReturn() { return _return; } @@ -79,7 +78,6 @@ public class ModelReturn implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java index f93cbf4452a..b144f76b432 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java @@ -51,26 +51,23 @@ import org.openapitools.client.JSON; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name implements Parcelable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -93,8 +90,7 @@ public class Name implements Parcelable { * Get name * @return name */ - @javax.annotation.Nonnull - public Integer getName() { + @javax.annotation.Nonnull public Integer getName() { return name; } @@ -107,8 +103,7 @@ public class Name implements Parcelable { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - public Integer getSnakeCase() { + @javax.annotation.Nullable public Integer getSnakeCase() { return snakeCase; } @@ -123,8 +118,7 @@ public class Name implements Parcelable { * Get property * @return property */ - @javax.annotation.Nullable - public String getProperty() { + @javax.annotation.Nullable public String getProperty() { return property; } @@ -137,14 +131,12 @@ public class Name implements Parcelable { * Get _123number * @return _123number */ - @javax.annotation.Nullable - public Integer get123number() { + @javax.annotation.Nullable public Integer get123number() { return _123number; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/NumberOnly.java index 7a1aabeae9b..e78a2e58bf9 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly implements Parcelable { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -70,8 +70,7 @@ public class NumberOnly implements Parcelable { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - public BigDecimal getJustNumber() { + @javax.annotation.Nullable public BigDecimal getJustNumber() { return justNumber; } @@ -80,7 +79,6 @@ public class NumberOnly implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Order.java index 56d533a88a7..4eee4f9da76 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Order.java @@ -52,26 +52,23 @@ import org.openapitools.client.JSON; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order implements Parcelable { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -126,16 +123,13 @@ public class Order implements Parcelable { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -149,8 +143,7 @@ public class Order implements Parcelable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -168,8 +161,7 @@ public class Order implements Parcelable { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -187,8 +179,7 @@ public class Order implements Parcelable { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -206,8 +197,7 @@ public class Order implements Parcelable { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -225,8 +215,7 @@ public class Order implements Parcelable { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -244,8 +233,7 @@ public class Order implements Parcelable { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -254,7 +242,6 @@ public class Order implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/OuterComposite.java index 9805f1ac57d..0fd4ee1e906 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite implements Parcelable { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -80,8 +78,7 @@ public class OuterComposite implements Parcelable { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - public BigDecimal getMyNumber() { + @javax.annotation.Nullable public BigDecimal getMyNumber() { return myNumber; } @@ -99,8 +96,7 @@ public class OuterComposite implements Parcelable { * Get myString * @return myString */ - @javax.annotation.Nullable - public String getMyString() { + @javax.annotation.Nullable public String getMyString() { return myString; } @@ -118,8 +114,7 @@ public class OuterComposite implements Parcelable { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - public Boolean getMyBoolean() { + @javax.annotation.Nullable public Boolean getMyBoolean() { return myBoolean; } @@ -128,7 +123,6 @@ public class OuterComposite implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java index b7c4b12323c..fa4917fabc9 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java @@ -57,31 +57,27 @@ import org.openapitools.client.JSON; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet implements Parcelable { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -136,11 +132,9 @@ public class Pet implements Parcelable { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -154,8 +148,7 @@ public class Pet implements Parcelable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -173,8 +166,7 @@ public class Pet implements Parcelable { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -192,8 +184,7 @@ public class Pet implements Parcelable { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -219,8 +210,7 @@ public class Pet implements Parcelable { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public Set getPhotoUrls() { + @javax.annotation.Nonnull public Set getPhotoUrls() { return photoUrls; } @@ -246,8 +236,7 @@ public class Pet implements Parcelable { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -265,8 +254,7 @@ public class Pet implements Parcelable { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -275,7 +263,6 @@ public class Pet implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 9dad0b3ebc4..37ff408c353 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst implements Parcelable { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -76,8 +75,7 @@ public class ReadOnlyFirst implements Parcelable { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -92,8 +90,7 @@ public class ReadOnlyFirst implements Parcelable { * Get baz * @return baz */ - @javax.annotation.Nullable - public String getBaz() { + @javax.annotation.Nullable public String getBaz() { return baz; } @@ -102,7 +99,6 @@ public class ReadOnlyFirst implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/SpecialModelName.java index d33e808147a..1a4e2bb959f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName implements Parcelable { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -69,8 +69,7 @@ public class SpecialModelName implements Parcelable { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - public Long get$SpecialPropertyName() { + @javax.annotation.Nullable public Long get$SpecialPropertyName() { return $specialPropertyName; } @@ -79,7 +78,6 @@ public class SpecialModelName implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Tag.java index af792f48e97..9cb1ba04e5d 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Tag.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag implements Parcelable { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -74,8 +73,7 @@ public class Tag implements Parcelable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -93,8 +91,7 @@ public class Tag implements Parcelable { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -103,7 +100,6 @@ public class Tag implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index a75a03f36cb..e87e9716e3c 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -54,31 +54,27 @@ import org.openapitools.client.JSON; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault implements Parcelable { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -92,8 +88,7 @@ public class TypeHolderDefault implements Parcelable { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - public String getStringItem() { + @javax.annotation.Nonnull public String getStringItem() { return stringItem; } @@ -111,8 +106,7 @@ public class TypeHolderDefault implements Parcelable { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - public BigDecimal getNumberItem() { + @javax.annotation.Nonnull public BigDecimal getNumberItem() { return numberItem; } @@ -130,8 +124,7 @@ public class TypeHolderDefault implements Parcelable { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - public Integer getIntegerItem() { + @javax.annotation.Nonnull public Integer getIntegerItem() { return integerItem; } @@ -149,8 +142,7 @@ public class TypeHolderDefault implements Parcelable { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - public Boolean getBoolItem() { + @javax.annotation.Nonnull public Boolean getBoolItem() { return boolItem; } @@ -176,8 +168,7 @@ public class TypeHolderDefault implements Parcelable { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - public List getArrayItem() { + @javax.annotation.Nonnull public List getArrayItem() { return arrayItem; } @@ -186,7 +177,6 @@ public class TypeHolderDefault implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 71e4368bfc0..5e5f281bec1 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -54,36 +54,31 @@ import org.openapitools.client.JSON; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample implements Parcelable { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -97,8 +92,7 @@ public class TypeHolderExample implements Parcelable { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - public String getStringItem() { + @javax.annotation.Nonnull public String getStringItem() { return stringItem; } @@ -116,8 +110,7 @@ public class TypeHolderExample implements Parcelable { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - public BigDecimal getNumberItem() { + @javax.annotation.Nonnull public BigDecimal getNumberItem() { return numberItem; } @@ -135,8 +128,7 @@ public class TypeHolderExample implements Parcelable { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - public Float getFloatItem() { + @javax.annotation.Nonnull public Float getFloatItem() { return floatItem; } @@ -154,8 +146,7 @@ public class TypeHolderExample implements Parcelable { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - public Integer getIntegerItem() { + @javax.annotation.Nonnull public Integer getIntegerItem() { return integerItem; } @@ -173,8 +164,7 @@ public class TypeHolderExample implements Parcelable { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - public Boolean getBoolItem() { + @javax.annotation.Nonnull public Boolean getBoolItem() { return boolItem; } @@ -200,8 +190,7 @@ public class TypeHolderExample implements Parcelable { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - public List getArrayItem() { + @javax.annotation.Nonnull public List getArrayItem() { return arrayItem; } @@ -210,7 +199,6 @@ public class TypeHolderExample implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java index b7c5c323b83..589c2987e0b 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/User.java @@ -51,46 +51,39 @@ import org.openapitools.client.JSON; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User implements Parcelable { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -104,8 +97,7 @@ public class User implements Parcelable { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -123,8 +115,7 @@ public class User implements Parcelable { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -142,8 +133,7 @@ public class User implements Parcelable { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -161,8 +151,7 @@ public class User implements Parcelable { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -180,8 +169,7 @@ public class User implements Parcelable { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -199,8 +187,7 @@ public class User implements Parcelable { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -218,8 +205,7 @@ public class User implements Parcelable { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -237,8 +223,7 @@ public class User implements Parcelable { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -247,7 +232,6 @@ public class User implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/XmlItem.java index 0f1f6ceaf11..6651d2ddf07 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/XmlItem.java @@ -54,151 +54,123 @@ import org.openapitools.client.JSON; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem implements Parcelable { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -212,8 +184,7 @@ public class XmlItem implements Parcelable { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - public String getAttributeString() { + @javax.annotation.Nullable public String getAttributeString() { return attributeString; } @@ -231,8 +202,7 @@ public class XmlItem implements Parcelable { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - public BigDecimal getAttributeNumber() { + @javax.annotation.Nullable public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -250,8 +220,7 @@ public class XmlItem implements Parcelable { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - public Integer getAttributeInteger() { + @javax.annotation.Nullable public Integer getAttributeInteger() { return attributeInteger; } @@ -269,8 +238,7 @@ public class XmlItem implements Parcelable { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - public Boolean getAttributeBoolean() { + @javax.annotation.Nullable public Boolean getAttributeBoolean() { return attributeBoolean; } @@ -296,8 +264,7 @@ public class XmlItem implements Parcelable { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - public List getWrappedArray() { + @javax.annotation.Nullable public List getWrappedArray() { return wrappedArray; } @@ -315,8 +282,7 @@ public class XmlItem implements Parcelable { * Get nameString * @return nameString */ - @javax.annotation.Nullable - public String getNameString() { + @javax.annotation.Nullable public String getNameString() { return nameString; } @@ -334,8 +300,7 @@ public class XmlItem implements Parcelable { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - public BigDecimal getNameNumber() { + @javax.annotation.Nullable public BigDecimal getNameNumber() { return nameNumber; } @@ -353,8 +318,7 @@ public class XmlItem implements Parcelable { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - public Integer getNameInteger() { + @javax.annotation.Nullable public Integer getNameInteger() { return nameInteger; } @@ -372,8 +336,7 @@ public class XmlItem implements Parcelable { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - public Boolean getNameBoolean() { + @javax.annotation.Nullable public Boolean getNameBoolean() { return nameBoolean; } @@ -399,8 +362,7 @@ public class XmlItem implements Parcelable { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - public List getNameArray() { + @javax.annotation.Nullable public List getNameArray() { return nameArray; } @@ -426,8 +388,7 @@ public class XmlItem implements Parcelable { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - public List getNameWrappedArray() { + @javax.annotation.Nullable public List getNameWrappedArray() { return nameWrappedArray; } @@ -445,8 +406,7 @@ public class XmlItem implements Parcelable { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - public String getPrefixString() { + @javax.annotation.Nullable public String getPrefixString() { return prefixString; } @@ -464,8 +424,7 @@ public class XmlItem implements Parcelable { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - public BigDecimal getPrefixNumber() { + @javax.annotation.Nullable public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -483,8 +442,7 @@ public class XmlItem implements Parcelable { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - public Integer getPrefixInteger() { + @javax.annotation.Nullable public Integer getPrefixInteger() { return prefixInteger; } @@ -502,8 +460,7 @@ public class XmlItem implements Parcelable { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - public Boolean getPrefixBoolean() { + @javax.annotation.Nullable public Boolean getPrefixBoolean() { return prefixBoolean; } @@ -529,8 +486,7 @@ public class XmlItem implements Parcelable { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - public List getPrefixArray() { + @javax.annotation.Nullable public List getPrefixArray() { return prefixArray; } @@ -556,8 +512,7 @@ public class XmlItem implements Parcelable { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - public List getPrefixWrappedArray() { + @javax.annotation.Nullable public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -575,8 +530,7 @@ public class XmlItem implements Parcelable { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - public String getNamespaceString() { + @javax.annotation.Nullable public String getNamespaceString() { return namespaceString; } @@ -594,8 +548,7 @@ public class XmlItem implements Parcelable { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - public BigDecimal getNamespaceNumber() { + @javax.annotation.Nullable public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -613,8 +566,7 @@ public class XmlItem implements Parcelable { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - public Integer getNamespaceInteger() { + @javax.annotation.Nullable public Integer getNamespaceInteger() { return namespaceInteger; } @@ -632,8 +584,7 @@ public class XmlItem implements Parcelable { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - public Boolean getNamespaceBoolean() { + @javax.annotation.Nullable public Boolean getNamespaceBoolean() { return namespaceBoolean; } @@ -659,8 +610,7 @@ public class XmlItem implements Parcelable { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - public List getNamespaceArray() { + @javax.annotation.Nullable public List getNamespaceArray() { return namespaceArray; } @@ -686,8 +636,7 @@ public class XmlItem implements Parcelable { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - public List getNamespaceWrappedArray() { + @javax.annotation.Nullable public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -705,8 +654,7 @@ public class XmlItem implements Parcelable { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - public String getPrefixNsString() { + @javax.annotation.Nullable public String getPrefixNsString() { return prefixNsString; } @@ -724,8 +672,7 @@ public class XmlItem implements Parcelable { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - public BigDecimal getPrefixNsNumber() { + @javax.annotation.Nullable public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -743,8 +690,7 @@ public class XmlItem implements Parcelable { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - public Integer getPrefixNsInteger() { + @javax.annotation.Nullable public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -762,8 +708,7 @@ public class XmlItem implements Parcelable { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - public Boolean getPrefixNsBoolean() { + @javax.annotation.Nullable public Boolean getPrefixNsBoolean() { return prefixNsBoolean; } @@ -789,8 +734,7 @@ public class XmlItem implements Parcelable { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - public List getPrefixNsArray() { + @javax.annotation.Nullable public List getPrefixNsArray() { return prefixNsArray; } @@ -816,8 +760,7 @@ public class XmlItem implements Parcelable { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { + @javax.annotation.Nullable public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } @@ -826,7 +769,6 @@ public class XmlItem implements Parcelable { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Category.java index 39b9a8ebaa7..fedbdd9bc08 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Category.java @@ -52,16 +52,15 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "A category for a pet") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -75,8 +74,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getId() { return id; } @@ -95,8 +93,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getName() { return name; } @@ -150,7 +147,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java index dcefda59a0d..bb1077bc06d 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "Describes the result of uploading an image resource") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -80,8 +78,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Integer getCode() { return code; } @@ -100,8 +97,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getType() { return type; } @@ -120,8 +116,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getMessage() { return message; } @@ -175,7 +170,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Order.java index 3ea19019893..ebc8d5eaff3 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Order.java @@ -53,26 +53,23 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "An order for a pets from the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -127,16 +124,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -150,8 +144,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getId() { return id; } @@ -170,8 +163,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getPetId() { return petId; } @@ -190,8 +182,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Integer getQuantity() { return quantity; } @@ -210,8 +201,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public OffsetDateTime getShipDate() { return shipDate; } @@ -230,8 +220,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @ApiModelProperty(value = "Order Status") + @javax.annotation.Nullable @ApiModelProperty(value = "Order Status") public StatusEnum getStatus() { return status; } @@ -250,8 +239,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Boolean getComplete() { return complete; } @@ -305,7 +293,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Pet.java index 7dd5ffad472..40b2053aa06 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Pet.java @@ -56,31 +56,27 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "A pet for sale in the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -135,12 +131,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -154,8 +148,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getId() { return id; } @@ -174,8 +167,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Category getCategory() { return category; } @@ -194,8 +186,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @ApiModelProperty(example = "doggie", required = true, value = "") + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { return name; } @@ -222,8 +213,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getPhotoUrls() { return photoUrls; } @@ -250,8 +240,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public List getTags() { return tags; } @@ -273,8 +262,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @ApiModelProperty(value = "pet status in the store") + @javax.annotation.Nullable @ApiModelProperty(value = "pet status in the store") public StatusEnum getStatus() { return status; } @@ -329,7 +317,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Tag.java index 8f5257f9eee..c91a7ab858d 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/Tag.java @@ -52,16 +52,15 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "A tag for a pet") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -75,8 +74,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getId() { return id; } @@ -95,8 +93,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getName() { return name; } @@ -150,7 +147,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java index 3ae44ced878..4f58c3f259a 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/model/User.java @@ -52,46 +52,39 @@ import org.openapitools.client.JSON; */ @ApiModel(description = "A User who is purchasing from the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -105,8 +98,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public Long getId() { return id; } @@ -125,8 +117,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getUsername() { return username; } @@ -145,8 +136,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getFirstName() { return firstName; } @@ -165,8 +155,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getLastName() { return lastName; } @@ -185,8 +174,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getEmail() { return email; } @@ -205,8 +193,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getPassword() { return password; } @@ -225,8 +212,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") public String getPhone() { return phone; } @@ -245,8 +231,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @ApiModelProperty(value = "User Status") + @javax.annotation.Nullable @ApiModelProperty(value = "User Status") public Integer getUserStatus() { return userStatus; } @@ -300,7 +285,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index a577316c802..3cbe8cdc6ea 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Category.java index f73e02d0236..3004de925d8 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Category.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; */ @Schema(description = "A category for a pet") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -74,8 +73,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getId() { return id; } @@ -94,8 +92,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getName() { return name; } @@ -149,7 +146,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 8ace8ccfd72..c01f7dc9465 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -51,21 +51,19 @@ import org.openapitools.client.JSON; */ @Schema(description = "Describes the result of uploading an image resource") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -79,8 +77,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Integer getCode() { return code; } @@ -99,8 +96,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getType() { return type; } @@ -119,8 +115,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getMessage() { return message; } @@ -174,7 +169,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Order.java index f171e2ee3f4..cb01f9905df 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Order.java @@ -52,26 +52,23 @@ import org.openapitools.client.JSON; */ @Schema(description = "An order for a pets from the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -126,16 +123,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -149,8 +143,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getId() { return id; } @@ -169,8 +162,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getPetId() { return petId; } @@ -189,8 +181,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Integer getQuantity() { return quantity; } @@ -209,8 +200,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public OffsetDateTime getShipDate() { return shipDate; } @@ -229,8 +219,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") public StatusEnum getStatus() { return status; } @@ -249,8 +238,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Boolean getComplete() { return complete; } @@ -304,7 +292,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Pet.java index 9b3bba4f629..47e9c9719d6 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Pet.java @@ -55,31 +55,27 @@ import org.openapitools.client.JSON; */ @Schema(description = "A pet for sale in the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -134,12 +130,10 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -153,8 +147,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getId() { return id; } @@ -173,8 +166,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Category getCategory() { return category; } @@ -193,8 +185,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") public String getName() { return name; } @@ -221,8 +212,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") public List getPhotoUrls() { return photoUrls; } @@ -249,8 +239,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public List getTags() { return tags; } @@ -272,8 +261,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") public StatusEnum getStatus() { return status; } @@ -328,7 +316,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Tag.java index 1ab4fb7fe65..c4399032d03 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/Tag.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; */ @Schema(description = "A tag for a pet") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -74,8 +73,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getId() { return id; } @@ -94,8 +92,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getName() { return name; } @@ -149,7 +146,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java index 622d71015ec..3932f5bd265 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -51,46 +51,39 @@ import org.openapitools.client.JSON; */ @Schema(description = "A User who is purchasing from the pet store") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -104,8 +97,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public Long getId() { return id; } @@ -124,8 +116,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getUsername() { return username; } @@ -144,8 +135,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getFirstName() { return firstName; } @@ -164,8 +154,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getLastName() { return lastName; } @@ -184,8 +173,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getEmail() { return email; } @@ -204,8 +192,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getPassword() { return password; } @@ -224,8 +211,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") public String getPhone() { return phone; } @@ -244,8 +230,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "User Status") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "User Status") public Integer getUserStatus() { return userStatus; } @@ -299,7 +284,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java index cd079bdc58b..d31a784d93f 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java @@ -142,5 +142,4 @@ public abstract class AbstractOpenApiSchema { } - } diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 16593bdd415..8c0f9cbb0dd 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -52,46 +52,39 @@ import org.openapitools.client.JSON; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_PROPERTY = "map_property"; @SerializedName(SERIALIZED_NAME_MAP_PROPERTY) - @javax.annotation.Nullable - private Map mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_OF_MAP_PROPERTY = "map_of_map_property"; @SerializedName(SERIALIZED_NAME_MAP_OF_MAP_PROPERTY) - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1 = null; + @javax.annotation.Nullable private Object anytype1 = null; public static final String SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1 = "map_with_undeclared_properties_anytype_1"; @SerializedName(SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype1; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype1; public static final String SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2 = "map_with_undeclared_properties_anytype_2"; @SerializedName(SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) - @javax.annotation.Nullable - private Object mapWithUndeclaredPropertiesAnytype2; + @javax.annotation.Nullable private Object mapWithUndeclaredPropertiesAnytype2; public static final String SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3 = "map_with_undeclared_properties_anytype_3"; @SerializedName(SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesAnytype3 = new HashMap<>(); public static final String SERIALIZED_NAME_EMPTY_MAP = "empty_map"; @SerializedName(SERIALIZED_NAME_EMPTY_MAP) - @javax.annotation.Nullable - private Object emptyMap; + @javax.annotation.Nullable private Object emptyMap; public static final String SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_STRING = "map_with_undeclared_properties_string"; @SerializedName(SERIALIZED_NAME_MAP_WITH_UNDECLARED_PROPERTIES_STRING) - @javax.annotation.Nullable - private Map mapWithUndeclaredPropertiesString = new HashMap<>(); + @javax.annotation.Nullable private Map mapWithUndeclaredPropertiesString = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -113,8 +106,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - public Map getMapProperty() { + @javax.annotation.Nullable public Map getMapProperty() { return mapProperty; } @@ -140,8 +132,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - public Map> getMapOfMapProperty() { + @javax.annotation.Nullable public Map> getMapOfMapProperty() { return mapOfMapProperty; } @@ -159,8 +150,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - public Object getAnytype1() { + @javax.annotation.Nullable public Object getAnytype1() { return anytype1; } @@ -178,8 +168,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype1 * @return mapWithUndeclaredPropertiesAnytype1 */ - @javax.annotation.Nullable - public Object getMapWithUndeclaredPropertiesAnytype1() { + @javax.annotation.Nullable public Object getMapWithUndeclaredPropertiesAnytype1() { return mapWithUndeclaredPropertiesAnytype1; } @@ -197,8 +186,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype2 * @return mapWithUndeclaredPropertiesAnytype2 */ - @javax.annotation.Nullable - public Object getMapWithUndeclaredPropertiesAnytype2() { + @javax.annotation.Nullable public Object getMapWithUndeclaredPropertiesAnytype2() { return mapWithUndeclaredPropertiesAnytype2; } @@ -224,8 +212,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesAnytype3 * @return mapWithUndeclaredPropertiesAnytype3 */ - @javax.annotation.Nullable - public Map getMapWithUndeclaredPropertiesAnytype3() { + @javax.annotation.Nullable public Map getMapWithUndeclaredPropertiesAnytype3() { return mapWithUndeclaredPropertiesAnytype3; } @@ -243,8 +230,7 @@ public class AdditionalPropertiesClass { * an object with no declared properties and no undeclared properties, hence it's an empty map. * @return emptyMap */ - @javax.annotation.Nullable - public Object getEmptyMap() { + @javax.annotation.Nullable public Object getEmptyMap() { return emptyMap; } @@ -270,8 +256,7 @@ public class AdditionalPropertiesClass { * Get mapWithUndeclaredPropertiesString * @return mapWithUndeclaredPropertiesString */ - @javax.annotation.Nullable - public Map getMapWithUndeclaredPropertiesString() { + @javax.annotation.Nullable public Map getMapWithUndeclaredPropertiesString() { return mapWithUndeclaredPropertiesString; } @@ -324,7 +309,6 @@ public class AdditionalPropertiesClass { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOf.java index 75d05d78b3a..f55e6415209 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOf.java @@ -51,26 +51,23 @@ import org.openapitools.client.JSON; * AllOfModelArrayAnyOf */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfModelArrayAnyOf { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public static final String SERIALIZED_NAME_LINK_LIST_COLUMN1 = "linkListColumn1"; @SerializedName(SERIALIZED_NAME_LINK_LIST_COLUMN1) - @javax.annotation.Nullable - private AllOfModelArrayAnyOfAllOfLinkListColumn1 linkListColumn1; + @javax.annotation.Nullable private AllOfModelArrayAnyOfAllOfLinkListColumn1 linkListColumn1; public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) - @javax.annotation.Nullable - private AllOfModelArrayAnyOfAllOfAttributes attributes; + @javax.annotation.Nullable private AllOfModelArrayAnyOfAllOfAttributes attributes; public AllOfModelArrayAnyOf() { } @@ -84,8 +81,7 @@ public class AllOfModelArrayAnyOf { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -103,8 +99,7 @@ public class AllOfModelArrayAnyOf { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -122,8 +117,7 @@ public class AllOfModelArrayAnyOf { * Get linkListColumn1 * @return linkListColumn1 */ - @javax.annotation.Nullable - public AllOfModelArrayAnyOfAllOfLinkListColumn1 getLinkListColumn1() { + @javax.annotation.Nullable public AllOfModelArrayAnyOfAllOfLinkListColumn1 getLinkListColumn1() { return linkListColumn1; } @@ -141,8 +135,7 @@ public class AllOfModelArrayAnyOf { * Get attributes * @return attributes */ - @javax.annotation.Nullable - public AllOfModelArrayAnyOfAllOfAttributes getAttributes() { + @javax.annotation.Nullable public AllOfModelArrayAnyOfAllOfAttributes getAttributes() { return attributes; } @@ -195,7 +188,6 @@ public class AllOfModelArrayAnyOf { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributes.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributes.java index 5f756714f75..4e48fb9ad9c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributes.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributes.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * AllOfModelArrayAnyOfAllOfAttributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfModelArrayAnyOfAllOfAttributes { public static final String SERIALIZED_NAME_C = "C"; @SerializedName(SERIALIZED_NAME_C) - @javax.annotation.Nullable - private AllOfModelArrayAnyOfAllOfAttributesC C; + @javax.annotation.Nullable private AllOfModelArrayAnyOfAllOfAttributesC C; public AllOfModelArrayAnyOfAllOfAttributes() { } @@ -68,8 +68,7 @@ public class AllOfModelArrayAnyOfAllOfAttributes { * Get C * @return C */ - @javax.annotation.Nullable - public AllOfModelArrayAnyOfAllOfAttributesC getC() { + @javax.annotation.Nullable public AllOfModelArrayAnyOfAllOfAttributesC getC() { return C; } @@ -122,7 +121,6 @@ public class AllOfModelArrayAnyOfAllOfAttributes { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributesC.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributesC.java index efdde39493f..121c4fbce9e 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributesC.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfAttributesC.java @@ -65,6 +65,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfModelArrayAnyOfAllOfAttributesC extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AllOfModelArrayAnyOfAllOfAttributesC.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1.java index 90333d54c67..5e27f2c2905 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * AllOfModelArrayAnyOfAllOfLinkListColumn1 */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfModelArrayAnyOfAllOfLinkListColumn1 { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nonnull - private List value = new ArrayList<>(); + @javax.annotation.Nonnull private List value = new ArrayList<>(); public AllOfModelArrayAnyOfAllOfLinkListColumn1() { } @@ -78,8 +78,7 @@ public class AllOfModelArrayAnyOfAllOfLinkListColumn1 { * Get value * @return value */ - @javax.annotation.Nonnull - public List getValue() { + @javax.annotation.Nonnull public List getValue() { return value; } @@ -132,7 +131,6 @@ public class AllOfModelArrayAnyOfAllOfLinkListColumn1 { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1Value.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1Value.java index f0f8425949e..96372aa2eb6 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1Value.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1Value.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfModelArrayAnyOfAllOfLinkListColumn1Value extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AllOfModelArrayAnyOfAllOfLinkListColumn1Value.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java index 6ca3d6967ed..6b18f07a8b0 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color = "red"; + @javax.annotation.Nullable private String color = "red"; public Animal() { this.className = this.getClass().getSimpleName(); @@ -73,8 +72,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -92,8 +90,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -146,7 +143,6 @@ public class Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Apple.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Apple.java index ceefe69ba28..ef1fc1ba2a7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Apple.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Apple.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Apple */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Apple { public static final String SERIALIZED_NAME_CULTIVAR = "cultivar"; @SerializedName(SERIALIZED_NAME_CULTIVAR) - @javax.annotation.Nullable - private String cultivar; + @javax.annotation.Nullable private String cultivar; public static final String SERIALIZED_NAME_ORIGIN = "origin"; @SerializedName(SERIALIZED_NAME_ORIGIN) - @javax.annotation.Nullable - private String origin; + @javax.annotation.Nullable private String origin; public Apple() { } @@ -72,8 +71,7 @@ public class Apple { * Get cultivar * @return cultivar */ - @javax.annotation.Nullable - public String getCultivar() { + @javax.annotation.Nullable public String getCultivar() { return cultivar; } @@ -91,8 +89,7 @@ public class Apple { * Get origin * @return origin */ - @javax.annotation.Nullable - public String getOrigin() { + @javax.annotation.Nullable public String getOrigin() { return origin; } @@ -145,7 +142,6 @@ public class Apple { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AppleReq.java index c068fbff782..bf8c0a6d720 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AppleReq.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * AppleReq */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AppleReq { public static final String SERIALIZED_NAME_CULTIVAR = "cultivar"; @SerializedName(SERIALIZED_NAME_CULTIVAR) - @javax.annotation.Nonnull - private String cultivar; + @javax.annotation.Nonnull private String cultivar; public static final String SERIALIZED_NAME_MEALY = "mealy"; @SerializedName(SERIALIZED_NAME_MEALY) - @javax.annotation.Nullable - private Boolean mealy; + @javax.annotation.Nullable private Boolean mealy; public AppleReq() { } @@ -72,8 +71,7 @@ public class AppleReq { * Get cultivar * @return cultivar */ - @javax.annotation.Nonnull - public String getCultivar() { + @javax.annotation.Nonnull public String getCultivar() { return cultivar; } @@ -91,8 +89,7 @@ public class AppleReq { * Get mealy * @return mealy */ - @javax.annotation.Nullable - public Boolean getMealy() { + @javax.annotation.Nullable public Boolean getMealy() { return mealy; } @@ -101,7 +98,6 @@ public class AppleReq { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayAnyOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayAnyOf.java index 53e0bcf4a03..e823426844a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayAnyOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayAnyOf.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayAnyOf extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ArrayAnyOf.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayDefault.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayDefault.java index 8d41d7a7341..39695135bfa 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayDefault.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayDefault.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * ArrayDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayDefault { public static final String SERIALIZED_NAME_WITH_DEFAULT_EMPTY_BRACKET = "WithDefaultEmptyBracket"; @SerializedName(SERIALIZED_NAME_WITH_DEFAULT_EMPTY_BRACKET) - @javax.annotation.Nullable - private List withDefaultEmptyBracket = new ArrayList<>(); + @javax.annotation.Nullable private List withDefaultEmptyBracket = new ArrayList<>(); public static final String SERIALIZED_NAME_WITHOUT_DEFAULT = "WithoutDefault"; @SerializedName(SERIALIZED_NAME_WITHOUT_DEFAULT) - @javax.annotation.Nullable - private List withoutDefault = new ArrayList<>(); + @javax.annotation.Nullable private List withoutDefault = new ArrayList<>(); public ArrayDefault() { } @@ -82,8 +81,7 @@ public class ArrayDefault { * Get withDefaultEmptyBracket * @return withDefaultEmptyBracket */ - @javax.annotation.Nullable - public List getWithDefaultEmptyBracket() { + @javax.annotation.Nullable public List getWithDefaultEmptyBracket() { return withDefaultEmptyBracket; } @@ -109,8 +107,7 @@ public class ArrayDefault { * Get withoutDefault * @return withoutDefault */ - @javax.annotation.Nullable - public List getWithoutDefault() { + @javax.annotation.Nullable public List getWithoutDefault() { return withoutDefault; } @@ -163,7 +160,6 @@ public class ArrayDefault { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 8a3fb4ab0d1..5e088a1c467 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -78,8 +78,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - public List> getArrayArrayNumber() { + @javax.annotation.Nullable public List> getArrayArrayNumber() { return arrayArrayNumber; } @@ -132,7 +131,6 @@ public class ArrayOfArrayOfNumberOnly { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOf.java index aa3479b1f4f..bb638ad4b2e 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOf.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * ArrayOfInlineAllOf */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfInlineAllOf { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_ARRAY_ALLOF_DOG_PROPERTY = "array_allof_dog_property"; @SerializedName(SERIALIZED_NAME_ARRAY_ALLOF_DOG_PROPERTY) - @javax.annotation.Nullable - private List arrayAllofDogProperty = new ArrayList<>(); + @javax.annotation.Nullable private List arrayAllofDogProperty = new ArrayList<>(); public ArrayOfInlineAllOf() { } @@ -80,8 +78,7 @@ public class ArrayOfInlineAllOf { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -99,8 +96,7 @@ public class ArrayOfInlineAllOf { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -126,8 +122,7 @@ public class ArrayOfInlineAllOf { * Get arrayAllofDogProperty * @return arrayAllofDogProperty */ - @javax.annotation.Nullable - public List getArrayAllofDogProperty() { + @javax.annotation.Nullable public List getArrayAllofDogProperty() { return arrayAllofDogProperty; } @@ -180,7 +175,6 @@ public class ArrayOfInlineAllOf { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInner.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInner.java index 8c8eefd36a2..de81f9e4c4e 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInner.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfInlineAllOfArrayAllofDogPropertyInner.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * ArrayOfInlineAllOfArrayAllofDogPropertyInner */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfInlineAllOfArrayAllofDogPropertyInner { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - private String color; + @javax.annotation.Nullable private String color; public ArrayOfInlineAllOfArrayAllofDogPropertyInner() { } @@ -72,8 +71,7 @@ public class ArrayOfInlineAllOfArrayAllofDogPropertyInner { * Get breed * @return breed */ - @javax.annotation.Nullable - public String getBreed() { + @javax.annotation.Nullable public String getBreed() { return breed; } @@ -91,8 +89,7 @@ public class ArrayOfInlineAllOfArrayAllofDogPropertyInner { * Get color * @return color */ - @javax.annotation.Nullable - public String getColor() { + @javax.annotation.Nullable public String getColor() { return color; } @@ -145,7 +142,6 @@ public class ArrayOfInlineAllOfArrayAllofDogPropertyInner { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index cf21b4ac9a1..29b4ec10fb8 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -52,11 +52,11 @@ import org.openapitools.client.JSON; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -78,8 +78,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - public List getArrayNumber() { + @javax.annotation.Nullable public List getArrayNumber() { return arrayNumber; } @@ -132,7 +131,6 @@ public class ArrayOfNumberOnly { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOneOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOneOf.java index 1db858b0f3f..d4bf667c624 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOneOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayOneOf.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOneOf extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ArrayOneOf.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayTest.java index ce61db498af..b0b3d283691 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -52,21 +52,19 @@ import org.openapitools.client.JSON; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -88,8 +86,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - public List getArrayOfString() { + @javax.annotation.Nullable public List getArrayOfString() { return arrayOfString; } @@ -115,8 +112,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { + @javax.annotation.Nullable public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -142,8 +138,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - public List> getArrayArrayOfModel() { + @javax.annotation.Nullable public List> getArrayArrayOfModel() { return arrayArrayOfModel; } @@ -196,7 +191,6 @@ public class ArrayTest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Banana.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Banana.java index e6112ba1347..159fdf88859 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Banana.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Banana.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Banana */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Banana { public static final String SERIALIZED_NAME_LENGTH_CM = "lengthCm"; @SerializedName(SERIALIZED_NAME_LENGTH_CM) - @javax.annotation.Nullable - private BigDecimal lengthCm; + @javax.annotation.Nullable private BigDecimal lengthCm; public Banana() { } @@ -68,8 +68,7 @@ public class Banana { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nullable - public BigDecimal getLengthCm() { + @javax.annotation.Nullable public BigDecimal getLengthCm() { return lengthCm; } @@ -122,7 +121,6 @@ public class Banana { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BananaReq.java index 32e3759d635..50a2ba09f98 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BananaReq.java @@ -50,16 +50,15 @@ import org.openapitools.client.JSON; * BananaReq */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BananaReq { public static final String SERIALIZED_NAME_LENGTH_CM = "lengthCm"; @SerializedName(SERIALIZED_NAME_LENGTH_CM) - @javax.annotation.Nonnull - private BigDecimal lengthCm; + @javax.annotation.Nonnull private BigDecimal lengthCm; public static final String SERIALIZED_NAME_SWEET = "sweet"; @SerializedName(SERIALIZED_NAME_SWEET) - @javax.annotation.Nullable - private Boolean sweet; + @javax.annotation.Nullable private Boolean sweet; public BananaReq() { } @@ -73,8 +72,7 @@ public class BananaReq { * Get lengthCm * @return lengthCm */ - @javax.annotation.Nonnull - public BigDecimal getLengthCm() { + @javax.annotation.Nonnull public BigDecimal getLengthCm() { return lengthCm; } @@ -92,8 +90,7 @@ public class BananaReq { * Get sweet * @return sweet */ - @javax.annotation.Nullable - public Boolean getSweet() { + @javax.annotation.Nullable public Boolean getSweet() { return sweet; } @@ -102,7 +99,6 @@ public class BananaReq { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BasquePig.java index 6ded2877d02..641f6cbfca0 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/BasquePig.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * BasquePig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BasquePig { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public BasquePig() { } @@ -67,8 +67,7 @@ public class BasquePig { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -121,7 +120,6 @@ public class BasquePig { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Capitalization.java index d786023e334..fb7c0fb25af 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Capitalization.java @@ -49,36 +49,31 @@ import org.openapitools.client.JSON; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -92,8 +87,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - public String getSmallCamel() { + @javax.annotation.Nullable public String getSmallCamel() { return smallCamel; } @@ -111,8 +105,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - public String getCapitalCamel() { + @javax.annotation.Nullable public String getCapitalCamel() { return capitalCamel; } @@ -130,8 +123,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - public String getSmallSnake() { + @javax.annotation.Nullable public String getSmallSnake() { return smallSnake; } @@ -149,8 +141,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - public String getCapitalSnake() { + @javax.annotation.Nullable public String getCapitalSnake() { return capitalSnake; } @@ -168,8 +159,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - public String getScAETHFlowPoints() { + @javax.annotation.Nullable public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -187,8 +177,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - public String getATTNAME() { + @javax.annotation.Nullable public String getATTNAME() { return ATT_NAME; } @@ -241,7 +230,6 @@ public class Capitalization { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Cat.java index 7b8ee58288f..050c787871c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Cat.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { this.className = this.getClass().getSimpleName(); @@ -70,8 +70,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - public Boolean getDeclawed() { + @javax.annotation.Nullable public Boolean getDeclawed() { return declawed; } @@ -124,7 +123,6 @@ public class Cat extends Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java index 69f14ba2ead..caccad2c327 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -72,8 +71,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -145,7 +142,6 @@ public class Category { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ClassModel.java index 31fca454186..a1641886b76 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ClassModel.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -67,8 +67,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -121,7 +120,6 @@ public class ClassModel { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Client.java index 023a7958a7c..edcf0ad855f 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Client.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -67,8 +67,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - public String getClient() { + @javax.annotation.Nullable public String getClient() { return client; } @@ -121,7 +120,6 @@ public class Client { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index f35c22c0d7d..85e68ff2ce5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * ComplexQuadrilateral */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ComplexQuadrilateral { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String SERIALIZED_NAME_QUADRILATERAL_TYPE = "quadrilateralType"; @SerializedName(SERIALIZED_NAME_QUADRILATERAL_TYPE) - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public ComplexQuadrilateral() { } @@ -72,8 +71,7 @@ public class ComplexQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -91,8 +89,7 @@ public class ComplexQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - public String getQuadrilateralType() { + @javax.annotation.Nonnull public String getQuadrilateralType() { return quadrilateralType; } @@ -145,7 +142,6 @@ public class ComplexQuadrilateral { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DanishPig.java index f63fe000152..ff78e44146c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DanishPig.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * DanishPig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DanishPig { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public DanishPig() { } @@ -67,8 +67,7 @@ public class DanishPig { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -121,7 +120,6 @@ public class DanishPig { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DeprecatedObject.java index f156105af0f..53fe55dee23 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; */ @Deprecated @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -69,8 +69,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -123,7 +122,6 @@ public class DeprecatedObject { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Dog.java index dfef6252229..14ec0c042c0 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Dog.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { this.className = this.getClass().getSimpleName(); @@ -69,8 +69,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - public String getBreed() { + @javax.annotation.Nullable public String getBreed() { return breed; } @@ -123,7 +122,6 @@ public class Dog extends Animal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Drawing.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Drawing.java index 24934ad12e1..9a4bf0578d1 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Drawing.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Drawing.java @@ -56,26 +56,23 @@ import org.openapitools.client.JSON; * Drawing */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Drawing { public static final String SERIALIZED_NAME_MAIN_SHAPE = "mainShape"; @SerializedName(SERIALIZED_NAME_MAIN_SHAPE) - @javax.annotation.Nullable - private Shape mainShape; + @javax.annotation.Nullable private Shape mainShape; public static final String SERIALIZED_NAME_SHAPE_OR_NULL = "shapeOrNull"; @SerializedName(SERIALIZED_NAME_SHAPE_OR_NULL) - @javax.annotation.Nullable - private ShapeOrNull shapeOrNull; + @javax.annotation.Nullable private ShapeOrNull shapeOrNull; public static final String SERIALIZED_NAME_NULLABLE_SHAPE = "nullableShape"; @SerializedName(SERIALIZED_NAME_NULLABLE_SHAPE) - @javax.annotation.Nullable - private NullableShape nullableShape; + @javax.annotation.Nullable private NullableShape nullableShape; public static final String SERIALIZED_NAME_SHAPES = "shapes"; @SerializedName(SERIALIZED_NAME_SHAPES) - @javax.annotation.Nullable - private List shapes = new ArrayList<>(); + @javax.annotation.Nullable private List shapes = new ArrayList<>(); public Drawing() { } @@ -89,8 +86,7 @@ public class Drawing { * Get mainShape * @return mainShape */ - @javax.annotation.Nullable - public Shape getMainShape() { + @javax.annotation.Nullable public Shape getMainShape() { return mainShape; } @@ -108,8 +104,7 @@ public class Drawing { * Get shapeOrNull * @return shapeOrNull */ - @javax.annotation.Nullable - public ShapeOrNull getShapeOrNull() { + @javax.annotation.Nullable public ShapeOrNull getShapeOrNull() { return shapeOrNull; } @@ -127,8 +122,7 @@ public class Drawing { * Get nullableShape * @return nullableShape */ - @javax.annotation.Nullable - public NullableShape getNullableShape() { + @javax.annotation.Nullable public NullableShape getNullableShape() { return nullableShape; } @@ -154,8 +148,7 @@ public class Drawing { * Get shapes * @return shapes */ - @javax.annotation.Nullable - public List getShapes() { + @javax.annotation.Nullable public List getShapes() { return shapes; } @@ -208,7 +201,6 @@ public class Drawing { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumArrays.java index 80ad1e7b9dd..3d13d09c6fb 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -51,6 +51,7 @@ import org.openapitools.client.JSON; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -103,11 +104,9 @@ public class EnumArrays { JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -160,11 +159,9 @@ public class EnumArrays { ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -178,8 +175,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { + @javax.annotation.Nullable public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -205,8 +201,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - public List getArrayEnum() { + @javax.annotation.Nullable public List getArrayEnum() { return arrayEnum; } @@ -259,7 +254,6 @@ public class EnumArrays { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumStringDiscriminator.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumStringDiscriminator.java index b657538588d..32cf67f1631 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumStringDiscriminator.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumStringDiscriminator.java @@ -49,6 +49,7 @@ import org.openapitools.client.JSON; * An object to test discriminator of enum string */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumStringDiscriminator { /** * enum string type @@ -101,11 +102,9 @@ public class EnumStringDiscriminator { EnumStrTypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STR_TYPE = "enum_str_type"; @SerializedName(SERIALIZED_NAME_ENUM_STR_TYPE) - @javax.annotation.Nonnull - protected EnumStrTypeEnum enumStrType; + @javax.annotation.Nonnull protected EnumStrTypeEnum enumStrType; public EnumStringDiscriminator() { } @@ -119,8 +118,7 @@ public class EnumStringDiscriminator { * enum string type * @return enumStrType */ - @javax.annotation.Nonnull - public EnumStrTypeEnum getEnumStrType() { + @javax.annotation.Nonnull public EnumStrTypeEnum getEnumStrType() { return enumStrType; } @@ -173,7 +171,6 @@ public class EnumStringDiscriminator { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java index b9f647c0006..4889a30599b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java @@ -54,6 +54,7 @@ import org.openapitools.client.JSON; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -108,11 +109,9 @@ public class EnumTest { EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -167,11 +166,9 @@ public class EnumTest { EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -224,11 +221,9 @@ public class EnumTest { EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumIntegerOnly @@ -281,11 +276,9 @@ public class EnumTest { EnumIntegerOnlyEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER_ONLY = "enum_integer_only"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER_ONLY) - @javax.annotation.Nullable - private EnumIntegerOnlyEnum enumIntegerOnly; + @javax.annotation.Nullable private EnumIntegerOnlyEnum enumIntegerOnly; /** * Gets or Sets enumNumber @@ -338,31 +331,25 @@ public class EnumTest { EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public static final String SERIALIZED_NAME_OUTER_ENUM_INTEGER = "outerEnumInteger"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM_INTEGER) - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String SERIALIZED_NAME_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM_DEFAULT_VALUE) - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String SERIALIZED_NAME_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM_INTEGER_DEFAULT_VALUE) - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -376,8 +363,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - public EnumStringEnum getEnumString() { + @javax.annotation.Nullable public EnumStringEnum getEnumString() { return enumString; } @@ -395,8 +381,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { + @javax.annotation.Nonnull public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -414,8 +399,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { + @javax.annotation.Nullable public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -433,8 +417,7 @@ public class EnumTest { * Get enumIntegerOnly * @return enumIntegerOnly */ - @javax.annotation.Nullable - public EnumIntegerOnlyEnum getEnumIntegerOnly() { + @javax.annotation.Nullable public EnumIntegerOnlyEnum getEnumIntegerOnly() { return enumIntegerOnly; } @@ -452,8 +435,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { + @javax.annotation.Nullable public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -471,8 +453,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - public OuterEnum getOuterEnum() { + @javax.annotation.Nullable public OuterEnum getOuterEnum() { return outerEnum; } @@ -490,8 +471,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - public OuterEnumInteger getOuterEnumInteger() { + @javax.annotation.Nullable public OuterEnumInteger getOuterEnumInteger() { return outerEnumInteger; } @@ -509,8 +489,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - public OuterEnumDefaultValue getOuterEnumDefaultValue() { + @javax.annotation.Nullable public OuterEnumDefaultValue getOuterEnumDefaultValue() { return outerEnumDefaultValue; } @@ -528,8 +507,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { + @javax.annotation.Nullable public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { return outerEnumIntegerDefaultValue; } @@ -582,7 +560,6 @@ public class EnumTest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index c664bb6a4fc..796e23d269a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * EquilateralTriangle */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EquilateralTriangle { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String SERIALIZED_NAME_TRIANGLE_TYPE = "triangleType"; @SerializedName(SERIALIZED_NAME_TRIANGLE_TYPE) - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public EquilateralTriangle() { } @@ -72,8 +71,7 @@ public class EquilateralTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -91,8 +89,7 @@ public class EquilateralTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - public String getTriangleType() { + @javax.annotation.Nonnull public String getTriangleType() { return triangleType; } @@ -145,7 +142,6 @@ public class EquilateralTriangle { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeAnyOfWIthSameErasureGet200Response.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeAnyOfWIthSameErasureGet200Response.java index c7cd7e4e565..817265a9819 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeAnyOfWIthSameErasureGet200Response.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeAnyOfWIthSameErasureGet200Response.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeAnyOfWIthSameErasureGet200Response extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(FakeAnyOfWIthSameErasureGet200Response.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeOneOfWIthSameErasureGet200Response.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeOneOfWIthSameErasureGet200Response.java index 62efc28cd29..109d2c9f9fc 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeOneOfWIthSameErasureGet200Response.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeOneOfWIthSameErasureGet200Response.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeOneOfWIthSameErasureGet200Response extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(FakeOneOfWIthSameErasureGet200Response.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeRefParameterPetIdParameter.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeRefParameterPetIdParameter.java index e36bf955abf..cc042528d0c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeRefParameterPetIdParameter.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FakeRefParameterPetIdParameter.java @@ -51,6 +51,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeRefParameterPetIdParameter extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(FakeRefParameterPetIdParameter.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index bb107516598..5621e31516c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -52,16 +52,15 @@ import org.openapitools.client.JSON; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -75,8 +74,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - public ModelFile getFile() { + @javax.annotation.Nullable public ModelFile getFile() { return _file; } @@ -102,8 +100,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - public List getFiles() { + @javax.annotation.Nullable public List getFiles() { return files; } @@ -156,7 +153,6 @@ public class FileSchemaTestClass { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Foo.java index 718e074ee6e..257850a296a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Foo.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Foo */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -67,8 +67,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -121,7 +120,6 @@ public class Foo { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 023db16359a..218dd6b8fb7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * FooGetDefaultResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -68,8 +68,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - public Foo getString() { + @javax.annotation.Nullable public Foo getString() { return string; } @@ -122,7 +121,6 @@ public class FooGetDefaultResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java index 6afb7d793d6..8805d49675f 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java @@ -54,91 +54,75 @@ import org.openapitools.client.JSON; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_DECIMAL = "decimal"; @SerializedName(SERIALIZED_NAME_DECIMAL) - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_UUID_WITH_DEFAULT = "uuid_with_default"; @SerializedName(SERIALIZED_NAME_UUID_WITH_DEFAULT) - @javax.annotation.Nullable - private UUID uuidWithDefault = UUID.fromString("11111111-206d-4f12-9f12-3d1e525a8e84"); + @javax.annotation.Nullable private UUID uuidWithDefault = UUID.fromString("11111111-206d-4f12-9f12-3d1e525a8e84"); public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_PATTERN_WITH_DIGITS = "pattern_with_digits"; @SerializedName(SERIALIZED_NAME_PATTERN_WITH_DIGITS) - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String SERIALIZED_NAME_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; @SerializedName(SERIALIZED_NAME_PATTERN_WITH_DIGITS_AND_DELIMITER) - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -154,8 +138,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - public Integer getInteger() { + @javax.annotation.Nullable public Integer getInteger() { return integer; } @@ -175,8 +158,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - public Integer getInt32() { + @javax.annotation.Nullable public Integer getInt32() { return int32; } @@ -194,8 +176,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - public Long getInt64() { + @javax.annotation.Nullable public Long getInt64() { return int64; } @@ -215,8 +196,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - public BigDecimal getNumber() { + @javax.annotation.Nonnull public BigDecimal getNumber() { return number; } @@ -236,8 +216,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - public Float getFloat() { + @javax.annotation.Nullable public Float getFloat() { return _float; } @@ -257,8 +236,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - public Double getDouble() { + @javax.annotation.Nullable public Double getDouble() { return _double; } @@ -276,8 +254,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - public BigDecimal getDecimal() { + @javax.annotation.Nullable public BigDecimal getDecimal() { return decimal; } @@ -295,8 +272,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - public String getString() { + @javax.annotation.Nullable public String getString() { return string; } @@ -314,8 +290,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - public byte[] getByte() { + @javax.annotation.Nonnull public byte[] getByte() { return _byte; } @@ -333,8 +308,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - public File getBinary() { + @javax.annotation.Nullable public File getBinary() { return binary; } @@ -352,8 +326,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - public LocalDate getDate() { + @javax.annotation.Nonnull public LocalDate getDate() { return date; } @@ -371,8 +344,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -390,8 +362,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -409,8 +380,7 @@ public class FormatTest { * Get uuidWithDefault * @return uuidWithDefault */ - @javax.annotation.Nullable - public UUID getUuidWithDefault() { + @javax.annotation.Nullable public UUID getUuidWithDefault() { return uuidWithDefault; } @@ -428,8 +398,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - public String getPassword() { + @javax.annotation.Nonnull public String getPassword() { return password; } @@ -447,8 +416,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - public String getPatternWithDigits() { + @javax.annotation.Nullable public String getPatternWithDigits() { return patternWithDigits; } @@ -466,8 +434,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - public String getPatternWithDigitsAndDelimiter() { + @javax.annotation.Nullable public String getPatternWithDigitsAndDelimiter() { return patternWithDigitsAndDelimiter; } @@ -520,7 +487,6 @@ public class FormatTest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClass.java index d68db860914..c495cd282c6 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClass.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClass.java @@ -50,16 +50,15 @@ import org.openapitools.client.JSON; * FreeFormObjectTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FreeFormObjectTestClass { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_PROPERTIES = "properties"; @SerializedName(SERIALIZED_NAME_PROPERTIES) - @javax.annotation.Nullable - private FreeFormObjectTestClassProperties properties; + @javax.annotation.Nullable private FreeFormObjectTestClassProperties properties; public FreeFormObjectTestClass() { } @@ -73,8 +72,7 @@ public class FreeFormObjectTestClass { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -92,8 +90,7 @@ public class FreeFormObjectTestClass { * Get properties * @return properties */ - @javax.annotation.Nullable - public FreeFormObjectTestClassProperties getProperties() { + @javax.annotation.Nullable public FreeFormObjectTestClassProperties getProperties() { return properties; } @@ -146,7 +143,6 @@ public class FreeFormObjectTestClass { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClassProperties.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClassProperties.java index 72fc90613ca..4da564828fa 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClassProperties.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FreeFormObjectTestClassProperties.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FreeFormObjectTestClassProperties extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(FreeFormObjectTestClassProperties.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Fruit.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Fruit.java index 0781f56ac73..c4a6973e411 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Fruit.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Fruit.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Fruit extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Fruit.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FruitReq.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FruitReq.java index 94b492994f9..813e540b73d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FruitReq.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FruitReq.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FruitReq extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(FruitReq.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GmFruit.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GmFruit.java index a79b0fcfdfa..08dfaef524d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GmFruit.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GmFruit.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class GmFruit extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(GmFruit.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index 4d17b3959f6..e016eb8bf12 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * GrandparentAnimal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class GrandparentAnimal { public static final String SERIALIZED_NAME_PET_TYPE = "pet_type"; @SerializedName(SERIALIZED_NAME_PET_TYPE) - @javax.annotation.Nonnull - protected String petType; + @javax.annotation.Nonnull protected String petType; public GrandparentAnimal() { this.petType = this.getClass().getSimpleName(); @@ -68,8 +68,7 @@ public class GrandparentAnimal { * Get petType * @return petType */ - @javax.annotation.Nonnull - public String getPetType() { + @javax.annotation.Nonnull public String getPetType() { return petType; } @@ -122,7 +121,6 @@ public class GrandparentAnimal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 2ef25e15353..2168f2c35ee 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -76,8 +75,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -87,8 +85,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - public String getFoo() { + @javax.annotation.Nullable public String getFoo() { return foo; } @@ -138,7 +135,6 @@ public class HasOnlyReadOnly { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 91cd55bc38d..f856c14e91d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String SERIALIZED_NAME_NULLABLE_MESSAGE = "NullableMessage"; @SerializedName(SERIALIZED_NAME_NULLABLE_MESSAGE) - @javax.annotation.Nullable - private String nullableMessage; + @javax.annotation.Nullable private String nullableMessage; public HealthCheckResult() { } @@ -68,8 +68,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - public String getNullableMessage() { + @javax.annotation.Nullable public String getNullableMessage() { return nullableMessage; } @@ -122,7 +121,6 @@ public class HealthCheckResult { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index 714fe4a527e..fed04996fe6 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * IsoscelesTriangle */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class IsoscelesTriangle { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String SERIALIZED_NAME_TRIANGLE_TYPE = "triangleType"; @SerializedName(SERIALIZED_NAME_TRIANGLE_TYPE) - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public IsoscelesTriangle() { } @@ -72,8 +71,7 @@ public class IsoscelesTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -91,8 +89,7 @@ public class IsoscelesTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - public String getTriangleType() { + @javax.annotation.Nonnull public String getTriangleType() { return triangleType; } @@ -101,7 +98,6 @@ public class IsoscelesTriangle { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Mammal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Mammal.java index d6973af43c1..51ccd27c32b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Mammal.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Mammal.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Mammal extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Mammal.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MammalAnyof.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MammalAnyof.java index 57f5c90a931..2a32e9e6447 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MammalAnyof.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MammalAnyof.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MammalAnyof extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(MammalAnyof.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MapTest.java index ec9af3d7189..429386cda79 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MapTest.java @@ -51,11 +51,11 @@ import org.openapitools.client.JSON; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -108,21 +108,17 @@ public class MapTest { InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -144,8 +140,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - public Map> getMapMapOfString() { + @javax.annotation.Nullable public Map> getMapMapOfString() { return mapMapOfString; } @@ -171,8 +166,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - public Map getMapOfEnumString() { + @javax.annotation.Nullable public Map getMapOfEnumString() { return mapOfEnumString; } @@ -198,8 +192,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - public Map getDirectMap() { + @javax.annotation.Nullable public Map getDirectMap() { return directMap; } @@ -225,8 +218,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - public Map getIndirectMap() { + @javax.annotation.Nullable public Map getIndirectMap() { return indirectMap; } @@ -279,7 +271,6 @@ public class MapTest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 524250a90fb..9aef5d8eb81 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -54,21 +54,19 @@ import org.openapitools.client.JSON; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -82,8 +80,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public UUID getUuid() { + @javax.annotation.Nullable public UUID getUuid() { return uuid; } @@ -101,8 +98,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - public OffsetDateTime getDateTime() { + @javax.annotation.Nullable public OffsetDateTime getDateTime() { return dateTime; } @@ -128,8 +124,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - public Map getMap() { + @javax.annotation.Nullable public Map getMap() { return map; } @@ -182,7 +177,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Model200Response.java index 9e6f09be30c..4baac9ea5e4 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Model200Response.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -72,8 +71,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - public Integer getName() { + @javax.annotation.Nullable public Integer getName() { return name; } @@ -91,8 +89,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - public String getPropertyClass() { + @javax.annotation.Nullable public String getPropertyClass() { return propertyClass; } @@ -145,7 +142,6 @@ public class Model200Response { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 68b75cc06b6..01dfde37d01 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -77,8 +75,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - public Integer getCode() { + @javax.annotation.Nullable public Integer getCode() { return code; } @@ -96,8 +93,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - public String getMessage() { + @javax.annotation.Nullable public String getMessage() { return message; } @@ -169,7 +164,6 @@ public class ModelApiResponse { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelFile.java index 6c4d329b1cf..0c6a9e5d521 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelFile.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -67,8 +67,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - public String getSourceURI() { + @javax.annotation.Nullable public String getSourceURI() { return sourceURI; } @@ -121,7 +120,6 @@ public class ModelFile { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelList.java index 07c55e9c778..cc62efe0441 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelList.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -67,8 +67,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - public String get123list() { + @javax.annotation.Nullable public String get123list() { return _123list; } @@ -121,7 +120,6 @@ public class ModelList { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelReturn.java index fa671ab3fbd..83bac15edd3 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -67,8 +67,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - public Integer getReturn() { + @javax.annotation.Nullable public Integer getReturn() { return _return; } @@ -121,7 +120,6 @@ public class ModelReturn { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelWithOneOfAnyOfProperties.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelWithOneOfAnyOfProperties.java index 2f0212f35e6..85860a66725 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelWithOneOfAnyOfProperties.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ModelWithOneOfAnyOfProperties.java @@ -51,16 +51,15 @@ import org.openapitools.client.JSON; * ModelWithOneOfAnyOfProperties */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelWithOneOfAnyOfProperties { public static final String SERIALIZED_NAME_ONEOF_PROP = "oneof_prop"; @SerializedName(SERIALIZED_NAME_ONEOF_PROP) - @javax.annotation.Nullable - private ArrayOneOf oneofProp; + @javax.annotation.Nullable private ArrayOneOf oneofProp; public static final String SERIALIZED_NAME_ANYOF_PROP = "anyof_prop"; @SerializedName(SERIALIZED_NAME_ANYOF_PROP) - @javax.annotation.Nullable - private ArrayAnyOf anyofProp; + @javax.annotation.Nullable private ArrayAnyOf anyofProp; public ModelWithOneOfAnyOfProperties() { } @@ -74,8 +73,7 @@ public class ModelWithOneOfAnyOfProperties { * Get oneofProp * @return oneofProp */ - @javax.annotation.Nullable - public ArrayOneOf getOneofProp() { + @javax.annotation.Nullable public ArrayOneOf getOneofProp() { return oneofProp; } @@ -93,8 +91,7 @@ public class ModelWithOneOfAnyOfProperties { * Get anyofProp * @return anyofProp */ - @javax.annotation.Nullable - public ArrayAnyOf getAnyofProp() { + @javax.annotation.Nullable public ArrayAnyOf getAnyofProp() { return anyofProp; } @@ -147,7 +144,6 @@ public class ModelWithOneOfAnyOfProperties { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java index b12177c99c6..8f5e6367bd0 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java @@ -49,26 +49,23 @@ import org.openapitools.client.JSON; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -91,8 +88,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - public Integer getName() { + @javax.annotation.Nonnull public Integer getName() { return name; } @@ -105,8 +101,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - public Integer getSnakeCase() { + @javax.annotation.Nullable public Integer getSnakeCase() { return snakeCase; } @@ -121,8 +116,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - public String getProperty() { + @javax.annotation.Nullable public String getProperty() { return property; } @@ -135,8 +129,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - public Integer get123number() { + @javax.annotation.Nullable public Integer get123number() { return _123number; } @@ -186,7 +179,6 @@ public class Name { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPet.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPet.java index 7a9b9f0c077..b2b5f494862 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPet.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPet.java @@ -54,46 +54,39 @@ import org.openapitools.client.JSON; * NewPet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NewPet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY_INLINE_ALLOF = "category_inline_allof"; @SerializedName(SERIALIZED_NAME_CATEGORY_INLINE_ALLOF) - @javax.annotation.Nullable - private NewPetCategoryInlineAllof categoryInlineAllof; + @javax.annotation.Nullable private NewPetCategoryInlineAllof categoryInlineAllof; public static final String SERIALIZED_NAME_CATEGORY_ALL_OF_REF = "category_allOf_ref"; @SerializedName(SERIALIZED_NAME_CATEGORY_ALL_OF_REF) - @javax.annotation.Nullable - private Category categoryAllOfRef; + @javax.annotation.Nullable private Category categoryAllOfRef; public static final String SERIALIZED_NAME_CATEGORY_ALL_OF_REF_DESCRIPTION = "category_allOf_ref_description"; @SerializedName(SERIALIZED_NAME_CATEGORY_ALL_OF_REF_DESCRIPTION) - @javax.annotation.Nullable - private Category categoryAllOfRefDescription; + @javax.annotation.Nullable private Category categoryAllOfRefDescription; public static final String SERIALIZED_NAME_CATEGORY_ALL_OF_REF_DESCRIPTION_READONLY = "category_allOf_ref_description_readonly"; @SerializedName(SERIALIZED_NAME_CATEGORY_ALL_OF_REF_DESCRIPTION_READONLY) - @javax.annotation.Nullable - private Category categoryAllOfRefDescriptionReadonly; + @javax.annotation.Nullable private Category categoryAllOfRefDescriptionReadonly; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -148,11 +141,9 @@ public class NewPet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public NewPet() { } @@ -173,8 +164,7 @@ public class NewPet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -192,8 +182,7 @@ public class NewPet { * Get categoryInlineAllof * @return categoryInlineAllof */ - @javax.annotation.Nullable - public NewPetCategoryInlineAllof getCategoryInlineAllof() { + @javax.annotation.Nullable public NewPetCategoryInlineAllof getCategoryInlineAllof() { return categoryInlineAllof; } @@ -211,8 +200,7 @@ public class NewPet { * Get categoryAllOfRef * @return categoryAllOfRef */ - @javax.annotation.Nullable - public Category getCategoryAllOfRef() { + @javax.annotation.Nullable public Category getCategoryAllOfRef() { return categoryAllOfRef; } @@ -230,8 +218,7 @@ public class NewPet { * Adding description to property using allOf * @return categoryAllOfRefDescription */ - @javax.annotation.Nullable - public Category getCategoryAllOfRefDescription() { + @javax.annotation.Nullable public Category getCategoryAllOfRefDescription() { return categoryAllOfRefDescription; } @@ -244,8 +231,7 @@ public class NewPet { * Adding description to readonly property using allOf * @return categoryAllOfRefDescriptionReadonly */ - @javax.annotation.Nullable - public Category getCategoryAllOfRefDescriptionReadonly() { + @javax.annotation.Nullable public Category getCategoryAllOfRefDescriptionReadonly() { return categoryAllOfRefDescriptionReadonly; } @@ -260,8 +246,7 @@ public class NewPet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -287,8 +272,7 @@ public class NewPet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -314,8 +298,7 @@ public class NewPet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -333,8 +316,7 @@ public class NewPet { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -387,7 +369,6 @@ public class NewPet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllof.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllof.java index 8ada9002bc7..3f7178972f5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllof.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllof.java @@ -50,21 +50,19 @@ import org.openapitools.client.JSON; * NewPetCategoryInlineAllof */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NewPetCategoryInlineAllof { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public static final String SERIALIZED_NAME_CATEGORY_TAG = "category_tag"; @SerializedName(SERIALIZED_NAME_CATEGORY_TAG) - @javax.annotation.Nullable - private NewPetCategoryInlineAllofAllOfCategoryTag categoryTag; + @javax.annotation.Nullable private NewPetCategoryInlineAllofAllOfCategoryTag categoryTag; public NewPetCategoryInlineAllof() { } @@ -78,8 +76,7 @@ public class NewPetCategoryInlineAllof { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -97,8 +94,7 @@ public class NewPetCategoryInlineAllof { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -116,8 +112,7 @@ public class NewPetCategoryInlineAllof { * Get categoryTag * @return categoryTag */ - @javax.annotation.Nullable - public NewPetCategoryInlineAllofAllOfCategoryTag getCategoryTag() { + @javax.annotation.Nullable public NewPetCategoryInlineAllofAllOfCategoryTag getCategoryTag() { return categoryTag; } @@ -170,7 +165,6 @@ public class NewPetCategoryInlineAllof { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllofAllOfCategoryTag.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllofAllOfCategoryTag.java index 1c8ab1023c7..d3a1fbbd746 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllofAllOfCategoryTag.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NewPetCategoryInlineAllofAllOfCategoryTag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * NewPetCategoryInlineAllofAllOfCategoryTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NewPetCategoryInlineAllofAllOfCategoryTag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public NewPetCategoryInlineAllofAllOfCategoryTag() { } @@ -72,8 +71,7 @@ public class NewPetCategoryInlineAllofAllOfCategoryTag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class NewPetCategoryInlineAllofAllOfCategoryTag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class NewPetCategoryInlineAllofAllOfCategoryTag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableClass.java index 6919b6ddf04..f75181c1c52 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableClass.java @@ -57,66 +57,55 @@ import org.openapitools.client.JSON; * NullableClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass { public static final String SERIALIZED_NAME_INTEGER_PROP = "integer_prop"; @SerializedName(SERIALIZED_NAME_INTEGER_PROP) - @javax.annotation.Nullable - private Integer integerProp; + @javax.annotation.Nullable private Integer integerProp; public static final String SERIALIZED_NAME_NUMBER_PROP = "number_prop"; @SerializedName(SERIALIZED_NAME_NUMBER_PROP) - @javax.annotation.Nullable - private BigDecimal numberProp; + @javax.annotation.Nullable private BigDecimal numberProp; public static final String SERIALIZED_NAME_BOOLEAN_PROP = "boolean_prop"; @SerializedName(SERIALIZED_NAME_BOOLEAN_PROP) - @javax.annotation.Nullable - private Boolean booleanProp; + @javax.annotation.Nullable private Boolean booleanProp; public static final String SERIALIZED_NAME_STRING_PROP = "string_prop"; @SerializedName(SERIALIZED_NAME_STRING_PROP) - @javax.annotation.Nullable - private String stringProp; + @javax.annotation.Nullable private String stringProp; public static final String SERIALIZED_NAME_DATE_PROP = "date_prop"; @SerializedName(SERIALIZED_NAME_DATE_PROP) - @javax.annotation.Nullable - private LocalDate dateProp; + @javax.annotation.Nullable private LocalDate dateProp; public static final String SERIALIZED_NAME_DATETIME_PROP = "datetime_prop"; @SerializedName(SERIALIZED_NAME_DATETIME_PROP) - @javax.annotation.Nullable - private OffsetDateTime datetimeProp; + @javax.annotation.Nullable private OffsetDateTime datetimeProp; public static final String SERIALIZED_NAME_ARRAY_NULLABLE_PROP = "array_nullable_prop"; @SerializedName(SERIALIZED_NAME_ARRAY_NULLABLE_PROP) - @javax.annotation.Nullable - private List arrayNullableProp; + @javax.annotation.Nullable private List arrayNullableProp; public static final String SERIALIZED_NAME_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; @SerializedName(SERIALIZED_NAME_ARRAY_AND_ITEMS_NULLABLE_PROP) - @javax.annotation.Nullable - private List arrayAndItemsNullableProp; + @javax.annotation.Nullable private List arrayAndItemsNullableProp; public static final String SERIALIZED_NAME_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEMS_NULLABLE) - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String SERIALIZED_NAME_OBJECT_NULLABLE_PROP = "object_nullable_prop"; @SerializedName(SERIALIZED_NAME_OBJECT_NULLABLE_PROP) - @javax.annotation.Nullable - private Map objectNullableProp; + @javax.annotation.Nullable private Map objectNullableProp; public static final String SERIALIZED_NAME_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; @SerializedName(SERIALIZED_NAME_OBJECT_AND_ITEMS_NULLABLE_PROP) - @javax.annotation.Nullable - private Map objectAndItemsNullableProp; + @javax.annotation.Nullable private Map objectAndItemsNullableProp; public static final String SERIALIZED_NAME_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; @SerializedName(SERIALIZED_NAME_OBJECT_ITEMS_NULLABLE) - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { } @@ -130,8 +119,7 @@ public class NullableClass { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - public Integer getIntegerProp() { + @javax.annotation.Nullable public Integer getIntegerProp() { return integerProp; } @@ -149,8 +137,7 @@ public class NullableClass { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - public BigDecimal getNumberProp() { + @javax.annotation.Nullable public BigDecimal getNumberProp() { return numberProp; } @@ -168,8 +155,7 @@ public class NullableClass { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - public Boolean getBooleanProp() { + @javax.annotation.Nullable public Boolean getBooleanProp() { return booleanProp; } @@ -187,8 +173,7 @@ public class NullableClass { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - public String getStringProp() { + @javax.annotation.Nullable public String getStringProp() { return stringProp; } @@ -206,8 +191,7 @@ public class NullableClass { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - public LocalDate getDateProp() { + @javax.annotation.Nullable public LocalDate getDateProp() { return dateProp; } @@ -225,8 +209,7 @@ public class NullableClass { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - public OffsetDateTime getDatetimeProp() { + @javax.annotation.Nullable public OffsetDateTime getDatetimeProp() { return datetimeProp; } @@ -252,8 +235,7 @@ public class NullableClass { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - public List getArrayNullableProp() { + @javax.annotation.Nullable public List getArrayNullableProp() { return arrayNullableProp; } @@ -279,8 +261,7 @@ public class NullableClass { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - public List getArrayAndItemsNullableProp() { + @javax.annotation.Nullable public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp; } @@ -306,8 +287,7 @@ public class NullableClass { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - public List getArrayItemsNullable() { + @javax.annotation.Nullable public List getArrayItemsNullable() { return arrayItemsNullable; } @@ -333,8 +313,7 @@ public class NullableClass { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - public Map getObjectNullableProp() { + @javax.annotation.Nullable public Map getObjectNullableProp() { return objectNullableProp; } @@ -360,8 +339,7 @@ public class NullableClass { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - public Map getObjectAndItemsNullableProp() { + @javax.annotation.Nullable public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp; } @@ -387,8 +365,7 @@ public class NullableClass { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - public Map getObjectItemsNullable() { + @javax.annotation.Nullable public Map getObjectItemsNullable() { return objectItemsNullable; } @@ -441,7 +418,6 @@ public class NullableClass { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableShape.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableShape.java index 6dba4ecbde7..4849a29cdbf 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableShape.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NullableShape.java @@ -60,6 +60,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableShape extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(NullableShape.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberOnly.java index bc4825628c2..c78e2bec5f7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -50,11 +50,11 @@ import org.openapitools.client.JSON; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -68,8 +68,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - public BigDecimal getJustNumber() { + @javax.annotation.Nullable public BigDecimal getJustNumber() { return justNumber; } @@ -122,7 +121,6 @@ public class NumberOnly { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index eee0aa245b7..cbb114be4d3 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -53,29 +53,26 @@ import org.openapitools.client.JSON; * ObjectWithDeprecatedFields */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String SERIALIZED_NAME_ID = "id"; @Deprecated @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String SERIALIZED_NAME_DEPRECATED_REF = "deprecatedRef"; @Deprecated @SerializedName(SERIALIZED_NAME_DEPRECATED_REF) - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String SERIALIZED_NAME_BARS = "bars"; @Deprecated @SerializedName(SERIALIZED_NAME_BARS) - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -89,8 +86,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - public String getUuid() { + @javax.annotation.Nullable public String getUuid() { return uuid; } @@ -111,8 +107,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public BigDecimal getId() { + @javax.annotation.Nullable public BigDecimal getId() { return id; } @@ -134,8 +129,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public DeprecatedObject getDeprecatedRef() { + @javax.annotation.Nullable public DeprecatedObject getDeprecatedRef() { return deprecatedRef; } @@ -165,8 +159,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - public List getBars() { + @javax.annotation.Nullable public List getBars() { return bars; } @@ -220,7 +213,6 @@ public class ObjectWithDeprecatedFields { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Order.java index 46ebb52916b..e621d783a29 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Order.java @@ -50,26 +50,23 @@ import org.openapitools.client.JSON; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -124,16 +121,13 @@ public class Order { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -147,8 +141,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -166,8 +159,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - public Long getPetId() { + @javax.annotation.Nullable public Long getPetId() { return petId; } @@ -185,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - public Integer getQuantity() { + @javax.annotation.Nullable public Integer getQuantity() { return quantity; } @@ -204,8 +195,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - public OffsetDateTime getShipDate() { + @javax.annotation.Nullable public OffsetDateTime getShipDate() { return shipDate; } @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - public Boolean getComplete() { + @javax.annotation.Nullable public Boolean getComplete() { return complete; } @@ -296,7 +284,6 @@ public class Order { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/OuterComposite.java index f65ff6cfd3e..020d3cc7bd5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -50,21 +50,19 @@ import org.openapitools.client.JSON; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -78,8 +76,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - public BigDecimal getMyNumber() { + @javax.annotation.Nullable public BigDecimal getMyNumber() { return myNumber; } @@ -97,8 +94,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - public String getMyString() { + @javax.annotation.Nullable public String getMyString() { return myString; } @@ -116,8 +112,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - public Boolean getMyBoolean() { + @javax.annotation.Nullable public Boolean getMyBoolean() { return myBoolean; } @@ -170,7 +165,6 @@ public class OuterComposite { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ParentPet.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ParentPet.java index c67b6fcc6c3..a015f0ff5a7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ParentPet.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ParentPet.java @@ -50,6 +50,7 @@ import org.openapitools.client.JSON; * ParentPet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ParentPet extends GrandparentAnimal { public ParentPet() { this.petType = this.getClass().getSimpleName(); @@ -99,7 +100,6 @@ public class ParentPet extends GrandparentAnimal { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java index c6054b244c4..08eb3dd4c4b 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class Pet { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -150,8 +144,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -188,8 +180,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -215,8 +206,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -315,7 +303,6 @@ public class Pet { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetComposition.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetComposition.java index 912e6401aab..8aef7289228 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetComposition.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetComposition.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * PetComposition */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetComposition { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class PetComposition { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetComposition() { } @@ -150,8 +144,7 @@ public class PetComposition { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class PetComposition { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -188,8 +180,7 @@ public class PetComposition { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -215,8 +206,7 @@ public class PetComposition { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class PetComposition { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class PetComposition { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -315,7 +303,6 @@ public class PetComposition { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetRef.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetRef.java index d8a430f7459..45f8c9b0997 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetRef.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetRef.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * PetRef */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetRef { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class PetRef { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetRef() { } @@ -150,8 +144,7 @@ public class PetRef { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class PetRef { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -188,8 +180,7 @@ public class PetRef { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -215,8 +206,7 @@ public class PetRef { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class PetRef { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class PetRef { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -315,7 +303,6 @@ public class PetRef { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetUsingAllOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetUsingAllOf.java index 348ad5d696a..35c86bbb616 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetUsingAllOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetUsingAllOf.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * PetUsingAllOf */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetUsingAllOf { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class PetUsingAllOf { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetUsingAllOf() { } @@ -150,8 +144,7 @@ public class PetUsingAllOf { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class PetUsingAllOf { * multi line description 2nd line last line * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -188,8 +180,7 @@ public class PetUsingAllOf { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -215,8 +206,7 @@ public class PetUsingAllOf { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class PetUsingAllOf { * Get tags * @return tags */ - @javax.annotation.Nullable - public List getTags() { + @javax.annotation.Nullable public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class PetUsingAllOf { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -315,7 +303,6 @@ public class PetUsingAllOf { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetWithRequiredTags.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetWithRequiredTags.java index bf6927f72ef..f2023e94de7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetWithRequiredTags.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PetWithRequiredTags.java @@ -53,31 +53,27 @@ import org.openapitools.client.JSON; * PetWithRequiredTags */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PetWithRequiredTags { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nonnull - private List tags = new ArrayList<>(); + @javax.annotation.Nonnull private List tags = new ArrayList<>(); /** * pet status in the store @@ -132,11 +128,9 @@ public class PetWithRequiredTags { StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public PetWithRequiredTags() { } @@ -150,8 +144,7 @@ public class PetWithRequiredTags { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -169,8 +162,7 @@ public class PetWithRequiredTags { * Get category * @return category */ - @javax.annotation.Nullable - public Category getCategory() { + @javax.annotation.Nullable public Category getCategory() { return category; } @@ -188,8 +180,7 @@ public class PetWithRequiredTags { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -215,8 +206,7 @@ public class PetWithRequiredTags { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - public List getPhotoUrls() { + @javax.annotation.Nonnull public List getPhotoUrls() { return photoUrls; } @@ -242,8 +232,7 @@ public class PetWithRequiredTags { * Get tags * @return tags */ - @javax.annotation.Nonnull - public List getTags() { + @javax.annotation.Nonnull public List getTags() { return tags; } @@ -261,8 +250,7 @@ public class PetWithRequiredTags { * pet status in the store * @return status */ - @javax.annotation.Nullable - public StatusEnum getStatus() { + @javax.annotation.Nullable public StatusEnum getStatus() { return status; } @@ -315,7 +303,6 @@ public class PetWithRequiredTags { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pig.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pig.java index 2b7f8a274a5..7c76a388a4c 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pig.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pig.java @@ -60,6 +60,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pig extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Pig.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PropertyNameCollision.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PropertyNameCollision.java index 4496c78d8f2..d79cc4e3097 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PropertyNameCollision.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PropertyNameCollision.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * PropertyNameCollision */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class PropertyNameCollision { public static final String SERIALIZED_NAME_UNDERSCORE_TYPE = "_type"; @SerializedName(SERIALIZED_NAME_UNDERSCORE_TYPE) - @javax.annotation.Nullable - private String underscoreType; + @javax.annotation.Nullable private String underscoreType; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_TYPE_WITH_UNDERSCORE = "type_"; @SerializedName(SERIALIZED_NAME_TYPE_WITH_UNDERSCORE) - @javax.annotation.Nullable - private String typeWithUnderscore; + @javax.annotation.Nullable private String typeWithUnderscore; public PropertyNameCollision() { } @@ -77,8 +75,7 @@ public class PropertyNameCollision { * Get underscoreType * @return underscoreType */ - @javax.annotation.Nullable - public String getUnderscoreType() { + @javax.annotation.Nullable public String getUnderscoreType() { return underscoreType; } @@ -96,8 +93,7 @@ public class PropertyNameCollision { * Get type * @return type */ - @javax.annotation.Nullable - public String getType() { + @javax.annotation.Nullable public String getType() { return type; } @@ -115,8 +111,7 @@ public class PropertyNameCollision { * Get typeWithUnderscore * @return typeWithUnderscore */ - @javax.annotation.Nullable - public String getTypeWithUnderscore() { + @javax.annotation.Nullable public String getTypeWithUnderscore() { return typeWithUnderscore; } @@ -169,7 +164,6 @@ public class PropertyNameCollision { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Quadrilateral.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Quadrilateral.java index 2b7d1f8135e..c9457f7ce3d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Quadrilateral.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Quadrilateral.java @@ -60,6 +60,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Quadrilateral extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Quadrilateral.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index d22dea43eec..c21ba1eefa3 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * QuadrilateralInterface */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class QuadrilateralInterface { public static final String SERIALIZED_NAME_QUADRILATERAL_TYPE = "quadrilateralType"; @SerializedName(SERIALIZED_NAME_QUADRILATERAL_TYPE) - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public QuadrilateralInterface() { } @@ -67,8 +67,7 @@ public class QuadrilateralInterface { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - public String getQuadrilateralType() { + @javax.annotation.Nonnull public String getQuadrilateralType() { return quadrilateralType; } @@ -121,7 +120,6 @@ public class QuadrilateralInterface { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 7cd589a822e..b491e5176be 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -74,8 +73,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - public String getBar() { + @javax.annotation.Nullable public String getBar() { return bar; } @@ -90,8 +88,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - public String getBaz() { + @javax.annotation.Nullable public String getBaz() { return baz; } @@ -144,7 +141,6 @@ public class ReadOnlyFirst { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Scalar.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Scalar.java index 35b85ceb445..0e6ad1255e5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Scalar.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Scalar.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Scalar extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Scalar.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScalarAnyOf.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScalarAnyOf.java index a5714cd2f33..198c650b6c8 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScalarAnyOf.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScalarAnyOf.java @@ -52,6 +52,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ScalarAnyOf extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ScalarAnyOf.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index ffa101f26d5..10262d05bc2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * ScaleneTriangle */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ScaleneTriangle { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String SERIALIZED_NAME_TRIANGLE_TYPE = "triangleType"; @SerializedName(SERIALIZED_NAME_TRIANGLE_TYPE) - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public ScaleneTriangle() { } @@ -72,8 +71,7 @@ public class ScaleneTriangle { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -91,8 +89,7 @@ public class ScaleneTriangle { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - public String getTriangleType() { + @javax.annotation.Nonnull public String getTriangleType() { return triangleType; } @@ -145,7 +142,6 @@ public class ScaleneTriangle { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Shape.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Shape.java index 7b90e17c57c..9b5a7251809 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Shape.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Shape.java @@ -60,6 +60,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Shape extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Shape.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeInterface.java index 749c94428e4..eb649f0342a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * ShapeInterface */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ShapeInterface { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public ShapeInterface() { } @@ -67,8 +67,7 @@ public class ShapeInterface { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -121,7 +120,6 @@ public class ShapeInterface { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeOrNull.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeOrNull.java index 70d3e927818..0ac74424d47 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeOrNull.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeOrNull.java @@ -60,6 +60,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ShapeOrNull extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ShapeOrNull.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index dc3ce5d8241..d3abef5d624 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * SimpleQuadrilateral */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SimpleQuadrilateral { public static final String SERIALIZED_NAME_SHAPE_TYPE = "shapeType"; @SerializedName(SERIALIZED_NAME_SHAPE_TYPE) - @javax.annotation.Nonnull - private String shapeType; + @javax.annotation.Nonnull private String shapeType; public static final String SERIALIZED_NAME_QUADRILATERAL_TYPE = "quadrilateralType"; @SerializedName(SERIALIZED_NAME_QUADRILATERAL_TYPE) - @javax.annotation.Nonnull - private String quadrilateralType; + @javax.annotation.Nonnull private String quadrilateralType; public SimpleQuadrilateral() { } @@ -72,8 +71,7 @@ public class SimpleQuadrilateral { * Get shapeType * @return shapeType */ - @javax.annotation.Nonnull - public String getShapeType() { + @javax.annotation.Nonnull public String getShapeType() { return shapeType; } @@ -91,8 +89,7 @@ public class SimpleQuadrilateral { * Get quadrilateralType * @return quadrilateralType */ - @javax.annotation.Nonnull - public String getQuadrilateralType() { + @javax.annotation.Nonnull public String getQuadrilateralType() { return quadrilateralType; } @@ -145,7 +142,6 @@ public class SimpleQuadrilateral { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SpecialModelName.java index 4470a5d725b..a7965c992cb 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public static final String SERIALIZED_NAME_SPECIAL_MODEL_NAME = "_special_model.name_"; @SerializedName(SERIALIZED_NAME_SPECIAL_MODEL_NAME) - @javax.annotation.Nullable - private String specialModelName; + @javax.annotation.Nullable private String specialModelName; public SpecialModelName() { } @@ -72,8 +71,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - public Long get$SpecialPropertyName() { + @javax.annotation.Nullable public Long get$SpecialPropertyName() { return $specialPropertyName; } @@ -91,8 +89,7 @@ public class SpecialModelName { * Get specialModelName * @return specialModelName */ - @javax.annotation.Nullable - public String getSpecialModelName() { + @javax.annotation.Nullable public String getSpecialModelName() { return specialModelName; } @@ -145,7 +142,6 @@ public class SpecialModelName { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java index 9f73911be66..a98d7c01991 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Tag.java @@ -49,16 +49,15 @@ import org.openapitools.client.JSON; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -72,8 +71,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -91,8 +89,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - public String getName() { + @javax.annotation.Nullable public String getName() { return name; } @@ -145,7 +142,6 @@ public class Tag { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index f48d068d6d3..5d4dc66a7df 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * TestInlineFreeformAdditionalPropertiesRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest { public static final String SERIALIZED_NAME_SOME_PROPERTY = "someProperty"; @SerializedName(SERIALIZED_NAME_SOME_PROPERTY) - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { } @@ -67,8 +67,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest { * Get someProperty * @return someProperty */ - @javax.annotation.Nullable - public String getSomeProperty() { + @javax.annotation.Nullable public String getSomeProperty() { return someProperty; } @@ -121,7 +120,6 @@ public class TestInlineFreeformAdditionalPropertiesRequest { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Triangle.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Triangle.java index 8ec05c5da8d..e6c3024871a 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Triangle.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Triangle.java @@ -61,6 +61,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Triangle extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Triangle.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TriangleInterface.java index eee6e0dbe6e..638805382ec 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -49,11 +49,11 @@ import org.openapitools.client.JSON; * TriangleInterface */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TriangleInterface { public static final String SERIALIZED_NAME_TRIANGLE_TYPE = "triangleType"; @SerializedName(SERIALIZED_NAME_TRIANGLE_TYPE) - @javax.annotation.Nonnull - private String triangleType; + @javax.annotation.Nonnull private String triangleType; public TriangleInterface() { } @@ -67,8 +67,7 @@ public class TriangleInterface { * Get triangleType * @return triangleType */ - @javax.annotation.Nonnull - public String getTriangleType() { + @javax.annotation.Nonnull public String getTriangleType() { return triangleType; } @@ -121,7 +120,6 @@ public class TriangleInterface { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java index 0015c82e90c..63fa6cc1a79 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/User.java @@ -50,66 +50,55 @@ import org.openapitools.client.JSON; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public static final String SERIALIZED_NAME_OBJECT_WITH_NO_DECLARED_PROPS = "objectWithNoDeclaredProps"; @SerializedName(SERIALIZED_NAME_OBJECT_WITH_NO_DECLARED_PROPS) - @javax.annotation.Nullable - private Object objectWithNoDeclaredProps; + @javax.annotation.Nullable private Object objectWithNoDeclaredProps; public static final String SERIALIZED_NAME_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE = "objectWithNoDeclaredPropsNullable"; @SerializedName(SERIALIZED_NAME_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) - @javax.annotation.Nullable - private Object objectWithNoDeclaredPropsNullable; + @javax.annotation.Nullable private Object objectWithNoDeclaredPropsNullable; public static final String SERIALIZED_NAME_ANY_TYPE_PROP = "anyTypeProp"; @SerializedName(SERIALIZED_NAME_ANY_TYPE_PROP) - @javax.annotation.Nullable - private Object anyTypeProp = null; + @javax.annotation.Nullable private Object anyTypeProp = null; public static final String SERIALIZED_NAME_ANY_TYPE_PROP_NULLABLE = "anyTypePropNullable"; @SerializedName(SERIALIZED_NAME_ANY_TYPE_PROP_NULLABLE) - @javax.annotation.Nullable - private Object anyTypePropNullable = null; + @javax.annotation.Nullable private Object anyTypePropNullable = null; public User() { } @@ -123,8 +112,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - public Long getId() { + @javax.annotation.Nullable public Long getId() { return id; } @@ -142,8 +130,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - public String getUsername() { + @javax.annotation.Nullable public String getUsername() { return username; } @@ -161,8 +148,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - public String getFirstName() { + @javax.annotation.Nullable public String getFirstName() { return firstName; } @@ -180,8 +166,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - public String getLastName() { + @javax.annotation.Nullable public String getLastName() { return lastName; } @@ -199,8 +184,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - public String getEmail() { + @javax.annotation.Nullable public String getEmail() { return email; } @@ -218,8 +202,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - public String getPassword() { + @javax.annotation.Nullable public String getPassword() { return password; } @@ -237,8 +220,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - public String getPhone() { + @javax.annotation.Nullable public String getPhone() { return phone; } @@ -256,8 +238,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - public Integer getUserStatus() { + @javax.annotation.Nullable public Integer getUserStatus() { return userStatus; } @@ -275,8 +256,7 @@ public class User { * test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. * @return objectWithNoDeclaredProps */ - @javax.annotation.Nullable - public Object getObjectWithNoDeclaredProps() { + @javax.annotation.Nullable public Object getObjectWithNoDeclaredProps() { return objectWithNoDeclaredProps; } @@ -294,8 +274,7 @@ public class User { * test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. * @return objectWithNoDeclaredPropsNullable */ - @javax.annotation.Nullable - public Object getObjectWithNoDeclaredPropsNullable() { + @javax.annotation.Nullable public Object getObjectWithNoDeclaredPropsNullable() { return objectWithNoDeclaredPropsNullable; } @@ -313,8 +292,7 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 * @return anyTypeProp */ - @javax.annotation.Nullable - public Object getAnyTypeProp() { + @javax.annotation.Nullable public Object getAnyTypeProp() { return anyTypeProp; } @@ -332,8 +310,7 @@ public class User { * test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. * @return anyTypePropNullable */ - @javax.annotation.Nullable - public Object getAnyTypePropNullable() { + @javax.annotation.Nullable public Object getAnyTypePropNullable() { return anyTypePropNullable; } @@ -386,7 +363,6 @@ public class User { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Value.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Value.java index 55746621686..a2d7bc615c7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Value.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Value.java @@ -53,6 +53,7 @@ import com.google.gson.JsonParseException; import org.openapitools.client.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Value extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(Value.class.getName()); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Variable.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Variable.java index 98dadc424e9..ca2312ebbd5 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Variable.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Variable.java @@ -50,16 +50,15 @@ import org.openapitools.client.JSON; * Value object */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Variable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nonnull - private Value value; + @javax.annotation.Nonnull private Value value; public Variable() { } @@ -73,8 +72,7 @@ public class Variable { * Get name * @return name */ - @javax.annotation.Nonnull - public String getName() { + @javax.annotation.Nonnull public String getName() { return name; } @@ -92,8 +90,7 @@ public class Variable { * Get value * @return value */ - @javax.annotation.Nonnull - public Value getValue() { + @javax.annotation.Nonnull public Value getValue() { return value; } @@ -146,7 +143,6 @@ public class Variable { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Whale.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Whale.java index 109906d5a01..9caeed8d1ee 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Whale.java @@ -49,21 +49,19 @@ import org.openapitools.client.JSON; * Whale */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Whale { public static final String SERIALIZED_NAME_HAS_BALEEN = "hasBaleen"; @SerializedName(SERIALIZED_NAME_HAS_BALEEN) - @javax.annotation.Nullable - private Boolean hasBaleen; + @javax.annotation.Nullable private Boolean hasBaleen; public static final String SERIALIZED_NAME_HAS_TEETH = "hasTeeth"; @SerializedName(SERIALIZED_NAME_HAS_TEETH) - @javax.annotation.Nullable - private Boolean hasTeeth; + @javax.annotation.Nullable private Boolean hasTeeth; public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Whale() { } @@ -77,8 +75,7 @@ public class Whale { * Get hasBaleen * @return hasBaleen */ - @javax.annotation.Nullable - public Boolean getHasBaleen() { + @javax.annotation.Nullable public Boolean getHasBaleen() { return hasBaleen; } @@ -96,8 +93,7 @@ public class Whale { * Get hasTeeth * @return hasTeeth */ - @javax.annotation.Nullable - public Boolean getHasTeeth() { + @javax.annotation.Nullable public Boolean getHasTeeth() { return hasTeeth; } @@ -115,8 +111,7 @@ public class Whale { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -169,7 +164,6 @@ public class Whale { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Zebra.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Zebra.java index f3dfb5aad2c..20835136df9 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Zebra.java @@ -49,6 +49,7 @@ import org.openapitools.client.JSON; * Zebra */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Zebra { /** * Gets or Sets type @@ -103,16 +104,13 @@ public class Zebra { TypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private TypeEnum type; + @javax.annotation.Nullable private TypeEnum type; public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - private String className; + @javax.annotation.Nonnull private String className; public Zebra() { } @@ -126,8 +124,7 @@ public class Zebra { * Get type * @return type */ - @javax.annotation.Nullable - public TypeEnum getType() { + @javax.annotation.Nullable public TypeEnum getType() { return type; } @@ -145,8 +142,7 @@ public class Zebra { * Get className * @return className */ - @javax.annotation.Nonnull - public String getClassName() { + @javax.annotation.Nonnull public String getClassName() { return className; } @@ -199,7 +195,6 @@ public class Zebra { return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 39248c921d2..43eb29f5f69 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -35,10 +35,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesAnyType.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesAnyType extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 0aaeb44f790..a5a4e7a7d1c 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -36,10 +36,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesArray.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -55,9 +55,7 @@ public class AdditionalPropertiesArray extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 900b396ef85..ff0802ff5d8 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -35,10 +35,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesBoolean.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesBoolean extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index f6b0dd80cf5..faaaf5156bb 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -47,50 +47,40 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE3 }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_STRING = "map_string"; - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_NUMBER = "map_number"; - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String JSON_PROPERTY_MAP_INTEGER = "map_integer"; - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_BOOLEAN = "map_boolean"; - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_INTEGER = "map_array_integer"; - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_ANYTYPE = "map_array_anytype"; - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_STRING = "map_map_string"; - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_ANYTYPE = "map_map_anytype"; - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String JSON_PROPERTY_ANYTYPE2 = "anytype_2"; - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String JSON_PROPERTY_ANYTYPE3 = "anytype_3"; - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -113,9 +103,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapString() { @@ -147,9 +135,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -182,9 +168,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapInteger() { @@ -216,9 +200,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapBoolean() { @@ -250,9 +232,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -285,9 +265,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -320,9 +298,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -355,9 +331,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -382,9 +356,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype1() { @@ -408,9 +380,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype2() { @@ -434,9 +404,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype3() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 9d30692cc4b..68c76cda350 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -35,10 +35,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesInteger.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesInteger extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index abd01ad623d..0a5ecdf3143 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -36,10 +36,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesNumber.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -55,9 +55,7 @@ public class AdditionalPropertiesNumber extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 6be4637ed18..d1b35c1921b 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -35,10 +35,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesObject extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 74ceb8d006a..35c10c08747 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -35,10 +35,10 @@ import org.hibernate.validator.constraints.*; AdditionalPropertiesString.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesString extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java index 24e8e93396e..d5370c9114b 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java @@ -37,6 +37,7 @@ import org.hibernate.validator.constraints.*; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -50,12 +51,10 @@ import org.hibernate.validator.constraints.*; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -70,9 +69,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,9 +94,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 127a00e3573..fa09d75e4b0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -37,10 +37,10 @@ import org.hibernate.validator.constraints.*; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -63,9 +63,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 757c7a12f59..f4d78a94c7d 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -37,10 +37,10 @@ import org.hibernate.validator.constraints.*; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -63,9 +63,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayTest.java index a8af5f2a6b0..e9c6bd844af 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -39,18 +39,16 @@ import org.hibernate.validator.constraints.*; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -73,9 +71,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -107,9 +103,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -142,9 +136,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/BigCat.java index d6944e01757..fe06e1d0d6b 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/BigCat.java @@ -37,6 +37,7 @@ import org.hibernate.validator.constraints.*; BigCat.JSON_PROPERTY_KIND }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -82,10 +83,8 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -101,9 +100,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_KIND) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public KindEnum getKind() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Capitalization.java index 1305b9c1852..bc8b93f5a65 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Capitalization.java @@ -38,30 +38,25 @@ import org.hibernate.validator.constraints.*; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -76,9 +71,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -102,9 +95,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -128,9 +119,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -154,9 +143,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -180,9 +167,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -206,9 +191,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Cat.java index aa6610f6f6c..a7fc109bea6 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Cat.java @@ -37,6 +37,7 @@ import org.hibernate.validator.constraints.*; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -48,8 +49,7 @@ import org.hibernate.validator.constraints.*; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -65,9 +65,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isDeclawed() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java index 4fb7afd7ccd..4e29c52ce60 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java @@ -34,14 +34,13 @@ import org.hibernate.validator.constraints.*; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -56,9 +55,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -82,9 +79,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ClassModel.java index a57c0106883..a88121d50a9 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ClassModel.java @@ -33,10 +33,10 @@ import org.hibernate.validator.constraints.*; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -51,9 +51,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Client.java index 74b7ac8cac0..a235cc9fac0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Client.java @@ -33,10 +33,10 @@ import org.hibernate.validator.constraints.*; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -51,9 +51,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Dog.java index 33045cfca43..0d6dd07af26 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Dog.java @@ -37,6 +37,7 @@ import org.hibernate.validator.constraints.*; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -45,8 +46,7 @@ import org.hibernate.validator.constraints.*; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -62,9 +62,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumArrays.java index 01f0cfcf0eb..ac1f59da256 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -37,6 +37,7 @@ import org.hibernate.validator.constraints.*; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -72,10 +73,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -111,10 +110,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -129,9 +126,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -163,9 +158,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java index 6fd258985d5..cf11b3cee94 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java @@ -39,6 +39,7 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -76,10 +77,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -117,10 +116,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -156,10 +153,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -195,14 +190,11 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -217,9 +209,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -243,9 +233,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -270,9 +258,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -296,9 +282,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -322,9 +306,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index e6f15d47f55..ba656842734 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -38,14 +38,13 @@ import org.hibernate.validator.constraints.*; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List<@Valid ModelFile> files = new ArrayList<>(); + @javax.annotation.Nullable private List<@Valid ModelFile> files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -60,9 +59,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -95,9 +92,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java index 3abea3128f9..4f0f6e39ec0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java @@ -52,62 +52,49 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal"; - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -124,9 +111,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @Min(10) @Max(100) - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -152,9 +137,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @Min(20) @Max(200) - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -178,9 +161,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -206,11 +187,9 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - @DecimalMin("32.1") @DecimalMax("543.2") - @JsonProperty(JSON_PROPERTY_NUMBER) + @DecimalMin("32.1") @DecimalMax("543.2") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -236,9 +215,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,9 +241,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -290,9 +265,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -316,9 +289,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -343,9 +314,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -370,10 +339,8 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -398,9 +365,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -425,9 +390,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -452,10 +415,8 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @NotNull - @Size(min=10,max=64) - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @NotNull + @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -479,9 +440,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 49078b74788..bbd3242cc33 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -35,14 +35,13 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -63,9 +62,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -78,9 +75,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MapTest.java index a76e9693b26..950467f4ced 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MapTest.java @@ -38,10 +38,10 @@ import org.hibernate.validator.constraints.*; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -77,18 +77,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -111,9 +107,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -146,9 +140,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -180,9 +172,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -214,9 +204,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 95418f67677..f9bb77dbb90 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -40,18 +40,16 @@ import org.hibernate.validator.constraints.*; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -66,9 +64,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -93,9 +89,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -128,9 +122,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Model200Response.java index 879df59546a..c528f65634f 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Model200Response.java @@ -35,14 +35,13 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -57,9 +56,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -83,9 +80,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 886fa70c0c1..933281b6861 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -36,18 +36,16 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -62,9 +60,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -88,9 +84,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -114,9 +108,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelFile.java index aca3044c7b8..e041c922d00 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelFile.java @@ -34,10 +34,10 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -52,9 +52,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelList.java index 4328a5cb838..8fcdcb370b6 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelList.java @@ -34,10 +34,10 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -52,9 +52,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelReturn.java index d55b6c92ba0..071494c78e7 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -34,10 +34,10 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -52,9 +52,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java index e0f72a2670e..1ea7692ec26 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java @@ -36,22 +36,19 @@ import org.hibernate.validator.constraints.*; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -78,9 +75,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -99,9 +94,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -120,9 +113,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -140,9 +131,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/NumberOnly.java index 02a77010ae4..51d4a6dd740 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -34,10 +34,10 @@ import org.hibernate.validator.constraints.*; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -52,9 +52,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Order.java index 00afa5dcb2f..bb095107e74 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Order.java @@ -39,22 +39,19 @@ import org.hibernate.validator.constraints.*; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -92,14 +89,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -114,9 +108,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -140,9 +132,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -166,9 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -192,9 +180,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -219,9 +205,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -245,9 +229,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isComplete() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/OuterComposite.java index 468b4eddb3c..47b5ac84891 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -36,18 +36,16 @@ import org.hibernate.validator.constraints.*; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -62,9 +60,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -89,9 +85,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -115,9 +109,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isMyBoolean() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java index dfaed337a31..2013fff34bb 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java @@ -46,26 +46,22 @@ import org.hibernate.validator.constraints.*; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List<@Valid Tag> tags = new ArrayList<>(); + @javax.annotation.Nullable private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store @@ -103,10 +99,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -121,9 +115,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -147,9 +139,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -174,9 +164,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -209,9 +197,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -245,9 +231,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -272,9 +256,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 0efdf4e2155..6fe8d61afa6 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -34,14 +34,13 @@ import org.hibernate.validator.constraints.*; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -60,9 +59,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -81,9 +78,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/SpecialModelName.java index 840b67b99e1..a41ece4ea73 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -34,10 +34,10 @@ import org.hibernate.validator.constraints.*; }) @JsonTypeName("$special[model.name]") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -52,9 +52,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Tag.java index 8b927ba4e28..f9d204ff7f8 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Tag.java @@ -34,14 +34,13 @@ import org.hibernate.validator.constraints.*; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -56,9 +55,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -82,9 +79,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5573e2a35c3..03220f979c0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -41,26 +41,22 @@ import org.hibernate.validator.constraints.*; TypeHolderDefault.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -75,9 +71,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -102,10 +96,8 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -130,9 +122,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -157,9 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -192,9 +180,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 59748c90823..3f63db377f2 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -42,30 +42,25 @@ import org.hibernate.validator.constraints.*; TypeHolderExample.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_FLOAT_ITEM = "float_item"; - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -80,9 +75,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -107,10 +100,8 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -135,9 +126,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -162,9 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -189,9 +176,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -224,9 +209,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java index 97c4b4a2fc4..422cdbbd493 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/User.java @@ -40,38 +40,31 @@ import org.hibernate.validator.constraints.*; User.JSON_PROPERTY_USER_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -86,9 +79,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -112,9 +103,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -138,9 +127,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -164,9 +151,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -190,9 +175,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -216,9 +199,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -242,9 +223,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -268,9 +247,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/XmlItem.java index b3bcc4c5f84..5e91941ae31 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/XmlItem.java @@ -65,122 +65,94 @@ import org.hibernate.validator.constraints.*; XmlItem.JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String JSON_PROPERTY_ATTRIBUTE_STRING = "attribute_string"; - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String JSON_PROPERTY_ATTRIBUTE_NUMBER = "attribute_number"; - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String JSON_PROPERTY_ATTRIBUTE_INTEGER = "attribute_integer"; - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String JSON_PROPERTY_ATTRIBUTE_BOOLEAN = "attribute_boolean"; - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String JSON_PROPERTY_WRAPPED_ARRAY = "wrapped_array"; - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_STRING = "name_string"; - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String JSON_PROPERTY_NAME_NUMBER = "name_number"; - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String JSON_PROPERTY_NAME_INTEGER = "name_integer"; - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String JSON_PROPERTY_NAME_BOOLEAN = "name_boolean"; - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String JSON_PROPERTY_NAME_ARRAY = "name_array"; - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_WRAPPED_ARRAY = "name_wrapped_array"; - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_STRING = "prefix_string"; - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String JSON_PROPERTY_PREFIX_NUMBER = "prefix_number"; - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String JSON_PROPERTY_PREFIX_INTEGER = "prefix_integer"; - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String JSON_PROPERTY_PREFIX_BOOLEAN = "prefix_boolean"; - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String JSON_PROPERTY_PREFIX_ARRAY = "prefix_array"; - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_STRING = "namespace_string"; - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String JSON_PROPERTY_NAMESPACE_NUMBER = "namespace_number"; - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String JSON_PROPERTY_NAMESPACE_INTEGER = "namespace_integer"; - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String JSON_PROPERTY_NAMESPACE_BOOLEAN = "namespace_boolean"; - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String JSON_PROPERTY_NAMESPACE_ARRAY = "namespace_array"; - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_STRING = "prefix_ns_string"; - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String JSON_PROPERTY_PREFIX_NS_NUMBER = "prefix_ns_number"; - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String JSON_PROPERTY_PREFIX_NS_INTEGER = "prefix_ns_integer"; - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String JSON_PROPERTY_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String JSON_PROPERTY_PREFIX_NS_ARRAY = "prefix_ns_array"; - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -195,9 +167,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAttributeString() { @@ -221,9 +191,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -248,9 +216,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getAttributeInteger() { @@ -274,9 +240,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isAttributeBoolean() { @@ -308,9 +272,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getWrappedArray() { @@ -334,9 +296,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNameString() { @@ -360,9 +320,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -387,9 +345,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNameInteger() { @@ -413,9 +369,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isNameBoolean() { @@ -447,9 +401,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameArray() { @@ -481,9 +433,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameWrappedArray() { @@ -507,9 +457,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixString() { @@ -533,9 +481,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -560,9 +506,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixInteger() { @@ -586,9 +530,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isPrefixBoolean() { @@ -620,9 +562,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixArray() { @@ -654,9 +594,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixWrappedArray() { @@ -680,9 +618,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNamespaceString() { @@ -706,9 +642,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -733,9 +667,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNamespaceInteger() { @@ -759,9 +691,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isNamespaceBoolean() { @@ -793,9 +723,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceArray() { @@ -827,9 +755,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceWrappedArray() { @@ -853,9 +779,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixNsString() { @@ -879,9 +803,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -906,9 +828,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixNsInteger() { @@ -932,9 +852,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean isPrefixNsBoolean() { @@ -966,9 +884,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsArray() { @@ -1000,9 +916,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsWrappedArray() { diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 37b6a39f460..7dba6b61779 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -52,8 +52,6 @@ public class AdditionalPropertiesAnyType extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 84d8818e3b2..1c62ffcb5bc 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -32,11 +32,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -53,8 +53,6 @@ public class AdditionalPropertiesArray extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index e2f9e5a8ecc..364572b1b92 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -52,8 +52,6 @@ public class AdditionalPropertiesBoolean extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 1cc6ca8a441..8854a04c121 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -33,61 +33,51 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -111,8 +101,6 @@ public class AdditionalPropertiesClass { * @return mapString */ @javax.annotation.Nullable - - public Map getMapString() { return mapString; } @@ -140,9 +128,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map getMapNumber() { return mapNumber; @@ -172,8 +158,6 @@ public class AdditionalPropertiesClass { * @return mapInteger */ @javax.annotation.Nullable - - public Map getMapInteger() { return mapInteger; } @@ -202,8 +186,6 @@ public class AdditionalPropertiesClass { * @return mapBoolean */ @javax.annotation.Nullable - - public Map getMapBoolean() { return mapBoolean; } @@ -231,9 +213,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map> getMapArrayInteger() { return mapArrayInteger; @@ -262,9 +242,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map> getMapArrayAnytype() { return mapArrayAnytype; @@ -293,9 +271,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map> getMapMapString() { return mapMapString; @@ -324,9 +300,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map> getMapMapAnytype() { return mapMapAnytype; @@ -348,8 +322,6 @@ public class AdditionalPropertiesClass { * @return anytype1 */ @javax.annotation.Nullable - - public Object getAnytype1() { return anytype1; } @@ -370,8 +342,6 @@ public class AdditionalPropertiesClass { * @return anytype2 */ @javax.annotation.Nullable - - public Object getAnytype2() { return anytype2; } @@ -392,8 +362,6 @@ public class AdditionalPropertiesClass { * @return anytype3 */ @javax.annotation.Nullable - - public Object getAnytype3() { return anytype3; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 5c4c3b03704..d306be307e3 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -52,8 +52,6 @@ public class AdditionalPropertiesInteger extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 577cb1a09dc..96dedcc770a 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -32,11 +32,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -53,8 +53,6 @@ public class AdditionalPropertiesNumber extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index ed885439f69..764e57ee3f1 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -52,8 +52,6 @@ public class AdditionalPropertiesObject extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index 2a117baa7b9..ea156d1550d 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -52,8 +52,6 @@ public class AdditionalPropertiesString extends HashMap { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java index 0ed8747d60d..97c8b14499c 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -53,9 +52,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public String getClassName() { return className; @@ -77,8 +74,6 @@ public class Animal { * @return color */ @javax.annotation.Nullable - - public String getColor() { return color; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index e46afca9c35..76ec0f21475 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -33,11 +33,11 @@ import org.hibernate.validator.constraints.*; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,9 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List> getArrayArrayNumber() { return arrayArrayNumber; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 68b9ca6b546..9e2e7c9261a 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -33,11 +33,11 @@ import org.hibernate.validator.constraints.*; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,9 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List getArrayNumber() { return arrayNumber; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayTest.java index ac359c0a0da..e90b933e051 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -33,21 +33,19 @@ import org.hibernate.validator.constraints.*; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -71,8 +69,6 @@ public class ArrayTest { * @return arrayOfString */ @javax.annotation.Nullable - - public List getArrayOfString() { return arrayOfString; } @@ -100,9 +96,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; @@ -131,9 +125,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List> getArrayArrayOfModel() { return arrayArrayOfModel; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/BigCat.java index fdc798846bb..bb75908bfff 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/BigCat.java @@ -30,6 +30,7 @@ import org.hibernate.validator.constraints.*; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat { /** * Gets or Sets kind @@ -81,11 +82,9 @@ public class BigCat extends Cat { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -102,8 +101,6 @@ public class BigCat extends Cat { * @return kind */ @javax.annotation.Nullable - - public KindEnum getKind() { return kind; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Capitalization.java index 1a207cec613..29f80609012 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Capitalization.java @@ -29,36 +29,31 @@ import org.hibernate.validator.constraints.*; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -74,8 +69,6 @@ public class Capitalization { * @return smallCamel */ @javax.annotation.Nullable - - public String getSmallCamel() { return smallCamel; } @@ -96,8 +89,6 @@ public class Capitalization { * @return capitalCamel */ @javax.annotation.Nullable - - public String getCapitalCamel() { return capitalCamel; } @@ -118,8 +109,6 @@ public class Capitalization { * @return smallSnake */ @javax.annotation.Nullable - - public String getSmallSnake() { return smallSnake; } @@ -140,8 +129,6 @@ public class Capitalization { * @return capitalSnake */ @javax.annotation.Nullable - - public String getCapitalSnake() { return capitalSnake; } @@ -162,8 +149,6 @@ public class Capitalization { * @return scAETHFlowPoints */ @javax.annotation.Nullable - - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -184,8 +169,6 @@ public class Capitalization { * @return ATT_NAME */ @javax.annotation.Nullable - - public String getATTNAME() { return ATT_NAME; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Cat.java index 1edc97a7c5a..1f1caee6ece 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Cat.java @@ -30,11 +30,11 @@ import org.hibernate.validator.constraints.*; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -51,8 +51,6 @@ public class Cat extends Animal { * @return declawed */ @javax.annotation.Nullable - - public Boolean isDeclawed() { return declawed; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java index 84f0e1a3aed..f65225b06e6 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -54,8 +53,6 @@ public class Category { * @return id */ @javax.annotation.Nullable - - public Long getId() { return id; } @@ -75,9 +72,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public String getName() { return name; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ClassModel.java index ca882ededc3..9f5186ff602 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ClassModel.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -49,8 +49,6 @@ public class ClassModel { * @return propertyClass */ @javax.annotation.Nullable - - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Client.java index 76bd3f849c5..c120292056c 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Client.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -49,8 +49,6 @@ public class Client { * @return client */ @javax.annotation.Nullable - - public String getClient() { return client; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Dog.java index 2c927a13e68..5d2001c97c0 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Dog.java @@ -30,11 +30,11 @@ import org.hibernate.validator.constraints.*; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -51,8 +51,6 @@ public class Dog extends Animal { * @return breed */ @javax.annotation.Nullable - - public String getBreed() { return breed; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumArrays.java index 64aa1b2e169..6e99f0383c0 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -32,6 +32,7 @@ import org.hibernate.validator.constraints.*; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -79,11 +80,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -131,11 +130,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -151,8 +148,6 @@ public class EnumArrays { * @return justSymbol */ @javax.annotation.Nullable - - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -181,8 +176,6 @@ public class EnumArrays { * @return arrayEnum */ @javax.annotation.Nullable - - public List getArrayEnum() { return arrayEnum; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java index 73f12308c80..719168d69ac 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java @@ -30,6 +30,7 @@ import org.hibernate.validator.constraints.*; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -79,11 +80,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -133,11 +132,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -185,11 +182,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -237,16 +232,13 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -262,8 +254,6 @@ public class EnumTest { * @return enumString */ @javax.annotation.Nullable - - public EnumStringEnum getEnumString() { return enumString; } @@ -283,9 +273,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; @@ -307,8 +295,6 @@ public class EnumTest { * @return enumInteger */ @javax.annotation.Nullable - - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -329,8 +315,6 @@ public class EnumTest { * @return enumNumber */ @javax.annotation.Nullable - - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -350,9 +334,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public OuterEnum getOuterEnum() { return outerEnum; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index d73cc3b08df..d819edee288 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -33,16 +33,15 @@ import org.hibernate.validator.constraints.*; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List<@Valid ModelFile> files = new ArrayList<>(); + @javax.annotation.Nullable private List<@Valid ModelFile> files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,9 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public ModelFile getFile() { return _file; @@ -88,9 +85,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List<@Valid ModelFile> getFiles() { return files; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java index 0232813a8e2..bc1018eb45b 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java @@ -34,76 +34,63 @@ import org.hibernate.validator.constraints.*; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -120,9 +107,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @Min(10) @Max(100) - + @javax.annotation.Nullable @Min(10) @Max(100) public Integer getInteger() { return integer; } @@ -144,9 +129,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @Min(20) @Max(200) - + @javax.annotation.Nullable @Min(20) @Max(200) public Integer getInt32() { return int32; } @@ -167,8 +150,6 @@ public class FormatTest { * @return int64 */ @javax.annotation.Nullable - - public Long getInt64() { return int64; } @@ -190,11 +171,9 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2") - public BigDecimal getNumber() { return number; } @@ -216,9 +195,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - + @javax.annotation.Nullable @DecimalMin("54.3") @DecimalMax("987.6") public Float getFloat() { return _float; } @@ -240,9 +217,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - + @javax.annotation.Nullable @DecimalMin("67.8") @DecimalMax("123.4") public Double getDouble() { return _double; } @@ -262,9 +237,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - + @javax.annotation.Nullable @Pattern(regexp="/[a-z]/i") public String getString() { return string; } @@ -284,9 +257,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public byte[] getByte() { return _byte; @@ -307,9 +278,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public File getBinary() { return binary; @@ -330,11 +299,9 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - public LocalDate getDate() { return date; } @@ -354,9 +321,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public OffsetDateTime getDateTime() { return dateTime; @@ -377,9 +342,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public UUID getUuid() { return uuid; @@ -400,10 +363,8 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Size(min=10,max=64) - public String getPassword() { return password; } @@ -423,9 +384,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getBigDecimal() { return bigDecimal; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 0279aca7c87..f1d536dacd5 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,6 @@ public class HasOnlyReadOnly { * @return bar */ @javax.annotation.Nullable - - public String getBar() { return bar; } @@ -73,8 +70,6 @@ public class HasOnlyReadOnly { * @return foo */ @javax.annotation.Nullable - - public String getFoo() { return foo; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MapTest.java index 24f6549924b..18c7c3114e7 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MapTest.java @@ -31,11 +31,11 @@ import org.hibernate.validator.constraints.*; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -83,21 +83,17 @@ public class MapTest { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -120,9 +116,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map> getMapMapOfString() { return mapMapOfString; @@ -152,8 +146,6 @@ public class MapTest { * @return mapOfEnumString */ @javax.annotation.Nullable - - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -182,8 +174,6 @@ public class MapTest { * @return directMap */ @javax.annotation.Nullable - - public Map getDirectMap() { return directMap; } @@ -212,8 +202,6 @@ public class MapTest { * @return indirectMap */ @javax.annotation.Nullable - - public Map getIndirectMap() { return indirectMap; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index b0587289c9d..17885fc5a21 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,21 +34,19 @@ import org.hibernate.validator.constraints.*; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,9 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public UUID getUuid() { return uuid; @@ -86,9 +82,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public OffsetDateTime getDateTime() { return dateTime; @@ -117,9 +111,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Map getMap() { return map; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Model200Response.java index 57b82e3e59f..7db37f1b895 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Model200Response.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,6 @@ public class Model200Response { * @return name */ @javax.annotation.Nullable - - public Integer getName() { return name; } @@ -76,8 +73,6 @@ public class Model200Response { * @return propertyClass */ @javax.annotation.Nullable - - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 041eebf8202..0e8e0ac3db3 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -29,21 +29,19 @@ import org.hibernate.validator.constraints.*; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,6 @@ public class ModelApiResponse { * @return code */ @javax.annotation.Nullable - - public Integer getCode() { return code; } @@ -81,8 +77,6 @@ public class ModelApiResponse { * @return type */ @javax.annotation.Nullable - - public String getType() { return type; } @@ -103,8 +97,6 @@ public class ModelApiResponse { * @return message */ @javax.annotation.Nullable - - public String getMessage() { return message; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelFile.java index b3caf101d91..a8070d65f7b 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelFile.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,6 @@ public class ModelFile { * @return sourceURI */ @javax.annotation.Nullable - - public String getSourceURI() { return sourceURI; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelList.java index bc447936f22..bf129ae9840 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelList.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,6 @@ public class ModelList { * @return _123list */ @javax.annotation.Nullable - - public String get123list() { return _123list; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelReturn.java index 5ef3a698141..a3c7002e07f 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,6 @@ public class ModelReturn { * @return _return */ @javax.annotation.Nullable - - public Integer getReturn() { return _return; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java index 114a9245e21..5e0c4979ad7 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java @@ -29,26 +29,23 @@ import org.hibernate.validator.constraints.*; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,9 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Integer getName() { return name; @@ -93,8 +88,6 @@ public class Name { * @return snakeCase */ @javax.annotation.Nullable - - public Integer getSnakeCase() { return snakeCase; } @@ -112,8 +105,6 @@ public class Name { * @return property */ @javax.annotation.Nullable - - public String getProperty() { return property; } @@ -128,8 +119,6 @@ public class Name { * @return _123number */ @javax.annotation.Nullable - - public Integer get123number() { return _123number; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/NumberOnly.java index 961e7797c77..33f3390c820 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -30,11 +30,11 @@ import org.hibernate.validator.constraints.*; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,9 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getJustNumber() { return justNumber; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Order.java index 02e8cf1a431..b681000b41c 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Order.java @@ -30,26 +30,23 @@ import org.hibernate.validator.constraints.*; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -99,16 +96,13 @@ public class Order { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -124,8 +118,6 @@ public class Order { * @return id */ @javax.annotation.Nullable - - public Long getId() { return id; } @@ -146,8 +138,6 @@ public class Order { * @return petId */ @javax.annotation.Nullable - - public Long getPetId() { return petId; } @@ -168,8 +158,6 @@ public class Order { * @return quantity */ @javax.annotation.Nullable - - public Integer getQuantity() { return quantity; } @@ -189,9 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public OffsetDateTime getShipDate() { return shipDate; @@ -213,8 +199,6 @@ public class Order { * @return status */ @javax.annotation.Nullable - - public StatusEnum getStatus() { return status; } @@ -235,8 +219,6 @@ public class Order { * @return complete */ @javax.annotation.Nullable - - public Boolean isComplete() { return complete; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/OuterComposite.java index 13e101cd839..d5a19347745 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -30,21 +30,19 @@ import org.hibernate.validator.constraints.*; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,9 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getMyNumber() { return myNumber; @@ -83,8 +79,6 @@ public class OuterComposite { * @return myString */ @javax.annotation.Nullable - - public String getMyString() { return myString; } @@ -105,8 +99,6 @@ public class OuterComposite { * @return myBoolean */ @javax.annotation.Nullable - - public Boolean isMyBoolean() { return myBoolean; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java index fc096a09f4b..c023984742f 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java @@ -36,31 +36,27 @@ import org.hibernate.validator.constraints.*; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List<@Valid Tag> tags = new ArrayList<>(); + @javax.annotation.Nullable private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store @@ -110,11 +106,9 @@ public class Pet { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -130,8 +124,6 @@ public class Pet { * @return id */ @javax.annotation.Nullable - - public Long getId() { return id; } @@ -151,9 +143,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public Category getCategory() { return category; @@ -174,9 +164,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public String getName() { return name; @@ -205,9 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Set getPhotoUrls() { return photoUrls; @@ -236,9 +222,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public List<@Valid Tag> getTags() { return tags; @@ -260,8 +244,6 @@ public class Pet { * @return status */ @javax.annotation.Nullable - - public StatusEnum getStatus() { return status; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 3cb220d55ad..0574e03af15 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -58,8 +57,6 @@ public class ReadOnlyFirst { * @return bar */ @javax.annotation.Nullable - - public String getBar() { return bar; } @@ -77,8 +74,6 @@ public class ReadOnlyFirst { * @return baz */ @javax.annotation.Nullable - - public String getBaz() { return baz; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/SpecialModelName.java index aebe355c58c..2efd757877d 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -29,11 +29,11 @@ import org.hibernate.validator.constraints.*; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,6 @@ public class SpecialModelName { * @return $specialPropertyName */ @javax.annotation.Nullable - - public Long get$SpecialPropertyName() { return $specialPropertyName; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Tag.java index 24c72201a86..d60d550a270 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Tag.java @@ -29,16 +29,15 @@ import org.hibernate.validator.constraints.*; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -54,8 +53,6 @@ public class Tag { * @return id */ @javax.annotation.Nullable - - public Long getId() { return id; } @@ -76,8 +73,6 @@ public class Tag { * @return name */ @javax.annotation.Nullable - - public String getName() { return name; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index aea18b10cbd..45cf2c3cdf3 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -33,31 +33,27 @@ import org.hibernate.validator.constraints.*; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -72,9 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public String getStringItem() { return stringItem; @@ -95,11 +89,9 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - public BigDecimal getNumberItem() { return numberItem; } @@ -119,9 +111,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Integer getIntegerItem() { return integerItem; @@ -142,9 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Boolean isBoolItem() { return boolItem; @@ -173,9 +161,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public List getArrayItem() { return arrayItem; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java index d4b4654cd38..2ac218aaeda 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -33,36 +33,31 @@ import org.hibernate.validator.constraints.*; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -77,9 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public String getStringItem() { return stringItem; @@ -100,11 +93,9 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @NotNull + @javax.annotation.Nonnull @NotNull @Valid - public BigDecimal getNumberItem() { return numberItem; } @@ -124,9 +115,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Float getFloatItem() { return floatItem; @@ -147,9 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Integer getIntegerItem() { return integerItem; @@ -170,9 +157,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public Boolean isBoolItem() { return boolItem; @@ -201,9 +186,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @NotNull - + @javax.annotation.Nonnull @NotNull public List getArrayItem() { return arrayItem; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java index 18ab177e9df..8c2d46f3d47 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/User.java @@ -29,46 +29,39 @@ import org.hibernate.validator.constraints.*; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -84,8 +77,6 @@ public class User { * @return id */ @javax.annotation.Nullable - - public Long getId() { return id; } @@ -106,8 +97,6 @@ public class User { * @return username */ @javax.annotation.Nullable - - public String getUsername() { return username; } @@ -128,8 +117,6 @@ public class User { * @return firstName */ @javax.annotation.Nullable - - public String getFirstName() { return firstName; } @@ -150,8 +137,6 @@ public class User { * @return lastName */ @javax.annotation.Nullable - - public String getLastName() { return lastName; } @@ -172,8 +157,6 @@ public class User { * @return email */ @javax.annotation.Nullable - - public String getEmail() { return email; } @@ -194,8 +177,6 @@ public class User { * @return password */ @javax.annotation.Nullable - - public String getPassword() { return password; } @@ -216,8 +197,6 @@ public class User { * @return phone */ @javax.annotation.Nullable - - public String getPhone() { return phone; } @@ -238,8 +217,6 @@ public class User { * @return userStatus */ @javax.annotation.Nullable - - public Integer getUserStatus() { return userStatus; } diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/XmlItem.java index 36b195673fe..6efebbab5df 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/XmlItem.java @@ -33,151 +33,123 @@ import org.hibernate.validator.constraints.*; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -193,8 +165,6 @@ public class XmlItem { * @return attributeString */ @javax.annotation.Nullable - - public String getAttributeString() { return attributeString; } @@ -214,9 +184,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getAttributeNumber() { return attributeNumber; @@ -238,8 +206,6 @@ public class XmlItem { * @return attributeInteger */ @javax.annotation.Nullable - - public Integer getAttributeInteger() { return attributeInteger; } @@ -260,8 +226,6 @@ public class XmlItem { * @return attributeBoolean */ @javax.annotation.Nullable - - public Boolean isAttributeBoolean() { return attributeBoolean; } @@ -290,8 +254,6 @@ public class XmlItem { * @return wrappedArray */ @javax.annotation.Nullable - - public List getWrappedArray() { return wrappedArray; } @@ -312,8 +274,6 @@ public class XmlItem { * @return nameString */ @javax.annotation.Nullable - - public String getNameString() { return nameString; } @@ -333,9 +293,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getNameNumber() { return nameNumber; @@ -357,8 +315,6 @@ public class XmlItem { * @return nameInteger */ @javax.annotation.Nullable - - public Integer getNameInteger() { return nameInteger; } @@ -379,8 +335,6 @@ public class XmlItem { * @return nameBoolean */ @javax.annotation.Nullable - - public Boolean isNameBoolean() { return nameBoolean; } @@ -409,8 +363,6 @@ public class XmlItem { * @return nameArray */ @javax.annotation.Nullable - - public List getNameArray() { return nameArray; } @@ -439,8 +391,6 @@ public class XmlItem { * @return nameWrappedArray */ @javax.annotation.Nullable - - public List getNameWrappedArray() { return nameWrappedArray; } @@ -461,8 +411,6 @@ public class XmlItem { * @return prefixString */ @javax.annotation.Nullable - - public String getPrefixString() { return prefixString; } @@ -482,9 +430,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getPrefixNumber() { return prefixNumber; @@ -506,8 +452,6 @@ public class XmlItem { * @return prefixInteger */ @javax.annotation.Nullable - - public Integer getPrefixInteger() { return prefixInteger; } @@ -528,8 +472,6 @@ public class XmlItem { * @return prefixBoolean */ @javax.annotation.Nullable - - public Boolean isPrefixBoolean() { return prefixBoolean; } @@ -558,8 +500,6 @@ public class XmlItem { * @return prefixArray */ @javax.annotation.Nullable - - public List getPrefixArray() { return prefixArray; } @@ -588,8 +528,6 @@ public class XmlItem { * @return prefixWrappedArray */ @javax.annotation.Nullable - - public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -610,8 +548,6 @@ public class XmlItem { * @return namespaceString */ @javax.annotation.Nullable - - public String getNamespaceString() { return namespaceString; } @@ -631,9 +567,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getNamespaceNumber() { return namespaceNumber; @@ -655,8 +589,6 @@ public class XmlItem { * @return namespaceInteger */ @javax.annotation.Nullable - - public Integer getNamespaceInteger() { return namespaceInteger; } @@ -677,8 +609,6 @@ public class XmlItem { * @return namespaceBoolean */ @javax.annotation.Nullable - - public Boolean isNamespaceBoolean() { return namespaceBoolean; } @@ -707,8 +637,6 @@ public class XmlItem { * @return namespaceArray */ @javax.annotation.Nullable - - public List getNamespaceArray() { return namespaceArray; } @@ -737,8 +665,6 @@ public class XmlItem { * @return namespaceWrappedArray */ @javax.annotation.Nullable - - public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -759,8 +685,6 @@ public class XmlItem { * @return prefixNsString */ @javax.annotation.Nullable - - public String getPrefixNsString() { return prefixNsString; } @@ -780,9 +704,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - @Valid - + @javax.annotation.Nullable @Valid public BigDecimal getPrefixNsNumber() { return prefixNsNumber; @@ -804,8 +726,6 @@ public class XmlItem { * @return prefixNsInteger */ @javax.annotation.Nullable - - public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -826,8 +746,6 @@ public class XmlItem { * @return prefixNsBoolean */ @javax.annotation.Nullable - - public Boolean isPrefixNsBoolean() { return prefixNsBoolean; } @@ -856,8 +774,6 @@ public class XmlItem { * @return prefixNsArray */ @javax.annotation.Nullable - - public List getPrefixNsArray() { return prefixNsArray; } @@ -886,8 +802,6 @@ public class XmlItem { * @return prefixNsWrappedArray */ @javax.annotation.Nullable - - public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java index f071fdbca84..f34b77e12b2 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java @@ -39,26 +39,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ByteArrayObject.JSON_PROPERTY_INT_FIELD }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ByteArrayObject { public static final String JSON_PROPERTY_NULLABLE_ARRAY = "nullableArray"; - @jakarta.annotation.Nullable - private JsonNullable nullableArray = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableArray = JsonNullable.undefined(); public static final String JSON_PROPERTY_NORMAL_ARRAY = "normalArray"; - @jakarta.annotation.Nullable - private byte[] normalArray; + @jakarta.annotation.Nullable private byte[] normalArray; public static final String JSON_PROPERTY_NULLABLE_STRING = "nullableString"; - @jakarta.annotation.Nullable - private JsonNullable nullableString = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableString = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_FIELD = "stringField"; - @jakarta.annotation.Nullable - private String stringField; + @jakarta.annotation.Nullable private String stringField; public static final String JSON_PROPERTY_INT_FIELD = "intField"; - @jakarta.annotation.Nullable - private BigDecimal intField; + @jakarta.annotation.Nullable private BigDecimal intField; public ByteArrayObject() { } @@ -73,8 +69,7 @@ public class ByteArrayObject { * byte array. * @return nullableArray */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public byte[] getNullableArray() { return nullableArray.orElse(null); @@ -82,7 +77,6 @@ public class ByteArrayObject { @JsonProperty(JSON_PROPERTY_NULLABLE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableArray_JsonNullable() { return nullableArray; } @@ -106,8 +100,7 @@ public class ByteArrayObject { * byte array. * @return normalArray */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NORMAL_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NORMAL_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public byte[] getNormalArray() { @@ -131,8 +124,7 @@ public class ByteArrayObject { * Get nullableString * @return nullableString */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableString() { return nullableString.orElse(null); @@ -140,7 +132,6 @@ public class ByteArrayObject { @JsonProperty(JSON_PROPERTY_NULLABLE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableString_JsonNullable() { return nullableString; } @@ -164,8 +155,7 @@ public class ByteArrayObject { * Get stringField * @return stringField */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING_FIELD) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getStringField() { @@ -189,8 +179,7 @@ public class ByteArrayObject { * Get intField * @return intField */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT_FIELD) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getIntField() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 4c1fb1ab1b6..9fe481d0d52 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesClass.JSON_PROPERTY_MAP_OF_MAP_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; - @jakarta.annotation.Nullable - private Map mapProperty; + @jakarta.annotation.Nullable private Map mapProperty; public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @jakarta.annotation.Nullable - private Map> mapOfMapProperty; + @jakarta.annotation.Nullable private Map> mapOfMapProperty; public AdditionalPropertiesClass() { } @@ -64,8 +63,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -98,8 +96,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 7e2402198df..550ef082cf8 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @jakarta.annotation.Nullable - private SingleRefType singleRefType; + @jakarta.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -55,8 +54,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,8 +79,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java index dc52954efbe..bd4d19367e9 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,12 +48,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @jakarta.annotation.Nonnull - protected String className; + @jakarta.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - protected String color = "red"; + @jakarta.annotation.Nullable protected String color = "red"; public Animal() { } @@ -67,8 +66,7 @@ public class Animal { * Get className * @return className */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -93,8 +91,7 @@ public class Animal { * Get color * @return color */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 640cda17255..768db5c9670 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @jakarta.annotation.Nullable - private List> arrayArrayNumber; + @jakarta.annotation.Nullable private List> arrayArrayNumber; public ArrayOfArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 9d09a152b21..404d1c2cac5 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @jakarta.annotation.Nullable - private List arrayNumber; + @jakarta.annotation.Nullable private List arrayNumber; public ArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java index b5ae4339224..4e0915a74b7 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @jakarta.annotation.Nullable - private List arrayOfString; + @jakarta.annotation.Nullable private List arrayOfString; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @jakarta.annotation.Nullable - private List> arrayArrayOfInteger; + @jakarta.annotation.Nullable private List> arrayArrayOfInteger; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @jakarta.annotation.Nullable - private List> arrayArrayOfModel; + @jakarta.annotation.Nullable private List> arrayArrayOfModel; public ArrayTest() { } @@ -71,8 +69,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -105,8 +102,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -139,8 +135,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java index 991900b765b..be6d700fba0 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java @@ -36,30 +36,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @jakarta.annotation.Nullable - private String smallCamel; + @jakarta.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @jakarta.annotation.Nullable - private String capitalCamel; + @jakarta.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @jakarta.annotation.Nullable - private String smallSnake; + @jakarta.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @jakarta.annotation.Nullable - private String capitalSnake; + @jakarta.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @jakarta.annotation.Nullable - private String scAETHFlowPoints; + @jakarta.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @jakarta.annotation.Nullable - private String ATT_NAME; + @jakarta.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -74,8 +69,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -100,8 +94,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -126,8 +119,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -152,8 +144,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -178,8 +169,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -204,8 +194,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Name of the pet ") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Name of the pet ") @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java index b2e630bd70f..cad7c6c245c 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @jakarta.annotation.Nullable - private Boolean declawed; + @jakarta.annotation.Nullable private Boolean declawed; public Cat() { @@ -60,8 +60,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Category.java index 2b89e433892..caef9b9d868 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Category.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name = "default-name"; + @jakarta.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -54,8 +53,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,8 +78,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 95fc52d321c..8d87decbea3 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -36,6 +36,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -44,8 +45,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @jakarta.annotation.Nullable - private String otherProperty; + @jakarta.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -61,8 +61,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java index 35a270b6894..5664bf991ed 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -50,8 +50,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Client.java index cdfb6eefa0f..687a3969816 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Client.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @jakarta.annotation.Nullable - private String client; + @jakarta.annotation.Nullable private String client; public Client() { } @@ -49,8 +49,7 @@ public class Client { * Get client * @return client */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java index bdebab9d14e..0243162affd 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public DeprecatedObject() { } @@ -51,8 +51,7 @@ public class DeprecatedObject { * Get name * @return name */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java index 9e2dd021ac6..5c4986ac0a6 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @jakarta.annotation.Nullable - private String breed; + @jakarta.annotation.Nullable private String breed; public Dog() { @@ -60,8 +60,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java index c3d617bc111..6abcbc8c789 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -70,10 +71,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @jakarta.annotation.Nullable - private JustSymbolEnum justSymbol; + @jakarta.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -109,10 +108,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @jakarta.annotation.Nullable - private List arrayEnum; + @jakarta.annotation.Nullable private List arrayEnum; public EnumArrays() { } @@ -127,8 +124,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,8 +157,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java index d565f82e567..ad84ce7f4d6 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -47,6 +47,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -84,10 +85,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @jakarta.annotation.Nullable - private EnumStringEnum enumString; + @jakarta.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -125,10 +124,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @jakarta.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @jakarta.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -164,10 +161,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @jakarta.annotation.Nullable - private EnumIntegerEnum enumInteger; + @jakarta.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -203,26 +198,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @jakarta.annotation.Nullable - private EnumNumberEnum enumNumber; + @jakarta.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @jakarta.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @jakarta.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @jakarta.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @jakarta.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @jakarta.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -237,8 +226,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -263,8 +251,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -289,8 +276,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -315,8 +301,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -341,8 +326,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public OuterEnum getOuterEnum() { @@ -351,7 +335,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -375,8 +358,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -401,8 +383,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -427,8 +408,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 90903a4d61b..2d84bcbb2df 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -36,14 +36,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @jakarta.annotation.Nullable - private BigDecimal someId; + @jakarta.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @jakarta.annotation.Nullable - private Map someMap; + @jakarta.annotation.Nullable private Map someMap; public FakeBigDecimalMap200Response() { } @@ -58,8 +57,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,8 +90,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index f91f7d58a1b..007dc3c98b9 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -36,14 +36,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @jakarta.annotation.Nullable - private ModelFile _file; + @jakarta.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @jakarta.annotation.Nullable - private List files; + @jakarta.annotation.Nullable private List files; public FileSchemaTestClass() { } @@ -58,8 +57,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,8 +90,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java index 863ac0111b5..ce25f844f1a 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar = "bar"; + @jakarta.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -49,8 +49,7 @@ public class Foo { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 8aa4e8aa359..533783c9c14 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private Foo string; + @jakarta.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -51,8 +51,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java index a085258040b..bb1150f9f47 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -52,70 +52,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @jakarta.annotation.Nullable - private Integer integer; + @jakarta.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @jakarta.annotation.Nullable - private Integer int32; + @jakarta.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @jakarta.annotation.Nullable - private Long int64; + @jakarta.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nonnull - private BigDecimal number; + @jakarta.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @jakarta.annotation.Nullable - private BigDecimal decimal; + @jakarta.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private String string; + @jakarta.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @jakarta.annotation.Nonnull - private byte[] _byte; + @jakarta.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @jakarta.annotation.Nullable - private File binary; + @jakarta.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nonnull - private LocalDate date; + @jakarta.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nonnull - private String password; + @jakarta.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @jakarta.annotation.Nullable - private String patternWithDigits; + @jakarta.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @jakarta.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @jakarta.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -132,8 +117,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -160,8 +144,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -186,8 +169,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -214,8 +196,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -242,8 +223,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -270,8 +250,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -296,8 +275,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -322,8 +300,7 @@ public class FormatTest { * Get string * @return string */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -348,8 +325,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -374,8 +350,7 @@ public class FormatTest { * Get binary * @return binary */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -400,8 +375,7 @@ public class FormatTest { * Get date * @return date */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -426,8 +400,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -452,8 +425,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -478,8 +450,7 @@ public class FormatTest { * Get password * @return password */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -504,8 +475,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string that is a 10 digit number. Can have leading zeros.") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string that is a 10 digit number. Can have leading zeros.") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -530,8 +500,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index db5d99ca5dd..9c50f457b37 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @jakarta.annotation.Nullable - private String foo; + @jakarta.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -61,8 +60,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -76,8 +74,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 571d9a8b3a8..e52f4f7e89d 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -36,10 +36,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @jakarta.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -54,8 +54,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getNullableMessage() { @@ -64,7 +63,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java index 554a7e10901..e270ad968f6 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java @@ -36,10 +36,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @jakarta.annotation.Nullable - private Map> mapMapOfString; + @jakarta.annotation.Nullable private Map> mapMapOfString; /** * Gets or Sets inner @@ -75,18 +75,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @jakarta.annotation.Nullable - private Map mapOfEnumString; + @jakarta.annotation.Nullable private Map mapOfEnumString; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @jakarta.annotation.Nullable - private Map directMap; + @jakarta.annotation.Nullable private Map directMap; public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @jakarta.annotation.Nullable - private Map indirectMap; + @jakarta.annotation.Nullable private Map indirectMap; public MapTest() { } @@ -109,8 +105,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,8 +138,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -177,8 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -211,8 +204,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 89b492db8af..8f1e55ada8c 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -38,18 +38,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @jakarta.annotation.Nullable - private Map map; + @jakarta.annotation.Nullable private Map map; public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -64,8 +62,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -90,8 +87,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -124,8 +120,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java index a6fb8e38098..5c3ecd68d9a 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private Integer name; + @jakarta.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -56,8 +55,7 @@ public class Model200Response { * Get name * @return name */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,8 +80,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 6d36a8519b9..bdcc61110ea 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,8 +83,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,8 +108,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java index 206203c91c7..6d137cb6b4f 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @jakarta.annotation.Nullable - private String sourceURI; + @jakarta.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -51,8 +51,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Test capitalization") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Test capitalization") @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java index 2c5493f624e..5de75f2aead 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @jakarta.annotation.Nullable - private String _123list; + @jakarta.annotation.Nullable private String _123list; public ModelList() { } @@ -50,8 +50,7 @@ public class ModelList { * Get _123list * @return _123list */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java index f13befb3bb8..01219c634c8 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @jakarta.annotation.Nullable - private Integer _return; + @jakarta.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -51,8 +51,7 @@ public class ModelReturn { * Get _return * @return _return */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Name.java index f0e0fb1d7bb..ae24ac11e35 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Name.java @@ -35,22 +35,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private Integer name; + @jakarta.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @jakarta.annotation.Nullable - private Integer snakeCase; + @jakarta.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @jakarta.annotation.Nullable - private String property; + @jakarta.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @jakarta.annotation.Nullable - private Integer _123number; + @jakarta.annotation.Nullable private Integer _123number; public Name() { } @@ -77,8 +74,7 @@ public class Name { * Get name * @return name */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,8 +93,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -118,8 +113,7 @@ public class Name { * Get property * @return property */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,8 +132,7 @@ public class Name { * Get _123number * @return _123number */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java index b7b6a900a84..aefdf71e333 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java @@ -54,54 +54,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @jakarta.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @jakarta.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @jakarta.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @jakarta.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @jakarta.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @jakarta.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @jakarta.annotation.Nullable - private List arrayItemsNullable; + @jakarta.annotation.Nullable private List arrayItemsNullable; public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @jakarta.annotation.Nullable - private Map objectItemsNullable; + @jakarta.annotation.Nullable private Map objectItemsNullable; public NullableClass() { @@ -117,8 +106,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Integer getIntegerProp() { @@ -127,7 +115,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -151,8 +138,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public BigDecimal getNumberProp() { @@ -161,7 +147,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -185,8 +170,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Boolean getBooleanProp() { @@ -195,7 +179,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -219,8 +202,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getStringProp() { @@ -229,7 +211,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -253,8 +234,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public LocalDate getDateProp() { @@ -263,7 +243,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -287,8 +266,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public OffsetDateTime getDatetimeProp() { @@ -297,7 +275,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -333,8 +310,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public List getArrayNullableProp() { @@ -343,7 +319,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -379,8 +354,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public List getArrayAndItemsNullableProp() { @@ -389,7 +363,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -421,8 +394,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -459,8 +431,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Map getObjectNullableProp() { @@ -469,7 +440,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -505,8 +475,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Map getObjectAndItemsNullableProp() { @@ -515,7 +484,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -547,8 +515,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java index e36be12cc0c..eda06953e97 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @jakarta.annotation.Nullable - private BigDecimal justNumber; + @jakarta.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -50,8 +50,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 6f35b9d36fe..0fe87f48b90 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -39,22 +39,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private String uuid; + @jakarta.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private BigDecimal id; + @jakarta.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @jakarta.annotation.Nullable - private DeprecatedObject deprecatedRef; + @jakarta.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @jakarta.annotation.Nullable - private List bars; + @jakarta.annotation.Nullable private List bars; public ObjectWithDeprecatedFields() { } @@ -69,8 +66,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -97,8 +93,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -125,8 +120,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,8 +155,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Order.java index cc8a1f2d574..19a32d1ef83 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Order.java @@ -37,22 +37,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -90,14 +87,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -112,8 +106,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,8 +131,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -190,8 +181,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -216,8 +206,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java index 3a98ce5e1fe..026747d0274 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @jakarta.annotation.Nullable - private BigDecimal myNumber; + @jakarta.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @jakarta.annotation.Nullable - private String myString; + @jakarta.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @jakarta.annotation.Nullable - private Boolean myBoolean; + @jakarta.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -60,8 +58,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,8 +83,7 @@ public class OuterComposite { * Get myString * @return myString */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,8 +108,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 62978ed5dca..2e624e9376a 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @jakarta.annotation.Nonnull - private OuterEnumInteger value; + @jakarta.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -50,8 +50,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java index c0987dfd8a2..ce51cf10d81 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -39,6 +39,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -81,14 +82,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - protected TypeEnum type; + @jakarta.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @jakarta.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @jakarta.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -103,8 +101,7 @@ public class ParentWithNullable { * Get type * @return type */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -129,8 +126,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getNullableProperty() { @@ -139,7 +135,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java index 1f4e14d32ee..238d3c246a4 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java @@ -44,26 +44,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private Set photoUrls; + @jakarta.annotation.Nonnull private Set photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags; + @jakarta.annotation.Nullable private List tags; /** * pet status in the store @@ -101,10 +97,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -145,8 +138,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -171,8 +163,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,8 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @jakarta.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -240,8 +230,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -266,8 +255,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index ee2d408d145..35fc4a37247 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @jakarta.annotation.Nullable - private String baz; + @jakarta.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -58,8 +57,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -79,8 +77,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java index 63db3d16aa6..43848b1e0f0 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @jakarta.annotation.Nullable - private Long $specialPropertyName; + @jakarta.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -50,8 +50,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java index fb1b8f4a02e..f53004c3ddc 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -54,8 +53,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,8 +78,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @jakarta.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index ccdff99571e..ffca17a73f9 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @jakarta.annotation.Nullable - private String someProperty; + @jakarta.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -53,8 +53,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @jakarta.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index fbf8d61fa17..4131e083f8c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @jakarta.annotation.Nullable - private SingleRefType singleRefType; + @jakarta.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Animal.java index 86cc58eb17b..8254f51984d 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @jakarta.annotation.Nonnull - protected String className; + @jakarta.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - protected String color = "red"; + @jakarta.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 87cea9ecb8d..11268595137 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @jakarta.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index ddac35e167a..350a7a8d6c3 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @jakarta.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayTest.java index 69f13d66946..547b3ba91e3 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @jakarta.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @jakarta.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @jakarta.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Capitalization.java index 4527c5efd07..a6866e8046c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @jakarta.annotation.Nullable - private String smallCamel; + @jakarta.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @jakarta.annotation.Nullable - private String capitalCamel; + @jakarta.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @jakarta.annotation.Nullable - private String smallSnake; + @jakarta.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @jakarta.annotation.Nullable - private String capitalSnake; + @jakarta.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @jakarta.annotation.Nullable - private String scAETHFlowPoints; + @jakarta.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @jakarta.annotation.Nullable - private String ATT_NAME; + @jakarta.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Cat.java index 73f8201c2c7..cc7842a4e70 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @jakarta.annotation.Nullable - private Boolean declawed; + @jakarta.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java index c87cc6d9d03..ba77f405d3c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name = "default-name"; + @jakarta.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 55e6ce12678..15d1d6fa398 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @jakarta.annotation.Nullable - private String otherProperty; + @jakarta.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ClassModel.java index cc5edb0ddf1..ee75fa53a65 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Client.java index 7b7843af208..59c80e3407c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @jakarta.annotation.Nullable - private String client; + @jakarta.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/DeprecatedObject.java index da99cf34032..68a309d9f6e 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Dog.java index 6a11ad89d6f..be1d67ee5da 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @jakarta.annotation.Nullable - private String breed; + @jakarta.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumArrays.java index 3e2e0802583..7fda65e0a0b 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @jakarta.annotation.Nullable - private JustSymbolEnum justSymbol; + @jakarta.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @jakarta.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumTest.java index f9347fc97f5..fa658f4a720 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @jakarta.annotation.Nullable - private EnumStringEnum enumString; + @jakarta.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @jakarta.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @jakarta.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @jakarta.annotation.Nullable - private EnumIntegerEnum enumInteger; + @jakarta.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @jakarta.annotation.Nullable - private EnumNumberEnum enumNumber; + @jakarta.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @jakarta.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @jakarta.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @jakarta.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @jakarta.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @jakarta.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index e9edabdcfab..c1bf2505e70 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @jakarta.annotation.Nullable - private BigDecimal someId; + @jakarta.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @jakarta.annotation.Nullable - private Map someMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index d1b7648e7be..5e473686a58 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @jakarta.annotation.Nullable - private ModelFile _file; + @jakarta.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @jakarta.annotation.Nullable - private List files = new ArrayList<>(); + @jakarta.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Foo.java index e673cf96824..ac45378a32c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar = "bar"; + @jakarta.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 6c72b31783b..0defc9cfc30 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private Foo string; + @jakarta.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FormatTest.java index 818b19b86bd..ac64ecde5f2 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @jakarta.annotation.Nullable - private Integer integer; + @jakarta.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @jakarta.annotation.Nullable - private Integer int32; + @jakarta.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @jakarta.annotation.Nullable - private Long int64; + @jakarta.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nonnull - private BigDecimal number; + @jakarta.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @jakarta.annotation.Nullable - private BigDecimal decimal; + @jakarta.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private String string; + @jakarta.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @jakarta.annotation.Nonnull - private byte[] _byte; + @jakarta.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @jakarta.annotation.Nullable - private File binary; + @jakarta.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nonnull - private LocalDate date; + @jakarta.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nonnull - private String password; + @jakarta.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @jakarta.annotation.Nullable - private String patternWithDigits; + @jakarta.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @jakarta.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @jakarta.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 7fcd7679b14..9175e66b6a4 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @jakarta.annotation.Nullable - private String foo; + @jakarta.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HealthCheckResult.java index e30ee78c1c4..b060e6d7608 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @jakarta.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MapTest.java index f279dad1037..212a192152b 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @jakarta.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @jakarta.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @jakarta.annotation.Nullable - private Map directMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @jakarta.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 0eb4099d56e..fc0e66c11a0 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @jakarta.annotation.Nullable - private Map map = new HashMap<>(); + @jakarta.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Model200Response.java index 7d0bfb91707..afc1c6eb4b7 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private Integer name; + @jakarta.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java index dac5d47ec9c..6a44a37dc5b 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelFile.java index 3c99c5d565e..a64bc8479ab 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @jakarta.annotation.Nullable - private String sourceURI; + @jakarta.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelList.java index 54a220f2c63..bc5646ddc0f 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @jakarta.annotation.Nullable - private String _123list; + @jakarta.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelReturn.java index 3620721ba40..26c89830560 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @jakarta.annotation.Nullable - private Integer _return; + @jakarta.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Name.java index d80704b7a71..a0c04a44dc5 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private Integer name; + @jakarta.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @jakarta.annotation.Nullable - private Integer snakeCase; + @jakarta.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @jakarta.annotation.Nullable - private String property; + @jakarta.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @jakarta.annotation.Nullable - private Integer _123number; + @jakarta.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NullableClass.java index 04989802ba7..434bdad9a64 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @jakarta.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @jakarta.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @jakarta.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @jakarta.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @jakarta.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @jakarta.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @jakarta.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @jakarta.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @jakarta.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NumberOnly.java index 3c21f20754c..a05c6fa775b 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @jakarta.annotation.Nullable - private BigDecimal justNumber; + @jakarta.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 2f0d9d3b946..be6f75a6cd2 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private String uuid; + @jakarta.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private BigDecimal id; + @jakarta.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @jakarta.annotation.Nullable - private DeprecatedObject deprecatedRef; + @jakarta.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @jakarta.annotation.Nullable - private List bars = new ArrayList<>(); + @jakarta.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java index 8f4db12e822..247b3cb6a1e 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterComposite.java index b2b88b32009..1e7fefed42a 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @jakarta.annotation.Nullable - private BigDecimal myNumber; + @jakarta.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @jakarta.annotation.Nullable - private String myString; + @jakarta.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @jakarta.annotation.Nullable - private Boolean myBoolean; + @jakarta.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 0b5fecce1ce..d8061bcac68 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @jakarta.annotation.Nonnull - private OuterEnumInteger value; + @jakarta.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 78772c7e27c..54b1cb2a775 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - protected TypeEnum type; + @jakarta.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @jakarta.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @jakarta.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java index 893ffedd5f5..eac9f8a6570 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @jakarta.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index f6d848fa88c..d4289893c62 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @jakarta.annotation.Nullable - private String baz; + @jakarta.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/SpecialModelName.java index fb9e96a8da6..55f9de30302 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @jakarta.annotation.Nullable - private Long $specialPropertyName; + @jakarta.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java index f5c4ae0e446..7db8054ece5 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 58e2d9d3f8e..b96e8d68dbe 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @jakarta.annotation.Nullable - private String someProperty; + @jakarta.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty; + @jakarta.annotation.Nullable private Map mapProperty; public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @jakarta.annotation.Nullable - private Map> mapOfMapProperty; + @jakarta.annotation.Nullable private Map> mapOfMapProperty; public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index fbf8d61fa17..4131e083f8c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @jakarta.annotation.Nullable - private SingleRefType singleRefType; + @jakarta.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Animal.java index 86cc58eb17b..8254f51984d 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @jakarta.annotation.Nonnull - protected String className; + @jakarta.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - protected String color = "red"; + @jakarta.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index d003cd28189..f06fc8774b1 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @jakarta.annotation.Nullable - private List> arrayArrayNumber; + @jakarta.annotation.Nullable private List> arrayArrayNumber; public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index c2d18a06f40..21fbafc9e38 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @jakarta.annotation.Nullable - private List arrayNumber; + @jakarta.annotation.Nullable private List arrayNumber; public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayTest.java index f96b497bc24..789bf537ecf 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @jakarta.annotation.Nullable - private List arrayOfString; + @jakarta.annotation.Nullable private List arrayOfString; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @jakarta.annotation.Nullable - private List> arrayArrayOfInteger; + @jakarta.annotation.Nullable private List> arrayArrayOfInteger; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @jakarta.annotation.Nullable - private List> arrayArrayOfModel; + @jakarta.annotation.Nullable private List> arrayArrayOfModel; public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Capitalization.java index 4527c5efd07..a6866e8046c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @jakarta.annotation.Nullable - private String smallCamel; + @jakarta.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @jakarta.annotation.Nullable - private String capitalCamel; + @jakarta.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @jakarta.annotation.Nullable - private String smallSnake; + @jakarta.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @jakarta.annotation.Nullable - private String capitalSnake; + @jakarta.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @jakarta.annotation.Nullable - private String scAETHFlowPoints; + @jakarta.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @jakarta.annotation.Nullable - private String ATT_NAME; + @jakarta.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Cat.java index 73f8201c2c7..cc7842a4e70 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @jakarta.annotation.Nullable - private Boolean declawed; + @jakarta.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Category.java index c87cc6d9d03..ba77f405d3c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name = "default-name"; + @jakarta.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 55e6ce12678..15d1d6fa398 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @jakarta.annotation.Nullable - private String otherProperty; + @jakarta.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ClassModel.java index cc5edb0ddf1..ee75fa53a65 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Client.java index 7b7843af208..59c80e3407c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @jakarta.annotation.Nullable - private String client; + @jakarta.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java index da99cf34032..68a309d9f6e 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Dog.java index 6a11ad89d6f..be1d67ee5da 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @jakarta.annotation.Nullable - private String breed; + @jakarta.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumArrays.java index eab3ae93381..90ccc1ede50 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @jakarta.annotation.Nullable - private JustSymbolEnum justSymbol; + @jakarta.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @jakarta.annotation.Nullable - private List arrayEnum; + @jakarta.annotation.Nullable private List arrayEnum; public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumTest.java index f9347fc97f5..fa658f4a720 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @jakarta.annotation.Nullable - private EnumStringEnum enumString; + @jakarta.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @jakarta.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @jakarta.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @jakarta.annotation.Nullable - private EnumIntegerEnum enumInteger; + @jakarta.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @jakarta.annotation.Nullable - private EnumNumberEnum enumNumber; + @jakarta.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @jakarta.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @jakarta.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @jakarta.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @jakarta.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @jakarta.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 4b169000a15..55ef6c203b2 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @jakarta.annotation.Nullable - private BigDecimal someId; + @jakarta.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @jakarta.annotation.Nullable - private Map someMap; + @jakarta.annotation.Nullable private Map someMap; public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index d910ae1c5dd..6c0b5b777e6 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @jakarta.annotation.Nullable - private ModelFile _file; + @jakarta.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @jakarta.annotation.Nullable - private List files; + @jakarta.annotation.Nullable private List files; public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Foo.java index e673cf96824..ac45378a32c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar = "bar"; + @jakarta.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 6c72b31783b..0defc9cfc30 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private Foo string; + @jakarta.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FormatTest.java index 818b19b86bd..ac64ecde5f2 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @jakarta.annotation.Nullable - private Integer integer; + @jakarta.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @jakarta.annotation.Nullable - private Integer int32; + @jakarta.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @jakarta.annotation.Nullable - private Long int64; + @jakarta.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nonnull - private BigDecimal number; + @jakarta.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @jakarta.annotation.Nullable - private BigDecimal decimal; + @jakarta.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private String string; + @jakarta.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @jakarta.annotation.Nonnull - private byte[] _byte; + @jakarta.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @jakarta.annotation.Nullable - private File binary; + @jakarta.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nonnull - private LocalDate date; + @jakarta.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nonnull - private String password; + @jakarta.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @jakarta.annotation.Nullable - private String patternWithDigits; + @jakarta.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @jakarta.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @jakarta.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 7fcd7679b14..9175e66b6a4 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @jakarta.annotation.Nullable - private String foo; + @jakarta.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java index e30ee78c1c4..b060e6d7608 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @jakarta.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MapTest.java index 2d47dfc83e2..a93032e5ae4 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @jakarta.annotation.Nullable - private Map> mapMapOfString; + @jakarta.annotation.Nullable private Map> mapMapOfString; /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @jakarta.annotation.Nullable - private Map mapOfEnumString; + @jakarta.annotation.Nullable private Map mapOfEnumString; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @jakarta.annotation.Nullable - private Map directMap; + @jakarta.annotation.Nullable private Map directMap; public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @jakarta.annotation.Nullable - private Map indirectMap; + @jakarta.annotation.Nullable private Map indirectMap; public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index b7e67c4888e..3bdfb120194 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @jakarta.annotation.Nullable - private Map map; + @jakarta.annotation.Nullable private Map map; public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Model200Response.java index 7d0bfb91707..afc1c6eb4b7 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private Integer name; + @jakarta.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java index dac5d47ec9c..6a44a37dc5b 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelFile.java index 3c99c5d565e..a64bc8479ab 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @jakarta.annotation.Nullable - private String sourceURI; + @jakarta.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelList.java index 54a220f2c63..bc5646ddc0f 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @jakarta.annotation.Nullable - private String _123list; + @jakarta.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelReturn.java index 3620721ba40..26c89830560 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @jakarta.annotation.Nullable - private Integer _return; + @jakarta.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Name.java index d80704b7a71..a0c04a44dc5 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private Integer name; + @jakarta.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @jakarta.annotation.Nullable - private Integer snakeCase; + @jakarta.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @jakarta.annotation.Nullable - private String property; + @jakarta.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @jakarta.annotation.Nullable - private Integer _123number; + @jakarta.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NullableClass.java index b5ea57f5061..690b6c7fb0d 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @jakarta.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @jakarta.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @jakarta.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @jakarta.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @jakarta.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @jakarta.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @jakarta.annotation.Nullable - private List arrayItemsNullable; + @jakarta.annotation.Nullable private List arrayItemsNullable; public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @jakarta.annotation.Nullable - private Map objectItemsNullable; + @jakarta.annotation.Nullable private Map objectItemsNullable; public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NumberOnly.java index 3c21f20754c..a05c6fa775b 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @jakarta.annotation.Nullable - private BigDecimal justNumber; + @jakarta.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 7f4dc85f1a0..f4ed1dfdde1 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private String uuid; + @jakarta.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private BigDecimal id; + @jakarta.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @jakarta.annotation.Nullable - private DeprecatedObject deprecatedRef; + @jakarta.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @jakarta.annotation.Nullable - private List bars; + @jakarta.annotation.Nullable private List bars; public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Order.java index 8f4db12e822..247b3cb6a1e 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterComposite.java index b2b88b32009..1e7fefed42a 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @jakarta.annotation.Nullable - private BigDecimal myNumber; + @jakarta.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @jakarta.annotation.Nullable - private String myString; + @jakarta.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @jakarta.annotation.Nullable - private Boolean myBoolean; + @jakarta.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 0b5fecce1ce..d8061bcac68 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @jakarta.annotation.Nonnull - private OuterEnumInteger value; + @jakarta.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 78772c7e27c..54b1cb2a775 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - protected TypeEnum type; + @jakarta.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @jakarta.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @jakarta.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Pet.java index f20bf09a36b..9ccaaba090b 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private Set photoUrls; + @jakarta.annotation.Nonnull private Set photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags; + @jakarta.annotation.Nullable private List tags; /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index f6d848fa88c..d4289893c62 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @jakarta.annotation.Nullable - private String baz; + @jakarta.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/SpecialModelName.java index fb9e96a8da6..55f9de30302 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @jakarta.annotation.Nullable - private Long $specialPropertyName; + @jakarta.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Tag.java index f5c4ae0e446..7db8054ece5 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 58e2d9d3f8e..b96e8d68dbe 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @jakarta.annotation.Nullable - private String someProperty; + @jakarta.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 5a60fa128dd..4c10b80e49e 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java index 745689d7191..dbea09ffc4f 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 6f58e325549..c49cc5f2bc5 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index f3d46916faa..4b662a61dbc 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayTest.java index 771578abd0a..c9b8d66152d 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Capitalization.java index 6cd94422b1c..e34fd05e3c3 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Cat.java index f8705b67de5..3c7b879877a 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java index 50b6ff1d6a2..46b862b17d1 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ChildWithNullable.java index b436febdcc4..c222ad581dc 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ClassModel.java index dbf6964fdad..ad6952b6eb7 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Client.java index 0be09220e7d..9614edc8acc 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/DeprecatedObject.java index acdb137161a..653f395fb85 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Dog.java index 8004beff975..77e5abc774b 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumArrays.java index 42c505b1189..8578245ac91 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java index 915ba1b91ce..943480b6efe 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 0f3aaeb0af4..12979e0931b 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap = new HashMap<>(); + @javax.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 6c10cc7d053..a033667c462 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Foo.java index 6c446b295f8..9aaf54744e6 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 395eecaf8b5..b432e1fe359 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java index bb7fb37b632..2c54f92df88 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 6dc15593463..ae4b6ba19d1 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HealthCheckResult.java index b772672c401..d8e472a3955 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MapTest.java index 03fcf621421..cf65489efd5 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 27b5ebbd852..402e91a9a0b 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Model200Response.java index 0b83c601140..dcd9d4a0b91 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0938a865de4..01a8f08a5e4 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelFile.java index 73f5779de22..5f6966cf7b2 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelList.java index f8d50bc1762..ce8b0d97672 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelReturn.java index 314794ba50b..0496b4e8ac6 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java index 4789044c853..45a18bdb047 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NullableClass.java index bb516d7739d..40dfc8651cc 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NumberOnly.java index 341017c96d2..b3d7cd4222f 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index c6a3cc14fad..25fd74c77db 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Order.java index 0136b2dcc83..834d17fb706 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterComposite.java index c9b0b884ef2..b1979a9e65d 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 88cf19fe07a..245d8fc6786 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ParentWithNullable.java index b97f28bbcfd..432bd35481b 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java index 8cfe9533fe1..dff2cdd7187 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e0e1e8bb4bb..7fd8fc08906 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/SpecialModelName.java index 8d7cee19879..2ce6677d2d2 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java index ebcb558efe5..027b8542d35 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 89584fa7c93..ea68d8ffaf2 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap photoUrls = new ArrayList<>(); + @jakarta.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -97,10 +93,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -127,8 +121,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -152,8 +145,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -177,8 +169,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -210,8 +201,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getPhotoUrls() { @@ -243,8 +233,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -270,8 +259,7 @@ public class Pet { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Tag.java index 13d5e6c28f6..644cf795b56 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -61,8 +60,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -86,8 +84,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java index f81fbc6d277..71658918e64 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/User.java @@ -37,38 +37,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; User.JSON_PROPERTY_USER_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @jakarta.annotation.Nullable - private String firstName; + @jakarta.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @jakarta.annotation.Nullable - private String lastName; + @jakarta.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @jakarta.annotation.Nullable - private String email; + @jakarta.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nullable - private String password; + @jakarta.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @jakarta.annotation.Nullable - private String phone; + @jakarta.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @jakarta.annotation.Nullable - private Integer userStatus; + @jakarta.annotation.Nullable private Integer userStatus; public User() { } @@ -97,8 +90,7 @@ public class User { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -122,8 +114,7 @@ public class User { * Get username * @return username */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -147,8 +138,7 @@ public class User { * Get firstName * @return firstName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -172,8 +162,7 @@ public class User { * Get lastName * @return lastName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -197,8 +186,7 @@ public class User { * Get email * @return email */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -222,8 +210,7 @@ public class User { * Get password * @return password */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -247,8 +234,7 @@ public class User { * Get phone * @return phone */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -272,8 +258,7 @@ public class User { * User Status * @return userStatus */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Category.java index c9126e5c009..de571b87655 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Category.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -56,8 +55,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,8 +80,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java index f1fdad96123..3a3c9c74abe 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -62,8 +60,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -88,8 +85,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -114,8 +110,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Order.java index ce6c7f5343a..f39565eab57 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Order.java @@ -39,22 +39,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -92,14 +89,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -114,8 +108,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -140,8 +133,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -166,8 +158,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -192,8 +183,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -218,8 +208,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @ApiModelProperty(value = "Order Status") + @javax.annotation.Nullable @ApiModelProperty(value = "Order Status") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -244,8 +233,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Pet.java index 2e82ad5c0e7..44901cdb483 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -144,8 +137,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -170,8 +162,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @ApiModelProperty(example = "doggie", required = true, value = "") + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -204,8 +195,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -238,8 +228,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -266,8 +255,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @ApiModelProperty(value = "pet status in the store") + @javax.annotation.Nullable @ApiModelProperty(value = "pet status in the store") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Tag.java index d73de854276..7ff8afd1f46 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/Tag.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -56,8 +55,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,8 +80,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java index 432b127fca3..47f6a8d47a2 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/model/User.java @@ -40,38 +40,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; User.JSON_PROPERTY_USER_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -86,8 +79,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,8 +104,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,8 +129,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -164,8 +154,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -190,8 +179,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -216,8 +204,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -242,8 +229,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @ApiModelProperty(value = "") + @javax.annotation.Nullable @ApiModelProperty(value = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -268,8 +254,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @ApiModelProperty(value = "User Status") + @javax.annotation.Nullable @ApiModelProperty(value = "User Status") @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Category.java index 14dca1cd360..89ff5f1ce67 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Category.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Category() { } @@ -55,8 +54,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,8 +79,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 7026940729f..991e8d0d5aa 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -35,18 +35,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -61,8 +59,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -87,8 +84,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -113,8 +109,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Order.java index 2e50954e68d..34c7d3d6708 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Order.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -91,14 +88,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -113,8 +107,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -139,8 +132,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -165,8 +157,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -191,8 +182,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -217,8 +207,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -243,8 +232,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Pet.java index a7c3f1ed405..cd383e7174a 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Pet.java @@ -42,26 +42,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private List photoUrls = new ArrayList<>(); + @javax.annotation.Nonnull private List photoUrls = new ArrayList<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -99,10 +95,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -117,8 +111,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -169,8 +161,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -203,8 +194,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -237,8 +227,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -265,8 +254,7 @@ public class Pet { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Tag.java index 205f6cbd7d9..5134e002af6 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/Tag.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -55,8 +54,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,8 +79,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java index 866fea13490..d4c417b0f0e 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/model/User.java @@ -39,38 +39,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; User.JSON_PROPERTY_USER_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -85,8 +78,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -111,8 +103,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -137,8 +128,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -163,8 +153,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -189,8 +178,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -215,8 +203,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -241,8 +228,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -267,8 +253,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "User Status") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "User Status") @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index a25fa0629ea..4e272559c34 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -37,19 +37,19 @@ import io.github.threetenjaxb.core.*; AdditionalPropertiesClass.JSON_PROPERTY_MAP_OF_MAP_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "AdditionalPropertiesClass") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "AdditionalPropertiesClass") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; @XmlElement(name = "map_property") - @javax.annotation.Nullable - private Map mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; @XmlElement(name = "map_of_map_property") - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -72,8 +72,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "map_property") @JacksonXmlElementWrapper(useWrapping = false) @@ -109,8 +108,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "map_of_map_property") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 337564b48ea..41295a400c6 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -36,19 +36,19 @@ import io.github.threetenjaxb.core.*; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "AllOfWithSingleRef") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "AllOfWithSingleRef") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; @XmlElement(name = "username") - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; @XmlElement(name = "SingleRefType") - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -63,8 +63,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "username") @@ -90,8 +89,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "SingleRefType") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java index e6829787410..3bccc90a267 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java @@ -38,6 +38,7 @@ import io.github.threetenjaxb.core.*; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -51,16 +52,15 @@ import io.github.threetenjaxb.core.*; @XmlRootElement(name = "Animal") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Animal") + public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; @XmlElement(name = "className") - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; @XmlElement(name = "color") - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -75,8 +75,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "className") @@ -102,8 +101,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "color") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index f9ceab56f6d..49ec5af9468 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -38,14 +38,15 @@ import io.github.threetenjaxb.core.*; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ArrayOfArrayOfNumberOnly") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ArrayOfArrayOfNumberOnly") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @XmlElement(name = "ArrayArrayNumber") - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -68,8 +69,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "ArrayArrayNumber") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 90c4337bada..d265f1f82ce 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -38,14 +38,15 @@ import io.github.threetenjaxb.core.*; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ArrayOfNumberOnly") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ArrayOfNumberOnly") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; @XmlElement(name = "ArrayNumber") - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -68,8 +69,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "ArrayNumber") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayTest.java index 98e085d3567..09d97636b1d 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -40,24 +40,23 @@ import io.github.threetenjaxb.core.*; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ArrayTest") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ArrayTest") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; @XmlElement(name = "array_of_string") - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @XmlElement(name = "array_array_of_integer") - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @XmlElement(name = "array_array_of_model") - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -80,8 +79,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_of_string") @JacksonXmlElementWrapper(useWrapping = false) @@ -117,8 +115,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_array_of_integer") @JacksonXmlElementWrapper(useWrapping = false) @@ -154,8 +151,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_array_of_model") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Capitalization.java index f0eedaf2524..1be7167ade5 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Capitalization.java @@ -39,39 +39,35 @@ import io.github.threetenjaxb.core.*; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Capitalization") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Capitalization") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; @XmlElement(name = "smallCamel") - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; @XmlElement(name = "CapitalCamel") - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; @XmlElement(name = "small_Snake") - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; @XmlElement(name = "Capital_Snake") - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @XmlElement(name = "SCA_ETH_Flow_Points") - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; @XmlElement(name = "ATT_NAME") - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -86,8 +82,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "smallCamel") @@ -113,8 +108,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "CapitalCamel") @@ -140,8 +134,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "small_Snake") @@ -167,8 +160,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "Capital_Snake") @@ -194,8 +186,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "SCA_ETH_Flow_Points") @@ -221,8 +212,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "ATT_NAME") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Cat.java index 4a2ebd1c97c..0c2f0f66175 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Cat.java @@ -38,6 +38,7 @@ import io.github.threetenjaxb.core.*; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,11 +48,11 @@ import io.github.threetenjaxb.core.*; @XmlRootElement(name = "Cat") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Cat") + public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; @XmlElement(name = "declawed") - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -67,8 +68,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "declawed") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java index 48f33123f1b..b1f7f248d58 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java @@ -35,19 +35,19 @@ import io.github.threetenjaxb.core.*; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Category") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Category") + public class Category { public static final String JSON_PROPERTY_ID = "id"; @XmlElement(name = "id") - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -62,8 +62,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "id") @@ -89,8 +88,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "name") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ChildWithNullable.java index e1f8271d6f6..2ce46db85a7 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -39,6 +39,7 @@ import io.github.threetenjaxb.core.*; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -48,11 +49,11 @@ import io.github.threetenjaxb.core.*; @XmlRootElement(name = "ChildWithNullable") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ChildWithNullable") + public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; @XmlElement(name = "otherProperty") - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -68,8 +69,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "otherProperty") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ClassModel.java index b36c0fd70fb..cc70ca3e1fd 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ClassModel.java @@ -34,14 +34,15 @@ import io.github.threetenjaxb.core.*; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ClassModel") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ClassModel") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; @XmlElement(name = "_class") - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -56,8 +57,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "_class") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Client.java index 518cc82f38d..1c171865283 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Client.java @@ -34,14 +34,15 @@ import io.github.threetenjaxb.core.*; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Client") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Client") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; @XmlElement(name = "client") - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -56,8 +57,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "client") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/DeprecatedObject.java index c7f9052bc7e..866a0086af2 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -36,14 +36,15 @@ import io.github.threetenjaxb.core.*; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "DeprecatedObject") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "DeprecatedObject") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -58,8 +59,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "name") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Dog.java index ce9bc5ca884..ab5654007e3 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Dog.java @@ -38,6 +38,7 @@ import io.github.threetenjaxb.core.*; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,11 +48,11 @@ import io.github.threetenjaxb.core.*; @XmlRootElement(name = "Dog") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Dog") + public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; @XmlElement(name = "breed") - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -67,8 +68,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "breed") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumArrays.java index 43eea73f77f..77d0098fb8a 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -38,9 +38,11 @@ import io.github.threetenjaxb.core.*; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "EnumArrays") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "EnumArrays") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -80,11 +82,9 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; @XmlElement(name = "just_symbol") - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -124,11 +124,9 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; @XmlElement(name = "array_enum") - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -143,8 +141,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "just_symbol") @@ -178,8 +175,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_enum") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java index f8b65989d0c..d9efc31a569 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java @@ -50,9 +50,11 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "EnumTest") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "EnumTest") + public class EnumTest { /** * Gets or Sets enumString @@ -95,11 +97,9 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; @XmlElement(name = "enum_string") - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -142,11 +142,9 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; @XmlElement(name = "enum_string_required") - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -186,11 +184,9 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; @XmlElement(name = "enum_integer") - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -230,31 +226,25 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; @XmlElement(name = "enum_number") - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; @XmlElement(name = "outerEnum") - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; @XmlElement(name = "outerEnumInteger") - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; @XmlElement(name = "outerEnumDefaultValue") - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; @XmlElement(name = "outerEnumIntegerDefaultValue") - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -269,8 +259,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "enum_string") @@ -296,8 +285,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "enum_string_required") @@ -323,8 +311,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "enum_integer") @@ -350,8 +337,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "enum_number") @@ -377,8 +363,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -387,7 +372,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "outerEnum") - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -411,8 +395,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "outerEnumInteger") @@ -438,8 +421,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "outerEnumDefaultValue") @@ -465,8 +447,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "outerEnumIntegerDefaultValue") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 254bf2205f3..595aa3e9614 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -39,19 +39,19 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "FakeBigDecimalMap200Response") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "FakeBigDecimalMap200Response") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; @XmlElement(name = "someId") - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; @XmlElement(name = "someMap") - @javax.annotation.Nullable - private Map someMap = new HashMap<>(); + @javax.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -66,8 +66,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "someId") @@ -101,8 +100,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "someMap") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 608c5a53e72..b024f4a8bb6 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -39,19 +39,19 @@ import io.github.threetenjaxb.core.*; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "FileSchemaTestClass") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "FileSchemaTestClass") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; @XmlElement(name = "file") - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; @XmlElement(name = "files") - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -66,8 +66,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "file") @@ -101,8 +100,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "files") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Foo.java index e2de6c2a8d3..8cb94afbead 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Foo.java @@ -34,14 +34,15 @@ import io.github.threetenjaxb.core.*; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Foo") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Foo") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; @XmlElement(name = "bar") - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -56,8 +57,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "bar") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index d4a65cfe4ad..cc8b34adb8b 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -36,14 +36,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "FooGetDefaultResponse") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "FooGetDefaultResponse") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; @XmlElement(name = "string") - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -58,8 +59,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "string") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java index 69198659923..d87ddf50027 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java @@ -55,90 +55,76 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "FormatTest") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "FormatTest") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; @XmlElement(name = "integer") - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; @XmlElement(name = "int32") - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; @XmlElement(name = "int64") - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; @XmlElement(name = "number") - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; @XmlElement(name = "float") - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; @XmlElement(name = "double") - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; @XmlElement(name = "decimal") - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; @XmlElement(name = "string") - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; @XmlElement(name = "byte") - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; @XmlElement(name = "binary") - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; @XmlElement(name = "date") - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; @XmlElement(name = "dateTime") @XmlJavaTypeAdapter(OffsetDateTimeXmlAdapter.class) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; @XmlElement(name = "uuid") - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; @XmlElement(name = "password") - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; @XmlElement(name = "pattern_with_digits") - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; @XmlElement(name = "pattern_with_digits_and_delimiter") - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -155,8 +141,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "integer") @@ -184,8 +169,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "int32") @@ -211,8 +195,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "int64") @@ -240,8 +223,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "number") @@ -269,8 +251,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "float") @@ -298,8 +279,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "double") @@ -325,8 +305,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "decimal") @@ -352,8 +331,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "string") @@ -379,8 +357,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "byte") @@ -406,8 +383,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "binary") @@ -433,8 +409,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "date") @@ -460,8 +435,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "dateTime") @@ -487,8 +461,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "uuid") @@ -514,8 +487,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "password") @@ -541,8 +513,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "pattern_with_digits") @@ -568,8 +539,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "pattern_with_digits_and_delimiter") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 56626769465..c9f72dc6fcb 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -36,19 +36,19 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "HasOnlyReadOnly") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "HasOnlyReadOnly") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; @XmlElement(name = "bar") - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; @XmlElement(name = "foo") - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -57,8 +57,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "bar") @@ -72,8 +71,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "foo") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 0b70621b93f..b87d04bc2f7 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -38,14 +38,15 @@ import io.github.threetenjaxb.core.*; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "HealthCheckResult") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "HealthCheckResult") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; @XmlElement(name = "NullableMessage") - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -60,8 +61,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -70,7 +70,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "NullableMessage") - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MapTest.java index 9bc9610b635..501e91d06dc 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MapTest.java @@ -39,14 +39,15 @@ import io.github.threetenjaxb.core.*; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "MapTest") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "MapTest") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; @XmlElement(name = "map_map_of_string") - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -86,21 +87,17 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; @XmlElement(name = "map_of_enum_string") - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; @XmlElement(name = "direct_map") - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; @XmlElement(name = "indirect_map") - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -123,8 +120,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "map_map_of_string") @JacksonXmlElementWrapper(useWrapping = false) @@ -160,8 +156,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "map_of_enum_string") @JacksonXmlElementWrapper(useWrapping = false) @@ -197,8 +192,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "direct_map") @JacksonXmlElementWrapper(useWrapping = false) @@ -234,8 +228,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "indirect_map") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 05adb433f0f..2d08f063c97 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -41,25 +41,24 @@ import io.github.threetenjaxb.core.*; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "MixedPropertiesAndAdditionalPropertiesClass") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "MixedPropertiesAndAdditionalPropertiesClass") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; @XmlElement(name = "uuid") - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; @XmlElement(name = "dateTime") @XmlJavaTypeAdapter(OffsetDateTimeXmlAdapter.class) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; @XmlElement(name = "map") - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -74,8 +73,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "uuid") @@ -101,8 +99,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "dateTime") @@ -136,8 +133,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "map") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Model200Response.java index 0b780b8a190..8c166a96255 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Model200Response.java @@ -36,19 +36,19 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Name") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Name") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; @XmlElement(name = "class") - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -63,8 +63,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "name") @@ -90,8 +89,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "class") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 381b7013576..e904375b6e6 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -37,24 +37,23 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ModelApiResponse") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ModelApiResponse") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; @XmlElement(name = "code") - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; @XmlElement(name = "type") - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; @XmlElement(name = "message") - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -69,8 +68,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "code") @@ -96,8 +94,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "type") @@ -123,8 +120,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "message") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelFile.java index 868af1bf211..4b54ff946fb 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelFile.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ModelFile") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ModelFile") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; @XmlElement(name = "sourceURI") - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -57,8 +58,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "sourceURI") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelList.java index b8f28eda30d..4ed186ff691 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelList.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ModelList") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ModelList") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; @XmlElement(name = "123-list") - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -57,8 +58,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "123-list") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelReturn.java index 2ffaf8b9330..da68a9560d1 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Return") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Return") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; @XmlElement(name = "return") - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -57,8 +58,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "return") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java index 5d0af3485a5..a904250d475 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java @@ -37,29 +37,27 @@ import io.github.threetenjaxb.core.*; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Name") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Name") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; @XmlElement(name = "snake_case") - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; @XmlElement(name = "property") - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; @XmlElement(name = "123Number") - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -74,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "name") @@ -95,8 +92,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "snake_case") @@ -116,8 +112,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "property") @@ -137,8 +132,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "123Number") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NullableClass.java index 36f56fd6ce7..efe305005b9 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NullableClass.java @@ -57,70 +57,60 @@ import io.github.threetenjaxb.core.*; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "NullableClass") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "NullableClass") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; @XmlElement(name = "integer_prop") - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; @XmlElement(name = "number_prop") - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; @XmlElement(name = "boolean_prop") - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; @XmlElement(name = "string_prop") - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; @XmlElement(name = "date_prop") - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; @XmlElement(name = "datetime_prop") @XmlJavaTypeAdapter(OffsetDateTimeXmlAdapter.class) - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; @XmlElement(name = "array_nullable_prop") - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; @XmlElement(name = "array_and_items_nullable_prop") - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; @XmlElement(name = "array_items_nullable") - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; @XmlElement(name = "object_nullable_prop") - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; @XmlElement(name = "object_and_items_nullable_prop") - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; @XmlElement(name = "object_items_nullable") - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { @@ -136,8 +126,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -146,7 +135,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "integer_prop") - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -170,8 +158,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -180,7 +167,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "number_prop") - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -204,8 +190,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -214,7 +199,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "boolean_prop") - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -238,8 +222,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -248,7 +231,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "string_prop") - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -272,8 +254,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -282,7 +263,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "date_prop") - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -306,8 +286,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -316,7 +295,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "datetime_prop") - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -352,8 +330,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -363,7 +340,6 @@ public class NullableClass extends HashMap { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -399,8 +375,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -410,7 +385,6 @@ public class NullableClass extends HashMap { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_and_items_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -442,8 +416,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_items_nullable") @JacksonXmlElementWrapper(useWrapping = false) @@ -483,8 +456,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -494,7 +466,6 @@ public class NullableClass extends HashMap { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "object_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -530,8 +501,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -541,7 +511,6 @@ public class NullableClass extends HashMap { @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "object_and_items_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -573,8 +542,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "object_items_nullable") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NumberOnly.java index 667934e6168..cd2be277ff6 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "NumberOnly") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "NumberOnly") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; @XmlElement(name = "JustNumber") - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -57,8 +58,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "JustNumber") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 0929e2be428..155edcd49c5 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -42,29 +42,27 @@ import io.github.threetenjaxb.core.*; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ObjectWithDeprecatedFields") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ObjectWithDeprecatedFields") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; @XmlElement(name = "uuid") - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; @XmlElement(name = "id") - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; @XmlElement(name = "deprecatedRef") - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; @XmlElement(name = "bars") - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -79,8 +77,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "uuid") @@ -108,8 +105,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "id") @@ -137,8 +133,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "deprecatedRef") @@ -174,8 +169,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "bars") @JacksonXmlElementWrapper(useWrapping = false) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Order.java index dd4c2d34986..9d36e98a525 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Order.java @@ -40,30 +40,28 @@ import io.github.threetenjaxb.core.*; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Order") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Order") + public class Order { public static final String JSON_PROPERTY_ID = "id"; @XmlElement(name = "id") - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; @XmlElement(name = "petId") - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; @XmlElement(name = "quantity") - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; @XmlElement(name = "shipDate") @XmlJavaTypeAdapter(OffsetDateTimeXmlAdapter.class) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -106,16 +104,13 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @XmlElement(name = "status") - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; @XmlElement(name = "complete") - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -130,8 +125,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "id") @@ -157,8 +151,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "petId") @@ -184,8 +177,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "quantity") @@ -211,8 +203,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "shipDate") @@ -238,8 +229,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "status") @@ -265,8 +255,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "complete") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterComposite.java index 5564530719d..392a63871dc 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -37,24 +37,23 @@ import io.github.threetenjaxb.core.*; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "OuterComposite") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "OuterComposite") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; @XmlElement(name = "my_number") - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; @XmlElement(name = "my_string") - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; @XmlElement(name = "my_boolean") - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -69,8 +68,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "my_number") @@ -96,8 +94,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "my_string") @@ -123,8 +120,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "my_boolean") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 81a5c5b5415..c1d77bba8ba 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "OuterObjectWithEnumProperty") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "OuterObjectWithEnumProperty") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; @XmlElement(name = "value") - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -57,8 +58,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "value") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ParentWithNullable.java index c0d87520338..25204600d43 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -42,6 +42,7 @@ import io.github.threetenjaxb.core.*; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -54,6 +55,7 @@ import io.github.threetenjaxb.core.*; @XmlRootElement(name = "ParentWithNullable") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ParentWithNullable") + public class ParentWithNullable { /** * Gets or Sets type @@ -90,16 +92,13 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; @XmlElement(name = "type") - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; @XmlElement(name = "nullableProperty") - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -114,8 +113,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "type") @@ -141,8 +139,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -151,7 +148,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "nullableProperty") - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java index ae6f87b76f2..5bfedcde4bc 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java @@ -47,36 +47,33 @@ import io.github.threetenjaxb.core.*; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Pet") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Pet") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; @XmlElement(name = "id") - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; @XmlElement(name = "Category") - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; @XmlElement(name = "photoUrl") @XmlElementWrapper(name = "photoUrls") - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; @XmlElement(name = "Tag") @XmlElementWrapper(name = "tag") - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -119,11 +116,9 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @XmlElement(name = "status") - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -138,8 +133,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "id") @@ -165,8 +159,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "Category") @@ -192,8 +185,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "name") @@ -227,8 +219,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @JacksonXmlProperty(localName = "photoUrl") @JacksonXmlElementWrapper(localName = "photoUrls", useWrapping = true) @@ -265,8 +256,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "Tag") @JacksonXmlElementWrapper(localName = "tag", useWrapping = true) @@ -294,8 +284,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "status") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 182ffd7fd0e..f9854c42087 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -35,19 +35,19 @@ import io.github.threetenjaxb.core.*; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "ReadOnlyFirst") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "ReadOnlyFirst") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; @XmlElement(name = "bar") - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; @XmlElement(name = "baz") - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -56,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "bar") @@ -77,8 +76,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "baz") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/SpecialModelName.java index fd29274e068..4d4e8df80c0 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -35,14 +35,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "$special[model.name]") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "$special[model.name]") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @XmlElement(name = "$special[property.name]") - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -57,8 +58,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "$special[property.name]") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Tag.java index 57e079ea579..478bcec889a 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Tag.java @@ -35,19 +35,19 @@ import io.github.threetenjaxb.core.*; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "Tag") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "Tag") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; @XmlElement(name = "id") - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; @XmlElement(name = "name") - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -62,8 +62,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "id") @@ -89,8 +88,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "name") diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 7797b12ece8..85c247c72fe 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -37,14 +37,15 @@ import io.github.threetenjaxb.core.*; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @XmlRootElement(name = "TestInlineFreeformAdditionalPropertiesRequest") @XmlAccessorType(XmlAccessType.FIELD) @JacksonXmlRootElement(localName = "TestInlineFreeformAdditionalPropertiesRequest") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; @XmlElement(name = "someProperty") - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -60,8 +61,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty; + @javax.annotation.Nullable private Map mapProperty; public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty; + @javax.annotation.Nullable private Map> mapOfMapProperty; public AdditionalPropertiesClass() { } @@ -71,8 +70,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -104,8 +102,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { @@ -159,63 +156,62 @@ public class AdditionalPropertiesClass { } public static class Builder { - - private AdditionalPropertiesClass instance; - - public Builder() { - this(new AdditionalPropertiesClass()); - } - - protected Builder(AdditionalPropertiesClass instance) { - this.instance = instance; - } - - public AdditionalPropertiesClass.Builder mapProperty(Map mapProperty) { - this.instance.mapProperty = mapProperty; - return this; - } - public AdditionalPropertiesClass.Builder mapOfMapProperty(Map> mapOfMapProperty) { - this.instance.mapOfMapProperty = mapOfMapProperty; - return this; - } - - - /** - * returns a built AdditionalPropertiesClass instance. - * - * The builder is not reusable. - */ - public AdditionalPropertiesClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private AdditionalPropertiesClass instance; + + public Builder() { + this(new AdditionalPropertiesClass()); + } + + protected Builder(AdditionalPropertiesClass instance) { + this.instance = instance; + } + + public AdditionalPropertiesClass.Builder mapProperty(Map mapProperty) { + this.instance.mapProperty = mapProperty; + return this; + } + public AdditionalPropertiesClass.Builder mapOfMapProperty(Map> mapOfMapProperty) { + this.instance.mapOfMapProperty = mapOfMapProperty; + return this; + } + + + /** + * returns a built AdditionalPropertiesClass instance. + * + * The builder is not reusable. + */ + public AdditionalPropertiesClass build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static AdditionalPropertiesClass.Builder builder() { + return new AdditionalPropertiesClass.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public AdditionalPropertiesClass.Builder toBuilder() { + return new AdditionalPropertiesClass.Builder() + .mapProperty(getMapProperty()) + .mapOfMapProperty(getMapOfMapProperty()); } - } - - /** - * Create a builder with no initialized field. - */ - public static AdditionalPropertiesClass.Builder builder() { - return new AdditionalPropertiesClass.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public AdditionalPropertiesClass.Builder toBuilder() { - return new AdditionalPropertiesClass.Builder() - .mapProperty(getMapProperty()) - .mapOfMapProperty(getMapOfMapProperty()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index f021b9ac1fe..d687f1500ef 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -62,8 +61,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -87,8 +85,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { @@ -142,63 +139,62 @@ public class AllOfWithSingleRef { } public static class Builder { - - private AllOfWithSingleRef instance; - - public Builder() { - this(new AllOfWithSingleRef()); - } - - protected Builder(AllOfWithSingleRef instance) { - this.instance = instance; - } - - public AllOfWithSingleRef.Builder username(String username) { - this.instance.username = username; - return this; - } - public AllOfWithSingleRef.Builder singleRefType(SingleRefType singleRefType) { - this.instance.singleRefType = singleRefType; - return this; - } - - - /** - * returns a built AllOfWithSingleRef instance. - * - * The builder is not reusable. - */ - public AllOfWithSingleRef build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private AllOfWithSingleRef instance; + + public Builder() { + this(new AllOfWithSingleRef()); + } + + protected Builder(AllOfWithSingleRef instance) { + this.instance = instance; + } + + public AllOfWithSingleRef.Builder username(String username) { + this.instance.username = username; + return this; + } + public AllOfWithSingleRef.Builder singleRefType(SingleRefType singleRefType) { + this.instance.singleRefType = singleRefType; + return this; + } + + + /** + * returns a built AllOfWithSingleRef instance. + * + * The builder is not reusable. + */ + public AllOfWithSingleRef build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static AllOfWithSingleRef.Builder builder() { + return new AllOfWithSingleRef.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public AllOfWithSingleRef.Builder toBuilder() { + return new AllOfWithSingleRef.Builder() + .username(getUsername()) + .singleRefType(getSingleRefType()); } - } - - /** - * Create a builder with no initialized field. - */ - public static AllOfWithSingleRef.Builder builder() { - return new AllOfWithSingleRef.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public AllOfWithSingleRef.Builder toBuilder() { - return new AllOfWithSingleRef.Builder() - .username(getUsername()) - .singleRefType(getSingleRefType()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java index be3d68394ed..2e9e1bb15b9 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -74,8 +73,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -99,8 +97,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { @@ -154,63 +151,62 @@ public class Animal { } public static class Builder { - - private Animal instance; - - public Builder() { - this(new Animal()); - } - - protected Builder(Animal instance) { - this.instance = instance; - } - - public Animal.Builder className(String className) { - this.instance.className = className; - return this; - } - public Animal.Builder color(String color) { - this.instance.color = color; - return this; - } - - - /** - * returns a built Animal instance. - * - * The builder is not reusable. - */ - public Animal build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Animal instance; + + public Builder() { + this(new Animal()); + } + + protected Builder(Animal instance) { + this.instance = instance; + } + + public Animal.Builder className(String className) { + this.instance.className = className; + return this; + } + public Animal.Builder color(String color) { + this.instance.color = color; + return this; + } + + + /** + * returns a built Animal instance. + * + * The builder is not reusable. + */ + public Animal build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Animal.Builder builder() { + return new Animal.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Animal.Builder toBuilder() { + return new Animal.Builder() + .className(getClassName()) + .color(getColor()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Animal.Builder builder() { - return new Animal.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Animal.Builder toBuilder() { - return new Animal.Builder() - .className(getClassName()) - .color(getColor()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index a2e283df81d..691834be265 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber; + @javax.annotation.Nullable private List> arrayArrayNumber; public ArrayOfArrayOfNumberOnly() { } @@ -67,8 +67,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { @@ -120,58 +119,57 @@ public class ArrayOfArrayOfNumberOnly { } public static class Builder { - - private ArrayOfArrayOfNumberOnly instance; - - public Builder() { - this(new ArrayOfArrayOfNumberOnly()); - } - - protected Builder(ArrayOfArrayOfNumberOnly instance) { - this.instance = instance; - } - - public ArrayOfArrayOfNumberOnly.Builder arrayArrayNumber(List> arrayArrayNumber) { - this.instance.arrayArrayNumber = arrayArrayNumber; - return this; - } - - - /** - * returns a built ArrayOfArrayOfNumberOnly instance. - * - * The builder is not reusable. - */ - public ArrayOfArrayOfNumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ArrayOfArrayOfNumberOnly instance; + + public Builder() { + this(new ArrayOfArrayOfNumberOnly()); + } + + protected Builder(ArrayOfArrayOfNumberOnly instance) { + this.instance = instance; + } + + public ArrayOfArrayOfNumberOnly.Builder arrayArrayNumber(List> arrayArrayNumber) { + this.instance.arrayArrayNumber = arrayArrayNumber; + return this; + } + + + /** + * returns a built ArrayOfArrayOfNumberOnly instance. + * + * The builder is not reusable. + */ + public ArrayOfArrayOfNumberOnly build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ArrayOfArrayOfNumberOnly.Builder builder() { + return new ArrayOfArrayOfNumberOnly.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ArrayOfArrayOfNumberOnly.Builder toBuilder() { + return new ArrayOfArrayOfNumberOnly.Builder() + .arrayArrayNumber(getArrayArrayNumber()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ArrayOfArrayOfNumberOnly.Builder builder() { - return new ArrayOfArrayOfNumberOnly.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ArrayOfArrayOfNumberOnly.Builder toBuilder() { - return new ArrayOfArrayOfNumberOnly.Builder() - .arrayArrayNumber(getArrayArrayNumber()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index fb608415f92..d4031092ba3 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber; + @javax.annotation.Nullable private List arrayNumber; public ArrayOfNumberOnly() { } @@ -67,8 +67,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { @@ -120,58 +119,57 @@ public class ArrayOfNumberOnly { } public static class Builder { - - private ArrayOfNumberOnly instance; - - public Builder() { - this(new ArrayOfNumberOnly()); - } - - protected Builder(ArrayOfNumberOnly instance) { - this.instance = instance; - } - - public ArrayOfNumberOnly.Builder arrayNumber(List arrayNumber) { - this.instance.arrayNumber = arrayNumber; - return this; - } - - - /** - * returns a built ArrayOfNumberOnly instance. - * - * The builder is not reusable. - */ - public ArrayOfNumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ArrayOfNumberOnly instance; + + public Builder() { + this(new ArrayOfNumberOnly()); + } + + protected Builder(ArrayOfNumberOnly instance) { + this.instance = instance; + } + + public ArrayOfNumberOnly.Builder arrayNumber(List arrayNumber) { + this.instance.arrayNumber = arrayNumber; + return this; + } + + + /** + * returns a built ArrayOfNumberOnly instance. + * + * The builder is not reusable. + */ + public ArrayOfNumberOnly build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ArrayOfNumberOnly.Builder builder() { + return new ArrayOfNumberOnly.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ArrayOfNumberOnly.Builder toBuilder() { + return new ArrayOfNumberOnly.Builder() + .arrayNumber(getArrayNumber()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ArrayOfNumberOnly.Builder builder() { - return new ArrayOfNumberOnly.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ArrayOfNumberOnly.Builder toBuilder() { - return new ArrayOfNumberOnly.Builder() - .arrayNumber(getArrayNumber()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayTest.java index 1df676af0c1..d4b58eb6db8 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString; + @javax.annotation.Nullable private List arrayOfString; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger; + @javax.annotation.Nullable private List> arrayArrayOfInteger; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel; + @javax.annotation.Nullable private List> arrayArrayOfModel; public ArrayTest() { } @@ -79,8 +77,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -112,8 +109,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -145,8 +141,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { @@ -202,68 +197,67 @@ public class ArrayTest { } public static class Builder { - - private ArrayTest instance; - - public Builder() { - this(new ArrayTest()); - } - - protected Builder(ArrayTest instance) { - this.instance = instance; - } - - public ArrayTest.Builder arrayOfString(List arrayOfString) { - this.instance.arrayOfString = arrayOfString; - return this; - } - public ArrayTest.Builder arrayArrayOfInteger(List> arrayArrayOfInteger) { - this.instance.arrayArrayOfInteger = arrayArrayOfInteger; - return this; - } - public ArrayTest.Builder arrayArrayOfModel(List> arrayArrayOfModel) { - this.instance.arrayArrayOfModel = arrayArrayOfModel; - return this; - } - - - /** - * returns a built ArrayTest instance. - * - * The builder is not reusable. - */ - public ArrayTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ArrayTest instance; + + public Builder() { + this(new ArrayTest()); + } + + protected Builder(ArrayTest instance) { + this.instance = instance; + } + + public ArrayTest.Builder arrayOfString(List arrayOfString) { + this.instance.arrayOfString = arrayOfString; + return this; + } + public ArrayTest.Builder arrayArrayOfInteger(List> arrayArrayOfInteger) { + this.instance.arrayArrayOfInteger = arrayArrayOfInteger; + return this; + } + public ArrayTest.Builder arrayArrayOfModel(List> arrayArrayOfModel) { + this.instance.arrayArrayOfModel = arrayArrayOfModel; + return this; + } + + + /** + * returns a built ArrayTest instance. + * + * The builder is not reusable. + */ + public ArrayTest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ArrayTest.Builder builder() { + return new ArrayTest.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ArrayTest.Builder toBuilder() { + return new ArrayTest.Builder() + .arrayOfString(getArrayOfString()) + .arrayArrayOfInteger(getArrayArrayOfInteger()) + .arrayArrayOfModel(getArrayArrayOfModel()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ArrayTest.Builder builder() { - return new ArrayTest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ArrayTest.Builder toBuilder() { - return new ArrayTest.Builder() - .arrayOfString(getArrayOfString()) - .arrayArrayOfInteger(getArrayArrayOfInteger()) - .arrayArrayOfModel(getArrayArrayOfModel()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Capitalization.java index 1276877afd6..7422d771a41 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -85,8 +80,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -110,8 +104,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -135,8 +128,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -160,8 +152,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -185,8 +176,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -210,8 +200,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { @@ -273,83 +262,82 @@ public class Capitalization { } public static class Builder { - - private Capitalization instance; - - public Builder() { - this(new Capitalization()); - } - - protected Builder(Capitalization instance) { - this.instance = instance; - } - - public Capitalization.Builder smallCamel(String smallCamel) { - this.instance.smallCamel = smallCamel; - return this; - } - public Capitalization.Builder capitalCamel(String capitalCamel) { - this.instance.capitalCamel = capitalCamel; - return this; - } - public Capitalization.Builder smallSnake(String smallSnake) { - this.instance.smallSnake = smallSnake; - return this; - } - public Capitalization.Builder capitalSnake(String capitalSnake) { - this.instance.capitalSnake = capitalSnake; - return this; - } - public Capitalization.Builder scAETHFlowPoints(String scAETHFlowPoints) { - this.instance.scAETHFlowPoints = scAETHFlowPoints; - return this; - } - public Capitalization.Builder ATT_NAME(String ATT_NAME) { - this.instance.ATT_NAME = ATT_NAME; - return this; - } - - - /** - * returns a built Capitalization instance. - * - * The builder is not reusable. - */ - public Capitalization build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Capitalization instance; + + public Builder() { + this(new Capitalization()); + } + + protected Builder(Capitalization instance) { + this.instance = instance; + } + + public Capitalization.Builder smallCamel(String smallCamel) { + this.instance.smallCamel = smallCamel; + return this; + } + public Capitalization.Builder capitalCamel(String capitalCamel) { + this.instance.capitalCamel = capitalCamel; + return this; + } + public Capitalization.Builder smallSnake(String smallSnake) { + this.instance.smallSnake = smallSnake; + return this; + } + public Capitalization.Builder capitalSnake(String capitalSnake) { + this.instance.capitalSnake = capitalSnake; + return this; + } + public Capitalization.Builder scAETHFlowPoints(String scAETHFlowPoints) { + this.instance.scAETHFlowPoints = scAETHFlowPoints; + return this; + } + public Capitalization.Builder ATT_NAME(String ATT_NAME) { + this.instance.ATT_NAME = ATT_NAME; + return this; + } + + + /** + * returns a built Capitalization instance. + * + * The builder is not reusable. + */ + public Capitalization build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Capitalization.Builder builder() { + return new Capitalization.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Capitalization.Builder toBuilder() { + return new Capitalization.Builder() + .smallCamel(getSmallCamel()) + .capitalCamel(getCapitalCamel()) + .smallSnake(getSmallSnake()) + .capitalSnake(getCapitalSnake()) + .scAETHFlowPoints(getScAETHFlowPoints()) + .ATT_NAME(getATTNAME()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Capitalization.Builder builder() { - return new Capitalization.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Capitalization.Builder toBuilder() { - return new Capitalization.Builder() - .smallCamel(getSmallCamel()) - .capitalCamel(getCapitalCamel()) - .smallSnake(getSmallSnake()) - .capitalSnake(getCapitalSnake()) - .scAETHFlowPoints(getScAETHFlowPoints()) - .ATT_NAME(getATTNAME()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Cat.java index 3cf0d6a9341..cfcc032e7fc 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -67,8 +67,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { @@ -134,72 +133,71 @@ public class Cat extends Animal { } public static class Builder extends Animal.Builder { - - private Cat instance; - - public Builder() { - this(new Cat()); - } - - protected Builder(Cat instance) { - super(instance); - this.instance = instance; - } - - public Cat.Builder declawed(Boolean declawed) { - this.instance.declawed = declawed; - return this; - } - - public Cat.Builder className(String className) { // inherited: true - super.className(className); - return this; - } - - public Cat.Builder color(String color) { // inherited: true - super.color(color); - return this; - } - - - /** - * returns a built Cat instance. - * - * The builder is not reusable. - */ - public Cat build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; + + private Cat instance; + + public Builder() { + this(new Cat()); + } + + protected Builder(Cat instance) { + super(instance); + this.instance = instance; + } + + public Cat.Builder declawed(Boolean declawed) { + this.instance.declawed = declawed; + return this; + } + + public Cat.Builder className(String className) { // inherited: true + super.className(className); + return this; + } + + public Cat.Builder color(String color) { // inherited: true + super.color(color); + return this; + } + + + /** + * returns a built Cat instance. + * + * The builder is not reusable. + */ + public Cat build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + super.build(); + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Cat.Builder builder() { + return new Cat.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Cat.Builder toBuilder() { + return new Cat.Builder() + .className(getClassName()) + .color(getColor()) + .declawed(getDeclawed()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Cat.Builder builder() { - return new Cat.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Cat.Builder toBuilder() { - return new Cat.Builder() - .className(getClassName()) - .color(getColor()) - .declawed(getDeclawed()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java index 27c1e9db960..498b434dc9b 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -61,8 +60,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -86,8 +84,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -141,63 +138,62 @@ public class Category { } public static class Builder { - - private Category instance; - - public Builder() { - this(new Category()); - } - - protected Builder(Category instance) { - this.instance = instance; - } - - public Category.Builder id(Long id) { - this.instance.id = id; - return this; - } - public Category.Builder name(String name) { - this.instance.name = name; - return this; - } - - - /** - * returns a built Category instance. - * - * The builder is not reusable. - */ - public Category build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Category instance; + + public Builder() { + this(new Category()); + } + + protected Builder(Category instance) { + this.instance = instance; + } + + public Category.Builder id(Long id) { + this.instance.id = id; + return this; + } + public Category.Builder name(String name) { + this.instance.name = name; + return this; + } + + + /** + * returns a built Category instance. + * + * The builder is not reusable. + */ + public Category build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Category.Builder builder() { + return new Category.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Category.Builder toBuilder() { + return new Category.Builder() + .id(getId()) + .name(getName()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Category.Builder builder() { - return new Category.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Category.Builder toBuilder() { - return new Category.Builder() - .id(getId()) - .name(getName()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 9b90067d53f..ac53d370cf9 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -68,8 +68,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { @@ -146,76 +145,75 @@ public class ChildWithNullable extends ParentWithNullable { } public static class Builder extends ParentWithNullable.Builder { - - private ChildWithNullable instance; - - public Builder() { - this(new ChildWithNullable()); - } - - protected Builder(ChildWithNullable instance) { - super(instance); - this.instance = instance; - } - - public ChildWithNullable.Builder otherProperty(String otherProperty) { - this.instance.otherProperty = otherProperty; - return this; - } - - public ChildWithNullable.Builder type(TypeEnum type) { // inherited: true - super.type(type); - return this; - } - - public ChildWithNullable.Builder nullableProperty(String nullableProperty) { // inherited: true - super.nullableProperty(nullableProperty); - return this; - } - public ChildWithNullable.Builder nullableProperty(JsonNullable nullableProperty) { - this.instance.nullableProperty = nullableProperty; - return this; - } - - - /** - * returns a built ChildWithNullable instance. - * - * The builder is not reusable. - */ - public ChildWithNullable build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; + + private ChildWithNullable instance; + + public Builder() { + this(new ChildWithNullable()); + } + + protected Builder(ChildWithNullable instance) { + super(instance); + this.instance = instance; + } + + public ChildWithNullable.Builder otherProperty(String otherProperty) { + this.instance.otherProperty = otherProperty; + return this; + } + + public ChildWithNullable.Builder type(TypeEnum type) { // inherited: true + super.type(type); + return this; + } + + public ChildWithNullable.Builder nullableProperty(String nullableProperty) { // inherited: true + super.nullableProperty(nullableProperty); + return this; + } + public ChildWithNullable.Builder nullableProperty(JsonNullable nullableProperty) { + this.instance.nullableProperty = nullableProperty; + return this; + } + + + /** + * returns a built ChildWithNullable instance. + * + * The builder is not reusable. + */ + public ChildWithNullable build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + super.build(); + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ChildWithNullable.Builder builder() { + return new ChildWithNullable.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ChildWithNullable.Builder toBuilder() { + return new ChildWithNullable.Builder() + .type(getType()) + .nullableProperty(getNullableProperty()) + .otherProperty(getOtherProperty()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ChildWithNullable.Builder builder() { - return new ChildWithNullable.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ChildWithNullable.Builder toBuilder() { - return new ChildWithNullable.Builder() - .type(getType()) - .nullableProperty(getNullableProperty()) - .otherProperty(getOtherProperty()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ClassModel.java index c21da6c5ad3..7251e9cd9e8 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -55,8 +55,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { @@ -108,58 +107,57 @@ public class ClassModel { } public static class Builder { - - private ClassModel instance; - - public Builder() { - this(new ClassModel()); - } - - protected Builder(ClassModel instance) { - this.instance = instance; - } - - public ClassModel.Builder propertyClass(String propertyClass) { - this.instance.propertyClass = propertyClass; - return this; - } - - - /** - * returns a built ClassModel instance. - * - * The builder is not reusable. - */ - public ClassModel build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ClassModel instance; + + public Builder() { + this(new ClassModel()); + } + + protected Builder(ClassModel instance) { + this.instance = instance; + } + + public ClassModel.Builder propertyClass(String propertyClass) { + this.instance.propertyClass = propertyClass; + return this; + } + + + /** + * returns a built ClassModel instance. + * + * The builder is not reusable. + */ + public ClassModel build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ClassModel.Builder builder() { + return new ClassModel.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ClassModel.Builder toBuilder() { + return new ClassModel.Builder() + .propertyClass(getPropertyClass()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ClassModel.Builder builder() { - return new ClassModel.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ClassModel.Builder toBuilder() { - return new ClassModel.Builder() - .propertyClass(getPropertyClass()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Client.java index bde6845077b..3dc44f1278a 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -55,8 +55,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { @@ -108,58 +107,57 @@ public class Client { } public static class Builder { - - private Client instance; - - public Builder() { - this(new Client()); - } - - protected Builder(Client instance) { - this.instance = instance; - } - - public Client.Builder client(String client) { - this.instance.client = client; - return this; - } - - - /** - * returns a built Client instance. - * - * The builder is not reusable. - */ - public Client build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Client instance; + + public Builder() { + this(new Client()); + } + + protected Builder(Client instance) { + this.instance = instance; + } + + public Client.Builder client(String client) { + this.instance.client = client; + return this; + } + + + /** + * returns a built Client instance. + * + * The builder is not reusable. + */ + public Client build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Client.Builder builder() { + return new Client.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Client.Builder toBuilder() { + return new Client.Builder() + .client(getClient()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Client.Builder builder() { - return new Client.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Client.Builder toBuilder() { - return new Client.Builder() - .client(getClient()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/DeprecatedObject.java index 3f8aeaa5fa1..5666e38de65 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -57,8 +57,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -110,58 +109,57 @@ public class DeprecatedObject { } public static class Builder { - - private DeprecatedObject instance; - - public Builder() { - this(new DeprecatedObject()); - } - - protected Builder(DeprecatedObject instance) { - this.instance = instance; - } - - public DeprecatedObject.Builder name(String name) { - this.instance.name = name; - return this; - } - - - /** - * returns a built DeprecatedObject instance. - * - * The builder is not reusable. - */ - public DeprecatedObject build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private DeprecatedObject instance; + + public Builder() { + this(new DeprecatedObject()); + } + + protected Builder(DeprecatedObject instance) { + this.instance = instance; + } + + public DeprecatedObject.Builder name(String name) { + this.instance.name = name; + return this; + } + + + /** + * returns a built DeprecatedObject instance. + * + * The builder is not reusable. + */ + public DeprecatedObject build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static DeprecatedObject.Builder builder() { + return new DeprecatedObject.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public DeprecatedObject.Builder toBuilder() { + return new DeprecatedObject.Builder() + .name(getName()); } - } - - /** - * Create a builder with no initialized field. - */ - public static DeprecatedObject.Builder builder() { - return new DeprecatedObject.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public DeprecatedObject.Builder toBuilder() { - return new DeprecatedObject.Builder() - .name(getName()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Dog.java index 893c2946070..62e0d78a4fe 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -67,8 +67,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { @@ -134,72 +133,71 @@ public class Dog extends Animal { } public static class Builder extends Animal.Builder { - - private Dog instance; - - public Builder() { - this(new Dog()); - } - - protected Builder(Dog instance) { - super(instance); - this.instance = instance; - } - - public Dog.Builder breed(String breed) { - this.instance.breed = breed; - return this; - } - - public Dog.Builder className(String className) { // inherited: true - super.className(className); - return this; - } - - public Dog.Builder color(String color) { // inherited: true - super.color(color); - return this; - } - - - /** - * returns a built Dog instance. - * - * The builder is not reusable. - */ - public Dog build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; + + private Dog instance; + + public Builder() { + this(new Dog()); + } + + protected Builder(Dog instance) { + super(instance); + this.instance = instance; + } + + public Dog.Builder breed(String breed) { + this.instance.breed = breed; + return this; + } + + public Dog.Builder className(String className) { // inherited: true + super.className(className); + return this; + } + + public Dog.Builder color(String color) { // inherited: true + super.color(color); + return this; + } + + + /** + * returns a built Dog instance. + * + * The builder is not reusable. + */ + public Dog build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + super.build(); + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Dog.Builder builder() { + return new Dog.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Dog.Builder toBuilder() { + return new Dog.Builder() + .className(getClassName()) + .color(getColor()) + .breed(getBreed()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Dog.Builder builder() { - return new Dog.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Dog.Builder toBuilder() { - return new Dog.Builder() - .className(getClassName()) - .color(getColor()) - .breed(getBreed()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumArrays.java index 34839da447e..559a88266e8 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum; + @javax.annotation.Nullable private List arrayEnum; public EnumArrays() { } @@ -134,8 +131,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -167,8 +163,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { @@ -222,63 +217,62 @@ public class EnumArrays { } public static class Builder { - - private EnumArrays instance; - - public Builder() { - this(new EnumArrays()); - } - - protected Builder(EnumArrays instance) { - this.instance = instance; - } - - public EnumArrays.Builder justSymbol(JustSymbolEnum justSymbol) { - this.instance.justSymbol = justSymbol; - return this; - } - public EnumArrays.Builder arrayEnum(List arrayEnum) { - this.instance.arrayEnum = arrayEnum; - return this; - } - - - /** - * returns a built EnumArrays instance. - * - * The builder is not reusable. - */ - public EnumArrays build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private EnumArrays instance; + + public Builder() { + this(new EnumArrays()); + } + + protected Builder(EnumArrays instance) { + this.instance = instance; + } + + public EnumArrays.Builder justSymbol(JustSymbolEnum justSymbol) { + this.instance.justSymbol = justSymbol; + return this; + } + public EnumArrays.Builder arrayEnum(List arrayEnum) { + this.instance.arrayEnum = arrayEnum; + return this; + } + + + /** + * returns a built EnumArrays instance. + * + * The builder is not reusable. + */ + public EnumArrays build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static EnumArrays.Builder builder() { + return new EnumArrays.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public EnumArrays.Builder toBuilder() { + return new EnumArrays.Builder() + .justSymbol(getJustSymbol()) + .arrayEnum(getArrayEnum()); } - } - - /** - * Create a builder with no initialized field. - */ - public static EnumArrays.Builder builder() { - return new EnumArrays.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public EnumArrays.Builder toBuilder() { - return new EnumArrays.Builder() - .justSymbol(getJustSymbol()) - .arrayEnum(getArrayEnum()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java index 1ae323dee5a..1cb56d9f330 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -250,8 +239,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -275,8 +263,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -300,8 +287,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -325,8 +311,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -350,8 +335,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -359,7 +343,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -383,8 +366,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -408,8 +390,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -433,8 +414,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { @@ -511,97 +491,96 @@ public class EnumTest { } public static class Builder { - - private EnumTest instance; - - public Builder() { - this(new EnumTest()); - } - - protected Builder(EnumTest instance) { - this.instance = instance; - } - - public EnumTest.Builder enumString(EnumStringEnum enumString) { - this.instance.enumString = enumString; - return this; - } - public EnumTest.Builder enumStringRequired(EnumStringRequiredEnum enumStringRequired) { - this.instance.enumStringRequired = enumStringRequired; - return this; - } - public EnumTest.Builder enumInteger(EnumIntegerEnum enumInteger) { - this.instance.enumInteger = enumInteger; - return this; - } - public EnumTest.Builder enumNumber(EnumNumberEnum enumNumber) { - this.instance.enumNumber = enumNumber; - return this; - } - public EnumTest.Builder outerEnum(OuterEnum outerEnum) { - this.instance.outerEnum = JsonNullable.of(outerEnum); - return this; - } - public EnumTest.Builder outerEnum(JsonNullable outerEnum) { - this.instance.outerEnum = outerEnum; - return this; - } - public EnumTest.Builder outerEnumInteger(OuterEnumInteger outerEnumInteger) { - this.instance.outerEnumInteger = outerEnumInteger; - return this; - } - public EnumTest.Builder outerEnumDefaultValue(OuterEnumDefaultValue outerEnumDefaultValue) { - this.instance.outerEnumDefaultValue = outerEnumDefaultValue; - return this; - } - public EnumTest.Builder outerEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue) { - this.instance.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; - return this; - } - - - /** - * returns a built EnumTest instance. - * - * The builder is not reusable. - */ - public EnumTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private EnumTest instance; + + public Builder() { + this(new EnumTest()); + } + + protected Builder(EnumTest instance) { + this.instance = instance; + } + + public EnumTest.Builder enumString(EnumStringEnum enumString) { + this.instance.enumString = enumString; + return this; + } + public EnumTest.Builder enumStringRequired(EnumStringRequiredEnum enumStringRequired) { + this.instance.enumStringRequired = enumStringRequired; + return this; + } + public EnumTest.Builder enumInteger(EnumIntegerEnum enumInteger) { + this.instance.enumInteger = enumInteger; + return this; + } + public EnumTest.Builder enumNumber(EnumNumberEnum enumNumber) { + this.instance.enumNumber = enumNumber; + return this; + } + public EnumTest.Builder outerEnum(OuterEnum outerEnum) { + this.instance.outerEnum = JsonNullable.of(outerEnum); + return this; + } + public EnumTest.Builder outerEnum(JsonNullable outerEnum) { + this.instance.outerEnum = outerEnum; + return this; + } + public EnumTest.Builder outerEnumInteger(OuterEnumInteger outerEnumInteger) { + this.instance.outerEnumInteger = outerEnumInteger; + return this; + } + public EnumTest.Builder outerEnumDefaultValue(OuterEnumDefaultValue outerEnumDefaultValue) { + this.instance.outerEnumDefaultValue = outerEnumDefaultValue; + return this; + } + public EnumTest.Builder outerEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue) { + this.instance.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; + return this; + } + + + /** + * returns a built EnumTest instance. + * + * The builder is not reusable. + */ + public EnumTest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static EnumTest.Builder builder() { + return new EnumTest.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public EnumTest.Builder toBuilder() { + return new EnumTest.Builder() + .enumString(getEnumString()) + .enumStringRequired(getEnumStringRequired()) + .enumInteger(getEnumInteger()) + .enumNumber(getEnumNumber()) + .outerEnum(getOuterEnum()) + .outerEnumInteger(getOuterEnumInteger()) + .outerEnumDefaultValue(getOuterEnumDefaultValue()) + .outerEnumIntegerDefaultValue(getOuterEnumIntegerDefaultValue()); } - } - - /** - * Create a builder with no initialized field. - */ - public static EnumTest.Builder builder() { - return new EnumTest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public EnumTest.Builder toBuilder() { - return new EnumTest.Builder() - .enumString(getEnumString()) - .enumStringRequired(getEnumStringRequired()) - .enumInteger(getEnumInteger()) - .enumNumber(getEnumNumber()) - .outerEnum(getOuterEnum()) - .outerEnumInteger(getOuterEnumInteger()) - .outerEnumDefaultValue(getOuterEnumDefaultValue()) - .outerEnumIntegerDefaultValue(getOuterEnumIntegerDefaultValue()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index e87525f9549..999116ee69d 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap; + @javax.annotation.Nullable private Map someMap; public FakeBigDecimalMap200Response() { } @@ -65,8 +64,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -98,8 +96,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { @@ -153,63 +150,62 @@ public class FakeBigDecimalMap200Response { } public static class Builder { - - private FakeBigDecimalMap200Response instance; - - public Builder() { - this(new FakeBigDecimalMap200Response()); - } - - protected Builder(FakeBigDecimalMap200Response instance) { - this.instance = instance; - } - - public FakeBigDecimalMap200Response.Builder someId(BigDecimal someId) { - this.instance.someId = someId; - return this; - } - public FakeBigDecimalMap200Response.Builder someMap(Map someMap) { - this.instance.someMap = someMap; - return this; - } - - - /** - * returns a built FakeBigDecimalMap200Response instance. - * - * The builder is not reusable. - */ - public FakeBigDecimalMap200Response build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private FakeBigDecimalMap200Response instance; + + public Builder() { + this(new FakeBigDecimalMap200Response()); + } + + protected Builder(FakeBigDecimalMap200Response instance) { + this.instance = instance; + } + + public FakeBigDecimalMap200Response.Builder someId(BigDecimal someId) { + this.instance.someId = someId; + return this; + } + public FakeBigDecimalMap200Response.Builder someMap(Map someMap) { + this.instance.someMap = someMap; + return this; + } + + + /** + * returns a built FakeBigDecimalMap200Response instance. + * + * The builder is not reusable. + */ + public FakeBigDecimalMap200Response build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static FakeBigDecimalMap200Response.Builder builder() { + return new FakeBigDecimalMap200Response.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public FakeBigDecimalMap200Response.Builder toBuilder() { + return new FakeBigDecimalMap200Response.Builder() + .someId(getSomeId()) + .someMap(getSomeMap()); } - } - - /** - * Create a builder with no initialized field. - */ - public static FakeBigDecimalMap200Response.Builder builder() { - return new FakeBigDecimalMap200Response.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public FakeBigDecimalMap200Response.Builder toBuilder() { - return new FakeBigDecimalMap200Response.Builder() - .someId(getSomeId()) - .someMap(getSomeMap()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 551d58b14aa..4fd8be97f3b 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files; + @javax.annotation.Nullable private List files; public FileSchemaTestClass() { } @@ -65,8 +64,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -98,8 +96,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { @@ -153,63 +150,62 @@ public class FileSchemaTestClass { } public static class Builder { - - private FileSchemaTestClass instance; - - public Builder() { - this(new FileSchemaTestClass()); - } - - protected Builder(FileSchemaTestClass instance) { - this.instance = instance; - } - - public FileSchemaTestClass.Builder _file(ModelFile _file) { - this.instance._file = _file; - return this; - } - public FileSchemaTestClass.Builder files(List files) { - this.instance.files = files; - return this; - } - - - /** - * returns a built FileSchemaTestClass instance. - * - * The builder is not reusable. - */ - public FileSchemaTestClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private FileSchemaTestClass instance; + + public Builder() { + this(new FileSchemaTestClass()); + } + + protected Builder(FileSchemaTestClass instance) { + this.instance = instance; + } + + public FileSchemaTestClass.Builder _file(ModelFile _file) { + this.instance._file = _file; + return this; + } + public FileSchemaTestClass.Builder files(List files) { + this.instance.files = files; + return this; + } + + + /** + * returns a built FileSchemaTestClass instance. + * + * The builder is not reusable. + */ + public FileSchemaTestClass build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static FileSchemaTestClass.Builder builder() { + return new FileSchemaTestClass.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public FileSchemaTestClass.Builder toBuilder() { + return new FileSchemaTestClass.Builder() + ._file(getFile()) + .files(getFiles()); } - } - - /** - * Create a builder with no initialized field. - */ - public static FileSchemaTestClass.Builder builder() { - return new FileSchemaTestClass.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public FileSchemaTestClass.Builder toBuilder() { - return new FileSchemaTestClass.Builder() - ._file(getFile()) - .files(getFiles()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Foo.java index 674fb880f64..07fa0a4afb3 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -55,8 +55,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -108,58 +107,57 @@ public class Foo { } public static class Builder { - - private Foo instance; - - public Builder() { - this(new Foo()); - } - - protected Builder(Foo instance) { - this.instance = instance; - } - - public Foo.Builder bar(String bar) { - this.instance.bar = bar; - return this; - } - - - /** - * returns a built Foo instance. - * - * The builder is not reusable. - */ - public Foo build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Foo instance; + + public Builder() { + this(new Foo()); + } + + protected Builder(Foo instance) { + this.instance = instance; + } + + public Foo.Builder bar(String bar) { + this.instance.bar = bar; + return this; + } + + + /** + * returns a built Foo instance. + * + * The builder is not reusable. + */ + public Foo build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Foo.Builder builder() { + return new Foo.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Foo.Builder toBuilder() { + return new Foo.Builder() + .bar(getBar()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Foo.Builder builder() { - return new Foo.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Foo.Builder toBuilder() { - return new Foo.Builder() - .bar(getBar()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 944edea0aeb..04d6ae8a8d7 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -57,8 +57,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { @@ -110,58 +109,57 @@ public class FooGetDefaultResponse { } public static class Builder { - - private FooGetDefaultResponse instance; - - public Builder() { - this(new FooGetDefaultResponse()); - } - - protected Builder(FooGetDefaultResponse instance) { - this.instance = instance; - } - - public FooGetDefaultResponse.Builder string(Foo string) { - this.instance.string = string; - return this; - } - - - /** - * returns a built FooGetDefaultResponse instance. - * - * The builder is not reusable. - */ - public FooGetDefaultResponse build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private FooGetDefaultResponse instance; + + public Builder() { + this(new FooGetDefaultResponse()); + } + + protected Builder(FooGetDefaultResponse instance) { + this.instance = instance; + } + + public FooGetDefaultResponse.Builder string(Foo string) { + this.instance.string = string; + return this; + } + + + /** + * returns a built FooGetDefaultResponse instance. + * + * The builder is not reusable. + */ + public FooGetDefaultResponse build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static FooGetDefaultResponse.Builder builder() { + return new FooGetDefaultResponse.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public FooGetDefaultResponse.Builder toBuilder() { + return new FooGetDefaultResponse.Builder() + .string(getString()); } - } - - /** - * Create a builder with no initialized field. - */ - public static FooGetDefaultResponse.Builder builder() { - return new FooGetDefaultResponse.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public FooGetDefaultResponse.Builder toBuilder() { - return new FooGetDefaultResponse.Builder() - .string(getString()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java index 9b629a311cc..bba0a935ec3 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -153,8 +138,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -180,8 +164,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -205,8 +188,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -232,8 +214,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -259,8 +240,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -286,8 +266,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -311,8 +290,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -336,8 +314,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -361,8 +338,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -386,8 +362,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -411,8 +386,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -436,8 +410,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -461,8 +434,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -486,8 +458,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -511,8 +482,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -536,8 +506,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { @@ -619,133 +588,132 @@ public class FormatTest { } public static class Builder { - - private FormatTest instance; - - public Builder() { - this(new FormatTest()); - } - - protected Builder(FormatTest instance) { - this.instance = instance; - } - - public FormatTest.Builder integer(Integer integer) { - this.instance.integer = integer; - return this; - } - public FormatTest.Builder int32(Integer int32) { - this.instance.int32 = int32; - return this; - } - public FormatTest.Builder int64(Long int64) { - this.instance.int64 = int64; - return this; - } - public FormatTest.Builder number(BigDecimal number) { - this.instance.number = number; - return this; - } - public FormatTest.Builder _float(Float _float) { - this.instance._float = _float; - return this; - } - public FormatTest.Builder _double(Double _double) { - this.instance._double = _double; - return this; - } - public FormatTest.Builder decimal(BigDecimal decimal) { - this.instance.decimal = decimal; - return this; - } - public FormatTest.Builder string(String string) { - this.instance.string = string; - return this; - } - public FormatTest.Builder _byte(byte[] _byte) { - this.instance._byte = _byte; - return this; - } - public FormatTest.Builder binary(File binary) { - this.instance.binary = binary; - return this; - } - public FormatTest.Builder date(LocalDate date) { - this.instance.date = date; - return this; - } - public FormatTest.Builder dateTime(OffsetDateTime dateTime) { - this.instance.dateTime = dateTime; - return this; - } - public FormatTest.Builder uuid(UUID uuid) { - this.instance.uuid = uuid; - return this; - } - public FormatTest.Builder password(String password) { - this.instance.password = password; - return this; - } - public FormatTest.Builder patternWithDigits(String patternWithDigits) { - this.instance.patternWithDigits = patternWithDigits; - return this; - } - public FormatTest.Builder patternWithDigitsAndDelimiter(String patternWithDigitsAndDelimiter) { - this.instance.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; - return this; - } - - - /** - * returns a built FormatTest instance. - * - * The builder is not reusable. - */ - public FormatTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private FormatTest instance; + + public Builder() { + this(new FormatTest()); + } + + protected Builder(FormatTest instance) { + this.instance = instance; + } + + public FormatTest.Builder integer(Integer integer) { + this.instance.integer = integer; + return this; + } + public FormatTest.Builder int32(Integer int32) { + this.instance.int32 = int32; + return this; + } + public FormatTest.Builder int64(Long int64) { + this.instance.int64 = int64; + return this; + } + public FormatTest.Builder number(BigDecimal number) { + this.instance.number = number; + return this; + } + public FormatTest.Builder _float(Float _float) { + this.instance._float = _float; + return this; + } + public FormatTest.Builder _double(Double _double) { + this.instance._double = _double; + return this; + } + public FormatTest.Builder decimal(BigDecimal decimal) { + this.instance.decimal = decimal; + return this; + } + public FormatTest.Builder string(String string) { + this.instance.string = string; + return this; + } + public FormatTest.Builder _byte(byte[] _byte) { + this.instance._byte = _byte; + return this; + } + public FormatTest.Builder binary(File binary) { + this.instance.binary = binary; + return this; + } + public FormatTest.Builder date(LocalDate date) { + this.instance.date = date; + return this; + } + public FormatTest.Builder dateTime(OffsetDateTime dateTime) { + this.instance.dateTime = dateTime; + return this; + } + public FormatTest.Builder uuid(UUID uuid) { + this.instance.uuid = uuid; + return this; + } + public FormatTest.Builder password(String password) { + this.instance.password = password; + return this; + } + public FormatTest.Builder patternWithDigits(String patternWithDigits) { + this.instance.patternWithDigits = patternWithDigits; + return this; + } + public FormatTest.Builder patternWithDigitsAndDelimiter(String patternWithDigitsAndDelimiter) { + this.instance.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; + return this; + } + + + /** + * returns a built FormatTest instance. + * + * The builder is not reusable. + */ + public FormatTest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static FormatTest.Builder builder() { + return new FormatTest.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public FormatTest.Builder toBuilder() { + return new FormatTest.Builder() + .integer(getInteger()) + .int32(getInt32()) + .int64(getInt64()) + .number(getNumber()) + ._float(getFloat()) + ._double(getDouble()) + .decimal(getDecimal()) + .string(getString()) + ._byte(getByte()) + .binary(getBinary()) + .date(getDate()) + .dateTime(getDateTime()) + .uuid(getUuid()) + .password(getPassword()) + .patternWithDigits(getPatternWithDigits()) + .patternWithDigitsAndDelimiter(getPatternWithDigitsAndDelimiter()); } - } - - /** - * Create a builder with no initialized field. - */ - public static FormatTest.Builder builder() { - return new FormatTest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public FormatTest.Builder toBuilder() { - return new FormatTest.Builder() - .integer(getInteger()) - .int32(getInt32()) - .int64(getInt64()) - .number(getNumber()) - ._float(getFloat()) - ._double(getDouble()) - .decimal(getDecimal()) - .string(getString()) - ._byte(getByte()) - .binary(getBinary()) - .date(getDate()) - .dateTime(getDateTime()) - .uuid(getUuid()) - .password(getPassword()) - .patternWithDigits(getPatternWithDigits()) - .patternWithDigitsAndDelimiter(getPatternWithDigitsAndDelimiter()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 01441f80c3b..0f17c8acef3 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { @@ -124,63 +121,62 @@ public class HasOnlyReadOnly { } public static class Builder { - - private HasOnlyReadOnly instance; - - public Builder() { - this(new HasOnlyReadOnly()); - } - - protected Builder(HasOnlyReadOnly instance) { - this.instance = instance; - } - - public HasOnlyReadOnly.Builder bar(String bar) { - this.instance.bar = bar; - return this; - } - public HasOnlyReadOnly.Builder foo(String foo) { - this.instance.foo = foo; - return this; - } - - - /** - * returns a built HasOnlyReadOnly instance. - * - * The builder is not reusable. - */ - public HasOnlyReadOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private HasOnlyReadOnly instance; + + public Builder() { + this(new HasOnlyReadOnly()); + } + + protected Builder(HasOnlyReadOnly instance) { + this.instance = instance; + } + + public HasOnlyReadOnly.Builder bar(String bar) { + this.instance.bar = bar; + return this; + } + public HasOnlyReadOnly.Builder foo(String foo) { + this.instance.foo = foo; + return this; + } + + + /** + * returns a built HasOnlyReadOnly instance. + * + * The builder is not reusable. + */ + public HasOnlyReadOnly build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static HasOnlyReadOnly.Builder builder() { + return new HasOnlyReadOnly.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public HasOnlyReadOnly.Builder toBuilder() { + return new HasOnlyReadOnly.Builder() + .bar(getBar()) + .foo(getFoo()); } - } - - /** - * Create a builder with no initialized field. - */ - public static HasOnlyReadOnly.Builder builder() { - return new HasOnlyReadOnly.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public HasOnlyReadOnly.Builder toBuilder() { - return new HasOnlyReadOnly.Builder() - .bar(getBar()) - .foo(getFoo()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HealthCheckResult.java index a36cead6d17..495378890e5 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -59,8 +59,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -68,7 +67,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -131,62 +129,61 @@ public class HealthCheckResult { } public static class Builder { - - private HealthCheckResult instance; - - public Builder() { - this(new HealthCheckResult()); - } - - protected Builder(HealthCheckResult instance) { - this.instance = instance; - } - - public HealthCheckResult.Builder nullableMessage(String nullableMessage) { - this.instance.nullableMessage = JsonNullable.of(nullableMessage); - return this; - } - public HealthCheckResult.Builder nullableMessage(JsonNullable nullableMessage) { - this.instance.nullableMessage = nullableMessage; - return this; - } - - - /** - * returns a built HealthCheckResult instance. - * - * The builder is not reusable. - */ - public HealthCheckResult build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private HealthCheckResult instance; + + public Builder() { + this(new HealthCheckResult()); + } + + protected Builder(HealthCheckResult instance) { + this.instance = instance; + } + + public HealthCheckResult.Builder nullableMessage(String nullableMessage) { + this.instance.nullableMessage = JsonNullable.of(nullableMessage); + return this; + } + public HealthCheckResult.Builder nullableMessage(JsonNullable nullableMessage) { + this.instance.nullableMessage = nullableMessage; + return this; + } + + + /** + * returns a built HealthCheckResult instance. + * + * The builder is not reusable. + */ + public HealthCheckResult build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static HealthCheckResult.Builder builder() { + return new HealthCheckResult.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public HealthCheckResult.Builder toBuilder() { + return new HealthCheckResult.Builder() + .nullableMessage(getNullableMessage()); } - } - - /** - * Create a builder with no initialized field. - */ - public static HealthCheckResult.Builder builder() { - return new HealthCheckResult.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public HealthCheckResult.Builder toBuilder() { - return new HealthCheckResult.Builder() - .nullableMessage(getNullableMessage()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MapTest.java index dc9b7536a7f..9030d17d35b 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString; + @javax.annotation.Nullable private Map> mapMapOfString; /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString; + @javax.annotation.Nullable private Map mapOfEnumString; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap; + @javax.annotation.Nullable private Map directMap; public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap; + @javax.annotation.Nullable private Map indirectMap; public MapTest() { } @@ -118,8 +114,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -151,8 +146,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -184,8 +178,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -217,8 +210,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { @@ -276,73 +268,72 @@ public class MapTest { } public static class Builder { - - private MapTest instance; - - public Builder() { - this(new MapTest()); - } - - protected Builder(MapTest instance) { - this.instance = instance; - } - - public MapTest.Builder mapMapOfString(Map> mapMapOfString) { - this.instance.mapMapOfString = mapMapOfString; - return this; - } - public MapTest.Builder mapOfEnumString(Map mapOfEnumString) { - this.instance.mapOfEnumString = mapOfEnumString; - return this; - } - public MapTest.Builder directMap(Map directMap) { - this.instance.directMap = directMap; - return this; - } - public MapTest.Builder indirectMap(Map indirectMap) { - this.instance.indirectMap = indirectMap; - return this; - } - - - /** - * returns a built MapTest instance. - * - * The builder is not reusable. - */ - public MapTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private MapTest instance; + + public Builder() { + this(new MapTest()); + } + + protected Builder(MapTest instance) { + this.instance = instance; + } + + public MapTest.Builder mapMapOfString(Map> mapMapOfString) { + this.instance.mapMapOfString = mapMapOfString; + return this; + } + public MapTest.Builder mapOfEnumString(Map mapOfEnumString) { + this.instance.mapOfEnumString = mapOfEnumString; + return this; + } + public MapTest.Builder directMap(Map directMap) { + this.instance.directMap = directMap; + return this; + } + public MapTest.Builder indirectMap(Map indirectMap) { + this.instance.indirectMap = indirectMap; + return this; + } + + + /** + * returns a built MapTest instance. + * + * The builder is not reusable. + */ + public MapTest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static MapTest.Builder builder() { + return new MapTest.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public MapTest.Builder toBuilder() { + return new MapTest.Builder() + .mapMapOfString(getMapMapOfString()) + .mapOfEnumString(getMapOfEnumString()) + .directMap(getDirectMap()) + .indirectMap(getIndirectMap()); } - } - - /** - * Create a builder with no initialized field. - */ - public static MapTest.Builder builder() { - return new MapTest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public MapTest.Builder toBuilder() { - return new MapTest.Builder() - .mapMapOfString(getMapMapOfString()) - .mapOfEnumString(getMapOfEnumString()) - .directMap(getDirectMap()) - .indirectMap(getIndirectMap()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 69ea559db1d..3c9eaf588d7 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map; + @javax.annotation.Nullable private Map map; public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -72,8 +70,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -97,8 +94,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -130,8 +126,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { @@ -187,68 +182,67 @@ public class MixedPropertiesAndAdditionalPropertiesClass { } public static class Builder { - - private MixedPropertiesAndAdditionalPropertiesClass instance; - - public Builder() { - this(new MixedPropertiesAndAdditionalPropertiesClass()); - } - - protected Builder(MixedPropertiesAndAdditionalPropertiesClass instance) { - this.instance = instance; - } - - public MixedPropertiesAndAdditionalPropertiesClass.Builder uuid(UUID uuid) { - this.instance.uuid = uuid; - return this; - } - public MixedPropertiesAndAdditionalPropertiesClass.Builder dateTime(OffsetDateTime dateTime) { - this.instance.dateTime = dateTime; - return this; - } - public MixedPropertiesAndAdditionalPropertiesClass.Builder map(Map map) { - this.instance.map = map; - return this; - } - - - /** - * returns a built MixedPropertiesAndAdditionalPropertiesClass instance. - * - * The builder is not reusable. - */ - public MixedPropertiesAndAdditionalPropertiesClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private MixedPropertiesAndAdditionalPropertiesClass instance; + + public Builder() { + this(new MixedPropertiesAndAdditionalPropertiesClass()); + } + + protected Builder(MixedPropertiesAndAdditionalPropertiesClass instance) { + this.instance = instance; + } + + public MixedPropertiesAndAdditionalPropertiesClass.Builder uuid(UUID uuid) { + this.instance.uuid = uuid; + return this; + } + public MixedPropertiesAndAdditionalPropertiesClass.Builder dateTime(OffsetDateTime dateTime) { + this.instance.dateTime = dateTime; + return this; + } + public MixedPropertiesAndAdditionalPropertiesClass.Builder map(Map map) { + this.instance.map = map; + return this; + } + + + /** + * returns a built MixedPropertiesAndAdditionalPropertiesClass instance. + * + * The builder is not reusable. + */ + public MixedPropertiesAndAdditionalPropertiesClass build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static MixedPropertiesAndAdditionalPropertiesClass.Builder builder() { + return new MixedPropertiesAndAdditionalPropertiesClass.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public MixedPropertiesAndAdditionalPropertiesClass.Builder toBuilder() { + return new MixedPropertiesAndAdditionalPropertiesClass.Builder() + .uuid(getUuid()) + .dateTime(getDateTime()) + .map(getMap()); } - } - - /** - * Create a builder with no initialized field. - */ - public static MixedPropertiesAndAdditionalPropertiesClass.Builder builder() { - return new MixedPropertiesAndAdditionalPropertiesClass.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public MixedPropertiesAndAdditionalPropertiesClass.Builder toBuilder() { - return new MixedPropertiesAndAdditionalPropertiesClass.Builder() - .uuid(getUuid()) - .dateTime(getDateTime()) - .map(getMap()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Model200Response.java index 286cfcc9f68..b884f2318c0 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -62,8 +61,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -87,8 +85,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { @@ -142,63 +139,62 @@ public class Model200Response { } public static class Builder { - - private Model200Response instance; - - public Builder() { - this(new Model200Response()); - } - - protected Builder(Model200Response instance) { - this.instance = instance; - } - - public Model200Response.Builder name(Integer name) { - this.instance.name = name; - return this; - } - public Model200Response.Builder propertyClass(String propertyClass) { - this.instance.propertyClass = propertyClass; - return this; - } - - - /** - * returns a built Model200Response instance. - * - * The builder is not reusable. - */ - public Model200Response build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Model200Response instance; + + public Builder() { + this(new Model200Response()); + } + + protected Builder(Model200Response instance) { + this.instance = instance; + } + + public Model200Response.Builder name(Integer name) { + this.instance.name = name; + return this; + } + public Model200Response.Builder propertyClass(String propertyClass) { + this.instance.propertyClass = propertyClass; + return this; + } + + + /** + * returns a built Model200Response instance. + * + * The builder is not reusable. + */ + public Model200Response build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Model200Response.Builder builder() { + return new Model200Response.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Model200Response.Builder toBuilder() { + return new Model200Response.Builder() + .name(getName()) + .propertyClass(getPropertyClass()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Model200Response.Builder builder() { - return new Model200Response.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Model200Response.Builder toBuilder() { - return new Model200Response.Builder() - .name(getName()) - .propertyClass(getPropertyClass()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 9ddff62a18e..472dd200551 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -68,8 +66,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -93,8 +90,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -118,8 +114,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { @@ -175,68 +170,67 @@ public class ModelApiResponse { } public static class Builder { - - private ModelApiResponse instance; - - public Builder() { - this(new ModelApiResponse()); - } - - protected Builder(ModelApiResponse instance) { - this.instance = instance; - } - - public ModelApiResponse.Builder code(Integer code) { - this.instance.code = code; - return this; - } - public ModelApiResponse.Builder type(String type) { - this.instance.type = type; - return this; - } - public ModelApiResponse.Builder message(String message) { - this.instance.message = message; - return this; - } - - - /** - * returns a built ModelApiResponse instance. - * - * The builder is not reusable. - */ - public ModelApiResponse build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ModelApiResponse instance; + + public Builder() { + this(new ModelApiResponse()); + } + + protected Builder(ModelApiResponse instance) { + this.instance = instance; + } + + public ModelApiResponse.Builder code(Integer code) { + this.instance.code = code; + return this; + } + public ModelApiResponse.Builder type(String type) { + this.instance.type = type; + return this; + } + public ModelApiResponse.Builder message(String message) { + this.instance.message = message; + return this; + } + + + /** + * returns a built ModelApiResponse instance. + * + * The builder is not reusable. + */ + public ModelApiResponse build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ModelApiResponse.Builder builder() { + return new ModelApiResponse.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ModelApiResponse.Builder toBuilder() { + return new ModelApiResponse.Builder() + .code(getCode()) + .type(getType()) + .message(getMessage()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ModelApiResponse.Builder builder() { - return new ModelApiResponse.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ModelApiResponse.Builder toBuilder() { - return new ModelApiResponse.Builder() - .code(getCode()) - .type(getType()) - .message(getMessage()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelFile.java index fd8b9086791..edc4ff9f21e 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -56,8 +56,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { @@ -109,58 +108,57 @@ public class ModelFile { } public static class Builder { - - private ModelFile instance; - - public Builder() { - this(new ModelFile()); - } - - protected Builder(ModelFile instance) { - this.instance = instance; - } - - public ModelFile.Builder sourceURI(String sourceURI) { - this.instance.sourceURI = sourceURI; - return this; - } - - - /** - * returns a built ModelFile instance. - * - * The builder is not reusable. - */ - public ModelFile build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ModelFile instance; + + public Builder() { + this(new ModelFile()); + } + + protected Builder(ModelFile instance) { + this.instance = instance; + } + + public ModelFile.Builder sourceURI(String sourceURI) { + this.instance.sourceURI = sourceURI; + return this; + } + + + /** + * returns a built ModelFile instance. + * + * The builder is not reusable. + */ + public ModelFile build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ModelFile.Builder builder() { + return new ModelFile.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ModelFile.Builder toBuilder() { + return new ModelFile.Builder() + .sourceURI(getSourceURI()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ModelFile.Builder builder() { - return new ModelFile.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ModelFile.Builder toBuilder() { - return new ModelFile.Builder() - .sourceURI(getSourceURI()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelList.java index 7168306a424..26c163e45f5 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -56,8 +56,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { @@ -109,58 +108,57 @@ public class ModelList { } public static class Builder { - - private ModelList instance; - - public Builder() { - this(new ModelList()); - } - - protected Builder(ModelList instance) { - this.instance = instance; - } - - public ModelList.Builder _123list(String _123list) { - this.instance._123list = _123list; - return this; - } - - - /** - * returns a built ModelList instance. - * - * The builder is not reusable. - */ - public ModelList build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ModelList instance; + + public Builder() { + this(new ModelList()); + } + + protected Builder(ModelList instance) { + this.instance = instance; + } + + public ModelList.Builder _123list(String _123list) { + this.instance._123list = _123list; + return this; + } + + + /** + * returns a built ModelList instance. + * + * The builder is not reusable. + */ + public ModelList build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ModelList.Builder builder() { + return new ModelList.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ModelList.Builder toBuilder() { + return new ModelList.Builder() + ._123list(get123list()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ModelList.Builder builder() { - return new ModelList.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ModelList.Builder toBuilder() { - return new ModelList.Builder() - ._123list(get123list()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelReturn.java index e945d4da428..d6717d4264f 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -56,8 +56,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { @@ -109,58 +108,57 @@ public class ModelReturn { } public static class Builder { - - private ModelReturn instance; - - public Builder() { - this(new ModelReturn()); - } - - protected Builder(ModelReturn instance) { - this.instance = instance; - } - - public ModelReturn.Builder _return(Integer _return) { - this.instance._return = _return; - return this; - } - - - /** - * returns a built ModelReturn instance. - * - * The builder is not reusable. - */ - public ModelReturn build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ModelReturn instance; + + public Builder() { + this(new ModelReturn()); + } + + protected Builder(ModelReturn instance) { + this.instance = instance; + } + + public ModelReturn.Builder _return(Integer _return) { + this.instance._return = _return; + return this; + } + + + /** + * returns a built ModelReturn instance. + * + * The builder is not reusable. + */ + public ModelReturn build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ModelReturn.Builder builder() { + return new ModelReturn.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ModelReturn.Builder toBuilder() { + return new ModelReturn.Builder() + ._return(getReturn()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ModelReturn.Builder builder() { - return new ModelReturn.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ModelReturn.Builder toBuilder() { - return new ModelReturn.Builder() - ._return(getReturn()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java index 727f8d366eb..c16056f889c 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -85,8 +82,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -104,8 +100,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -124,8 +119,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -143,8 +137,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { @@ -197,73 +190,72 @@ public class Name { } public static class Builder { - - private Name instance; - - public Builder() { - this(new Name()); - } - - protected Builder(Name instance) { - this.instance = instance; - } - - public Name.Builder name(Integer name) { - this.instance.name = name; - return this; - } - public Name.Builder snakeCase(Integer snakeCase) { - this.instance.snakeCase = snakeCase; - return this; - } - public Name.Builder property(String property) { - this.instance.property = property; - return this; - } - public Name.Builder _123number(Integer _123number) { - this.instance._123number = _123number; - return this; - } - - - /** - * returns a built Name instance. - * - * The builder is not reusable. - */ - public Name build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Name instance; + + public Builder() { + this(new Name()); + } + + protected Builder(Name instance) { + this.instance = instance; + } + + public Name.Builder name(Integer name) { + this.instance.name = name; + return this; + } + public Name.Builder snakeCase(Integer snakeCase) { + this.instance.snakeCase = snakeCase; + return this; + } + public Name.Builder property(String property) { + this.instance.property = property; + return this; + } + public Name.Builder _123number(Integer _123number) { + this.instance._123number = _123number; + return this; + } + + + /** + * returns a built Name instance. + * + * The builder is not reusable. + */ + public Name build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Name.Builder builder() { + return new Name.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Name.Builder toBuilder() { + return new Name.Builder() + .name(getName()) + .snakeCase(getSnakeCase()) + .property(getProperty()) + ._123number(get123number()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Name.Builder builder() { - return new Name.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Name.Builder toBuilder() { - return new Name.Builder() - .name(getName()) - .snakeCase(getSnakeCase()) - .property(getProperty()) - ._123number(get123number()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NullableClass.java index db322081dc9..8f7b1f7c35f 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable; + @javax.annotation.Nullable private List arrayItemsNullable; public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable; + @javax.annotation.Nullable private Map objectItemsNullable; public NullableClass() { @@ -135,8 +124,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -144,7 +132,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -168,8 +155,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -177,7 +163,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -201,8 +186,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -210,7 +194,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -234,8 +217,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -243,7 +225,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -267,8 +248,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -276,7 +256,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -300,8 +279,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -309,7 +287,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -345,8 +322,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -354,7 +330,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -390,8 +365,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -399,7 +373,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -431,8 +404,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -468,8 +440,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -477,7 +448,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -513,8 +483,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -522,7 +491,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -554,8 +522,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { @@ -642,153 +609,152 @@ public class NullableClass extends HashMap { } public static class Builder { - - private NullableClass instance; - - public Builder() { - this(new NullableClass()); - } - - protected Builder(NullableClass instance) { - this.instance = instance; - } - - public NullableClass.Builder integerProp(Integer integerProp) { - this.instance.integerProp = JsonNullable.of(integerProp); - return this; - } - public NullableClass.Builder integerProp(JsonNullable integerProp) { - this.instance.integerProp = integerProp; - return this; - } - public NullableClass.Builder numberProp(BigDecimal numberProp) { - this.instance.numberProp = JsonNullable.of(numberProp); - return this; - } - public NullableClass.Builder numberProp(JsonNullable numberProp) { - this.instance.numberProp = numberProp; - return this; - } - public NullableClass.Builder booleanProp(Boolean booleanProp) { - this.instance.booleanProp = JsonNullable.of(booleanProp); - return this; - } - public NullableClass.Builder booleanProp(JsonNullable booleanProp) { - this.instance.booleanProp = booleanProp; - return this; - } - public NullableClass.Builder stringProp(String stringProp) { - this.instance.stringProp = JsonNullable.of(stringProp); - return this; - } - public NullableClass.Builder stringProp(JsonNullable stringProp) { - this.instance.stringProp = stringProp; - return this; - } - public NullableClass.Builder dateProp(LocalDate dateProp) { - this.instance.dateProp = JsonNullable.of(dateProp); - return this; - } - public NullableClass.Builder dateProp(JsonNullable dateProp) { - this.instance.dateProp = dateProp; - return this; - } - public NullableClass.Builder datetimeProp(OffsetDateTime datetimeProp) { - this.instance.datetimeProp = JsonNullable.of(datetimeProp); - return this; - } - public NullableClass.Builder datetimeProp(JsonNullable datetimeProp) { - this.instance.datetimeProp = datetimeProp; - return this; - } - public NullableClass.Builder arrayNullableProp(List arrayNullableProp) { - this.instance.arrayNullableProp = JsonNullable.>of(arrayNullableProp); - return this; - } - public NullableClass.Builder arrayNullableProp(JsonNullable> arrayNullableProp) { - this.instance.arrayNullableProp = arrayNullableProp; - return this; - } - public NullableClass.Builder arrayAndItemsNullableProp(List arrayAndItemsNullableProp) { - this.instance.arrayAndItemsNullableProp = JsonNullable.>of(arrayAndItemsNullableProp); - return this; - } - public NullableClass.Builder arrayAndItemsNullableProp(JsonNullable> arrayAndItemsNullableProp) { - this.instance.arrayAndItemsNullableProp = arrayAndItemsNullableProp; - return this; - } - public NullableClass.Builder arrayItemsNullable(List arrayItemsNullable) { - this.instance.arrayItemsNullable = arrayItemsNullable; - return this; - } - public NullableClass.Builder objectNullableProp(Map objectNullableProp) { - this.instance.objectNullableProp = JsonNullable.>of(objectNullableProp); - return this; - } - public NullableClass.Builder objectNullableProp(JsonNullable> objectNullableProp) { - this.instance.objectNullableProp = objectNullableProp; - return this; - } - public NullableClass.Builder objectAndItemsNullableProp(Map objectAndItemsNullableProp) { - this.instance.objectAndItemsNullableProp = JsonNullable.>of(objectAndItemsNullableProp); - return this; - } - public NullableClass.Builder objectAndItemsNullableProp(JsonNullable> objectAndItemsNullableProp) { - this.instance.objectAndItemsNullableProp = objectAndItemsNullableProp; - return this; - } - public NullableClass.Builder objectItemsNullable(Map objectItemsNullable) { - this.instance.objectItemsNullable = objectItemsNullable; - return this; - } - - - /** - * returns a built NullableClass instance. - * - * The builder is not reusable. - */ - public NullableClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private NullableClass instance; + + public Builder() { + this(new NullableClass()); + } + + protected Builder(NullableClass instance) { + this.instance = instance; + } + + public NullableClass.Builder integerProp(Integer integerProp) { + this.instance.integerProp = JsonNullable.of(integerProp); + return this; + } + public NullableClass.Builder integerProp(JsonNullable integerProp) { + this.instance.integerProp = integerProp; + return this; + } + public NullableClass.Builder numberProp(BigDecimal numberProp) { + this.instance.numberProp = JsonNullable.of(numberProp); + return this; + } + public NullableClass.Builder numberProp(JsonNullable numberProp) { + this.instance.numberProp = numberProp; + return this; + } + public NullableClass.Builder booleanProp(Boolean booleanProp) { + this.instance.booleanProp = JsonNullable.of(booleanProp); + return this; + } + public NullableClass.Builder booleanProp(JsonNullable booleanProp) { + this.instance.booleanProp = booleanProp; + return this; + } + public NullableClass.Builder stringProp(String stringProp) { + this.instance.stringProp = JsonNullable.of(stringProp); + return this; + } + public NullableClass.Builder stringProp(JsonNullable stringProp) { + this.instance.stringProp = stringProp; + return this; + } + public NullableClass.Builder dateProp(LocalDate dateProp) { + this.instance.dateProp = JsonNullable.of(dateProp); + return this; + } + public NullableClass.Builder dateProp(JsonNullable dateProp) { + this.instance.dateProp = dateProp; + return this; + } + public NullableClass.Builder datetimeProp(OffsetDateTime datetimeProp) { + this.instance.datetimeProp = JsonNullable.of(datetimeProp); + return this; + } + public NullableClass.Builder datetimeProp(JsonNullable datetimeProp) { + this.instance.datetimeProp = datetimeProp; + return this; + } + public NullableClass.Builder arrayNullableProp(List arrayNullableProp) { + this.instance.arrayNullableProp = JsonNullable.>of(arrayNullableProp); + return this; + } + public NullableClass.Builder arrayNullableProp(JsonNullable> arrayNullableProp) { + this.instance.arrayNullableProp = arrayNullableProp; + return this; + } + public NullableClass.Builder arrayAndItemsNullableProp(List arrayAndItemsNullableProp) { + this.instance.arrayAndItemsNullableProp = JsonNullable.>of(arrayAndItemsNullableProp); + return this; + } + public NullableClass.Builder arrayAndItemsNullableProp(JsonNullable> arrayAndItemsNullableProp) { + this.instance.arrayAndItemsNullableProp = arrayAndItemsNullableProp; + return this; + } + public NullableClass.Builder arrayItemsNullable(List arrayItemsNullable) { + this.instance.arrayItemsNullable = arrayItemsNullable; + return this; + } + public NullableClass.Builder objectNullableProp(Map objectNullableProp) { + this.instance.objectNullableProp = JsonNullable.>of(objectNullableProp); + return this; + } + public NullableClass.Builder objectNullableProp(JsonNullable> objectNullableProp) { + this.instance.objectNullableProp = objectNullableProp; + return this; + } + public NullableClass.Builder objectAndItemsNullableProp(Map objectAndItemsNullableProp) { + this.instance.objectAndItemsNullableProp = JsonNullable.>of(objectAndItemsNullableProp); + return this; + } + public NullableClass.Builder objectAndItemsNullableProp(JsonNullable> objectAndItemsNullableProp) { + this.instance.objectAndItemsNullableProp = objectAndItemsNullableProp; + return this; + } + public NullableClass.Builder objectItemsNullable(Map objectItemsNullable) { + this.instance.objectItemsNullable = objectItemsNullable; + return this; + } + + + /** + * returns a built NullableClass instance. + * + * The builder is not reusable. + */ + public NullableClass build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static NullableClass.Builder builder() { + return new NullableClass.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public NullableClass.Builder toBuilder() { + return new NullableClass.Builder() + .integerProp(getIntegerProp()) + .numberProp(getNumberProp()) + .booleanProp(getBooleanProp()) + .stringProp(getStringProp()) + .dateProp(getDateProp()) + .datetimeProp(getDatetimeProp()) + .arrayNullableProp(getArrayNullableProp()) + .arrayAndItemsNullableProp(getArrayAndItemsNullableProp()) + .arrayItemsNullable(getArrayItemsNullable()) + .objectNullableProp(getObjectNullableProp()) + .objectAndItemsNullableProp(getObjectAndItemsNullableProp()) + .objectItemsNullable(getObjectItemsNullable()); } - } - - /** - * Create a builder with no initialized field. - */ - public static NullableClass.Builder builder() { - return new NullableClass.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public NullableClass.Builder toBuilder() { - return new NullableClass.Builder() - .integerProp(getIntegerProp()) - .numberProp(getNumberProp()) - .booleanProp(getBooleanProp()) - .stringProp(getStringProp()) - .dateProp(getDateProp()) - .datetimeProp(getDatetimeProp()) - .arrayNullableProp(getArrayNullableProp()) - .arrayAndItemsNullableProp(getArrayAndItemsNullableProp()) - .arrayItemsNullable(getArrayItemsNullable()) - .objectNullableProp(getObjectNullableProp()) - .objectAndItemsNullableProp(getObjectAndItemsNullableProp()) - .objectItemsNullable(getObjectItemsNullable()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NumberOnly.java index 411417ab236..08b82a32514 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -56,8 +56,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { @@ -109,58 +108,57 @@ public class NumberOnly { } public static class Builder { - - private NumberOnly instance; - - public Builder() { - this(new NumberOnly()); - } - - protected Builder(NumberOnly instance) { - this.instance = instance; - } - - public NumberOnly.Builder justNumber(BigDecimal justNumber) { - this.instance.justNumber = justNumber; - return this; - } - - - /** - * returns a built NumberOnly instance. - * - * The builder is not reusable. - */ - public NumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private NumberOnly instance; + + public Builder() { + this(new NumberOnly()); + } + + protected Builder(NumberOnly instance) { + this.instance = instance; + } + + public NumberOnly.Builder justNumber(BigDecimal justNumber) { + this.instance.justNumber = justNumber; + return this; + } + + + /** + * returns a built NumberOnly instance. + * + * The builder is not reusable. + */ + public NumberOnly build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static NumberOnly.Builder builder() { + return new NumberOnly.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public NumberOnly.Builder toBuilder() { + return new NumberOnly.Builder() + .justNumber(getJustNumber()); } - } - - /** - * Create a builder with no initialized field. - */ - public static NumberOnly.Builder builder() { - return new NumberOnly.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public NumberOnly.Builder toBuilder() { - return new NumberOnly.Builder() - .justNumber(getJustNumber()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index e37535a862f..e8a372b99a6 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars; + @javax.annotation.Nullable private List bars; public ObjectWithDeprecatedFields() { } @@ -78,8 +75,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -105,8 +101,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -132,8 +127,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -167,8 +161,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { @@ -226,73 +219,72 @@ public class ObjectWithDeprecatedFields { } public static class Builder { - - private ObjectWithDeprecatedFields instance; - - public Builder() { - this(new ObjectWithDeprecatedFields()); - } - - protected Builder(ObjectWithDeprecatedFields instance) { - this.instance = instance; - } - - public ObjectWithDeprecatedFields.Builder uuid(String uuid) { - this.instance.uuid = uuid; - return this; - } - public ObjectWithDeprecatedFields.Builder id(BigDecimal id) { - this.instance.id = id; - return this; - } - public ObjectWithDeprecatedFields.Builder deprecatedRef(DeprecatedObject deprecatedRef) { - this.instance.deprecatedRef = deprecatedRef; - return this; - } - public ObjectWithDeprecatedFields.Builder bars(List bars) { - this.instance.bars = bars; - return this; - } - - - /** - * returns a built ObjectWithDeprecatedFields instance. - * - * The builder is not reusable. - */ - public ObjectWithDeprecatedFields build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ObjectWithDeprecatedFields instance; + + public Builder() { + this(new ObjectWithDeprecatedFields()); + } + + protected Builder(ObjectWithDeprecatedFields instance) { + this.instance = instance; + } + + public ObjectWithDeprecatedFields.Builder uuid(String uuid) { + this.instance.uuid = uuid; + return this; + } + public ObjectWithDeprecatedFields.Builder id(BigDecimal id) { + this.instance.id = id; + return this; + } + public ObjectWithDeprecatedFields.Builder deprecatedRef(DeprecatedObject deprecatedRef) { + this.instance.deprecatedRef = deprecatedRef; + return this; + } + public ObjectWithDeprecatedFields.Builder bars(List bars) { + this.instance.bars = bars; + return this; + } + + + /** + * returns a built ObjectWithDeprecatedFields instance. + * + * The builder is not reusable. + */ + public ObjectWithDeprecatedFields build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ObjectWithDeprecatedFields.Builder builder() { + return new ObjectWithDeprecatedFields.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ObjectWithDeprecatedFields.Builder toBuilder() { + return new ObjectWithDeprecatedFields.Builder() + .uuid(getUuid()) + .id(getId()) + .deprecatedRef(getDeprecatedRef()) + .bars(getBars()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ObjectWithDeprecatedFields.Builder builder() { - return new ObjectWithDeprecatedFields.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ObjectWithDeprecatedFields.Builder toBuilder() { - return new ObjectWithDeprecatedFields.Builder() - .uuid(getUuid()) - .id(getId()) - .deprecatedRef(getDeprecatedRef()) - .bars(getBars()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Order.java index 90a58922099..26646154df3 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -123,8 +117,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -148,8 +141,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -173,8 +165,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -198,8 +189,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -223,8 +213,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -248,8 +237,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { @@ -311,83 +299,82 @@ public class Order { } public static class Builder { - - private Order instance; - - public Builder() { - this(new Order()); - } - - protected Builder(Order instance) { - this.instance = instance; - } - - public Order.Builder id(Long id) { - this.instance.id = id; - return this; - } - public Order.Builder petId(Long petId) { - this.instance.petId = petId; - return this; - } - public Order.Builder quantity(Integer quantity) { - this.instance.quantity = quantity; - return this; - } - public Order.Builder shipDate(OffsetDateTime shipDate) { - this.instance.shipDate = shipDate; - return this; - } - public Order.Builder status(StatusEnum status) { - this.instance.status = status; - return this; - } - public Order.Builder complete(Boolean complete) { - this.instance.complete = complete; - return this; - } - - - /** - * returns a built Order instance. - * - * The builder is not reusable. - */ - public Order build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Order instance; + + public Builder() { + this(new Order()); + } + + protected Builder(Order instance) { + this.instance = instance; + } + + public Order.Builder id(Long id) { + this.instance.id = id; + return this; + } + public Order.Builder petId(Long petId) { + this.instance.petId = petId; + return this; + } + public Order.Builder quantity(Integer quantity) { + this.instance.quantity = quantity; + return this; + } + public Order.Builder shipDate(OffsetDateTime shipDate) { + this.instance.shipDate = shipDate; + return this; + } + public Order.Builder status(StatusEnum status) { + this.instance.status = status; + return this; + } + public Order.Builder complete(Boolean complete) { + this.instance.complete = complete; + return this; + } + + + /** + * returns a built Order instance. + * + * The builder is not reusable. + */ + public Order build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Order.Builder builder() { + return new Order.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Order.Builder toBuilder() { + return new Order.Builder() + .id(getId()) + .petId(getPetId()) + .quantity(getQuantity()) + .shipDate(getShipDate()) + .status(getStatus()) + .complete(getComplete()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Order.Builder builder() { - return new Order.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Order.Builder toBuilder() { - return new Order.Builder() - .id(getId()) - .petId(getPetId()) - .quantity(getQuantity()) - .shipDate(getShipDate()) - .status(getStatus()) - .complete(getComplete()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterComposite.java index 6318e7e93e4..faec8d0d530 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -68,8 +66,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -93,8 +90,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -118,8 +114,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { @@ -175,68 +170,67 @@ public class OuterComposite { } public static class Builder { - - private OuterComposite instance; - - public Builder() { - this(new OuterComposite()); - } - - protected Builder(OuterComposite instance) { - this.instance = instance; - } - - public OuterComposite.Builder myNumber(BigDecimal myNumber) { - this.instance.myNumber = myNumber; - return this; - } - public OuterComposite.Builder myString(String myString) { - this.instance.myString = myString; - return this; - } - public OuterComposite.Builder myBoolean(Boolean myBoolean) { - this.instance.myBoolean = myBoolean; - return this; - } - - - /** - * returns a built OuterComposite instance. - * - * The builder is not reusable. - */ - public OuterComposite build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private OuterComposite instance; + + public Builder() { + this(new OuterComposite()); + } + + protected Builder(OuterComposite instance) { + this.instance = instance; + } + + public OuterComposite.Builder myNumber(BigDecimal myNumber) { + this.instance.myNumber = myNumber; + return this; + } + public OuterComposite.Builder myString(String myString) { + this.instance.myString = myString; + return this; + } + public OuterComposite.Builder myBoolean(Boolean myBoolean) { + this.instance.myBoolean = myBoolean; + return this; + } + + + /** + * returns a built OuterComposite instance. + * + * The builder is not reusable. + */ + public OuterComposite build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static OuterComposite.Builder builder() { + return new OuterComposite.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public OuterComposite.Builder toBuilder() { + return new OuterComposite.Builder() + .myNumber(getMyNumber()) + .myString(getMyString()) + .myBoolean(getMyBoolean()); } - } - - /** - * Create a builder with no initialized field. - */ - public static OuterComposite.Builder builder() { - return new OuterComposite.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public OuterComposite.Builder toBuilder() { - return new OuterComposite.Builder() - .myNumber(getMyNumber()) - .myString(getMyString()) - .myBoolean(getMyBoolean()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index d9636453010..ad8140bf369 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -56,8 +56,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { @@ -109,58 +108,57 @@ public class OuterObjectWithEnumProperty { } public static class Builder { - - private OuterObjectWithEnumProperty instance; - - public Builder() { - this(new OuterObjectWithEnumProperty()); - } - - protected Builder(OuterObjectWithEnumProperty instance) { - this.instance = instance; - } - - public OuterObjectWithEnumProperty.Builder value(OuterEnumInteger value) { - this.instance.value = value; - return this; - } - - - /** - * returns a built OuterObjectWithEnumProperty instance. - * - * The builder is not reusable. - */ - public OuterObjectWithEnumProperty build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private OuterObjectWithEnumProperty instance; + + public Builder() { + this(new OuterObjectWithEnumProperty()); + } + + protected Builder(OuterObjectWithEnumProperty instance) { + this.instance = instance; + } + + public OuterObjectWithEnumProperty.Builder value(OuterEnumInteger value) { + this.instance.value = value; + return this; + } + + + /** + * returns a built OuterObjectWithEnumProperty instance. + * + * The builder is not reusable. + */ + public OuterObjectWithEnumProperty build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static OuterObjectWithEnumProperty.Builder builder() { + return new OuterObjectWithEnumProperty.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public OuterObjectWithEnumProperty.Builder toBuilder() { + return new OuterObjectWithEnumProperty.Builder() + .value(getValue()); } - } - - /** - * Create a builder with no initialized field. - */ - public static OuterObjectWithEnumProperty.Builder builder() { - return new OuterObjectWithEnumProperty.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public OuterObjectWithEnumProperty.Builder toBuilder() { - return new OuterObjectWithEnumProperty.Builder() - .value(getValue()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ParentWithNullable.java index db3e690abb9..ca5cb75c3da 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -110,8 +108,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -135,8 +132,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -144,7 +140,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } @@ -209,67 +204,66 @@ public class ParentWithNullable { } public static class Builder { - - private ParentWithNullable instance; - - public Builder() { - this(new ParentWithNullable()); - } - - protected Builder(ParentWithNullable instance) { - this.instance = instance; - } - - public ParentWithNullable.Builder type(TypeEnum type) { - this.instance.type = type; - return this; - } - public ParentWithNullable.Builder nullableProperty(String nullableProperty) { - this.instance.nullableProperty = JsonNullable.of(nullableProperty); - return this; - } - public ParentWithNullable.Builder nullableProperty(JsonNullable nullableProperty) { - this.instance.nullableProperty = nullableProperty; - return this; - } - - - /** - * returns a built ParentWithNullable instance. - * - * The builder is not reusable. - */ - public ParentWithNullable build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ParentWithNullable instance; + + public Builder() { + this(new ParentWithNullable()); + } + + protected Builder(ParentWithNullable instance) { + this.instance = instance; + } + + public ParentWithNullable.Builder type(TypeEnum type) { + this.instance.type = type; + return this; + } + public ParentWithNullable.Builder nullableProperty(String nullableProperty) { + this.instance.nullableProperty = JsonNullable.of(nullableProperty); + return this; + } + public ParentWithNullable.Builder nullableProperty(JsonNullable nullableProperty) { + this.instance.nullableProperty = nullableProperty; + return this; + } + + + /** + * returns a built ParentWithNullable instance. + * + * The builder is not reusable. + */ + public ParentWithNullable build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ParentWithNullable.Builder builder() { + return new ParentWithNullable.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ParentWithNullable.Builder toBuilder() { + return new ParentWithNullable.Builder() + .type(getType()) + .nullableProperty(getNullableProperty()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ParentWithNullable.Builder builder() { - return new ParentWithNullable.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ParentWithNullable.Builder toBuilder() { - return new ParentWithNullable.Builder() - .type(getType()) - .nullableProperty(getNullableProperty()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java index f49ee675ca4..945966242f2 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls; + @javax.annotation.Nonnull private Set photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags; + @javax.annotation.Nullable private List tags; /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -130,8 +124,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -155,8 +148,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -180,8 +172,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -213,8 +204,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -247,8 +237,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -272,8 +261,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -335,83 +323,82 @@ public class Pet { } public static class Builder { - - private Pet instance; - - public Builder() { - this(new Pet()); - } - - protected Builder(Pet instance) { - this.instance = instance; - } - - public Pet.Builder id(Long id) { - this.instance.id = id; - return this; - } - public Pet.Builder category(Category category) { - this.instance.category = category; - return this; - } - public Pet.Builder name(String name) { - this.instance.name = name; - return this; - } - public Pet.Builder photoUrls(Set photoUrls) { - this.instance.photoUrls = photoUrls; - return this; - } - public Pet.Builder tags(List tags) { - this.instance.tags = tags; - return this; - } - public Pet.Builder status(StatusEnum status) { - this.instance.status = status; - return this; - } - - - /** - * returns a built Pet instance. - * - * The builder is not reusable. - */ - public Pet build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Pet instance; + + public Builder() { + this(new Pet()); + } + + protected Builder(Pet instance) { + this.instance = instance; + } + + public Pet.Builder id(Long id) { + this.instance.id = id; + return this; + } + public Pet.Builder category(Category category) { + this.instance.category = category; + return this; + } + public Pet.Builder name(String name) { + this.instance.name = name; + return this; + } + public Pet.Builder photoUrls(Set photoUrls) { + this.instance.photoUrls = photoUrls; + return this; + } + public Pet.Builder tags(List tags) { + this.instance.tags = tags; + return this; + } + public Pet.Builder status(StatusEnum status) { + this.instance.status = status; + return this; + } + + + /** + * returns a built Pet instance. + * + * The builder is not reusable. + */ + public Pet build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Pet.Builder builder() { + return new Pet.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Pet.Builder toBuilder() { + return new Pet.Builder() + .id(getId()) + .category(getCategory()) + .name(getName()) + .photoUrls(getPhotoUrls()) + .tags(getTags()) + .status(getStatus()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Pet.Builder builder() { - return new Pet.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Pet.Builder toBuilder() { - return new Pet.Builder() - .id(getId()) - .category(getCategory()) - .name(getName()) - .photoUrls(getPhotoUrls()) - .tags(getTags()) - .status(getStatus()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 15f85b1643f..96826b34cc2 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -65,8 +64,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -85,8 +83,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { @@ -140,63 +137,62 @@ public class ReadOnlyFirst { } public static class Builder { - - private ReadOnlyFirst instance; - - public Builder() { - this(new ReadOnlyFirst()); - } - - protected Builder(ReadOnlyFirst instance) { - this.instance = instance; - } - - public ReadOnlyFirst.Builder bar(String bar) { - this.instance.bar = bar; - return this; - } - public ReadOnlyFirst.Builder baz(String baz) { - this.instance.baz = baz; - return this; - } - - - /** - * returns a built ReadOnlyFirst instance. - * - * The builder is not reusable. - */ - public ReadOnlyFirst build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ReadOnlyFirst instance; + + public Builder() { + this(new ReadOnlyFirst()); + } + + protected Builder(ReadOnlyFirst instance) { + this.instance = instance; + } + + public ReadOnlyFirst.Builder bar(String bar) { + this.instance.bar = bar; + return this; + } + public ReadOnlyFirst.Builder baz(String baz) { + this.instance.baz = baz; + return this; + } + + + /** + * returns a built ReadOnlyFirst instance. + * + * The builder is not reusable. + */ + public ReadOnlyFirst build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static ReadOnlyFirst.Builder builder() { + return new ReadOnlyFirst.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ReadOnlyFirst.Builder toBuilder() { + return new ReadOnlyFirst.Builder() + .bar(getBar()) + .baz(getBaz()); } - } - - /** - * Create a builder with no initialized field. - */ - public static ReadOnlyFirst.Builder builder() { - return new ReadOnlyFirst.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ReadOnlyFirst.Builder toBuilder() { - return new ReadOnlyFirst.Builder() - .bar(getBar()) - .baz(getBaz()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/SpecialModelName.java index 0019d96d484..8c2faeda8fd 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -56,8 +56,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { @@ -109,58 +108,57 @@ public class SpecialModelName { } public static class Builder { - - private SpecialModelName instance; - - public Builder() { - this(new SpecialModelName()); - } - - protected Builder(SpecialModelName instance) { - this.instance = instance; - } - - public SpecialModelName.Builder $specialPropertyName(Long $specialPropertyName) { - this.instance.$specialPropertyName = $specialPropertyName; - return this; - } - - - /** - * returns a built SpecialModelName instance. - * - * The builder is not reusable. - */ - public SpecialModelName build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private SpecialModelName instance; + + public Builder() { + this(new SpecialModelName()); + } + + protected Builder(SpecialModelName instance) { + this.instance = instance; + } + + public SpecialModelName.Builder $specialPropertyName(Long $specialPropertyName) { + this.instance.$specialPropertyName = $specialPropertyName; + return this; + } + + + /** + * returns a built SpecialModelName instance. + * + * The builder is not reusable. + */ + public SpecialModelName build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static SpecialModelName.Builder builder() { + return new SpecialModelName.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public SpecialModelName.Builder toBuilder() { + return new SpecialModelName.Builder() + .$specialPropertyName(get$SpecialPropertyName()); } - } - - /** - * Create a builder with no initialized field. - */ - public static SpecialModelName.Builder builder() { - return new SpecialModelName.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public SpecialModelName.Builder toBuilder() { - return new SpecialModelName.Builder() - .$specialPropertyName(get$SpecialPropertyName()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java index 2c2ad180eae..126d920c2bb 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -61,8 +60,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -86,8 +84,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { @@ -141,63 +138,62 @@ public class Tag { } public static class Builder { - - private Tag instance; - - public Builder() { - this(new Tag()); - } - - protected Builder(Tag instance) { - this.instance = instance; - } - - public Tag.Builder id(Long id) { - this.instance.id = id; - return this; - } - public Tag.Builder name(String name) { - this.instance.name = name; - return this; - } - - - /** - * returns a built Tag instance. - * - * The builder is not reusable. - */ - public Tag build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Tag instance; + + public Builder() { + this(new Tag()); + } + + protected Builder(Tag instance) { + this.instance = instance; + } + + public Tag.Builder id(Long id) { + this.instance.id = id; + return this; + } + public Tag.Builder name(String name) { + this.instance.name = name; + return this; + } + + + /** + * returns a built Tag instance. + * + * The builder is not reusable. + */ + public Tag build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; } } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with no initialized field. + */ + public static Tag.Builder builder() { + return new Tag.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Tag.Builder toBuilder() { + return new Tag.Builder() + .id(getId()) + .name(getName()); } - } - - /** - * Create a builder with no initialized field. - */ - public static Tag.Builder builder() { - return new Tag.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Tag.Builder toBuilder() { - return new Tag.Builder() - .id(getId()) - .name(getName()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index f1ead98c6cd..b1005ecc0de 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -60,8 +60,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -53,9 +53,7 @@ public class AdditionalPropertiesAnyType extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 87f94a2a5eb..1bba8604d4a 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -35,10 +35,10 @@ import jakarta.validation.Valid; AdditionalPropertiesArray.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesArray extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 38ce50595dd..919fdd93217 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -34,10 +34,10 @@ import jakarta.validation.Valid; AdditionalPropertiesBoolean.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -53,9 +53,7 @@ public class AdditionalPropertiesBoolean extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index f20e91f8baf..b228c01367b 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -46,50 +46,40 @@ import jakarta.validation.Valid; AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE3 }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_STRING = "map_string"; - @jakarta.annotation.Nullable - private Map mapString = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_NUMBER = "map_number"; - @jakarta.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String JSON_PROPERTY_MAP_INTEGER = "map_integer"; - @jakarta.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_BOOLEAN = "map_boolean"; - @jakarta.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_INTEGER = "map_array_integer"; - @jakarta.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_ANYTYPE = "map_array_anytype"; - @jakarta.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_STRING = "map_map_string"; - @jakarta.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_ANYTYPE = "map_map_anytype"; - @jakarta.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; - @jakarta.annotation.Nullable - private Object anytype1; + @jakarta.annotation.Nullable private Object anytype1; public static final String JSON_PROPERTY_ANYTYPE2 = "anytype_2"; - @jakarta.annotation.Nullable - private Object anytype2; + @jakarta.annotation.Nullable private Object anytype2; public static final String JSON_PROPERTY_ANYTYPE3 = "anytype_3"; - @jakarta.annotation.Nullable - private Object anytype3; + @jakarta.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -112,9 +102,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapString() { @@ -146,9 +134,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -181,9 +167,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapInteger() { @@ -215,9 +199,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapBoolean() { @@ -249,9 +231,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -284,9 +264,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -319,9 +297,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -354,9 +330,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -381,9 +355,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE1) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype1() { @@ -407,9 +379,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE2) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype2() { @@ -433,9 +403,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ANYTYPE3) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype3() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 8673916d40c..29507eec3cf 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -34,10 +34,10 @@ import jakarta.validation.Valid; AdditionalPropertiesInteger.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -53,9 +53,7 @@ public class AdditionalPropertiesInteger extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 3b879e80636..f2ea24acba8 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -35,10 +35,10 @@ import jakarta.validation.Valid; AdditionalPropertiesNumber.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -54,9 +54,7 @@ public class AdditionalPropertiesNumber extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index ed6f748f7e1..c905744f955 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -34,10 +34,10 @@ import jakarta.validation.Valid; AdditionalPropertiesObject.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -53,9 +53,7 @@ public class AdditionalPropertiesObject extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index ee0a5bc3c00..59c3d607bd2 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -34,10 +34,10 @@ import jakarta.validation.Valid; AdditionalPropertiesString.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -53,9 +53,7 @@ public class AdditionalPropertiesString extends HashMap { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java index 72d13d6b579..79cda820989 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java @@ -36,6 +36,7 @@ import jakarta.validation.Valid; Animal.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -49,12 +50,10 @@ import jakarta.validation.Valid; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @jakarta.annotation.Nonnull - protected String className; + @jakarta.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - protected String color = "red"; + @jakarta.annotation.Nullable protected String color = "red"; public Animal() { } @@ -69,9 +68,7 @@ public class Animal { * Get className * @return className */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,9 +93,7 @@ public class Animal { * Get color * @return color */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 05021eb5a6e..f056eb8767b 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -36,10 +36,10 @@ import jakarta.validation.Valid; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @jakarta.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -62,9 +62,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 89758b2cb4d..6fa22db779c 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -36,10 +36,10 @@ import jakarta.validation.Valid; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @jakarta.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -62,9 +62,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayTest.java index 434fc737672..cfd80000a69 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -38,18 +38,16 @@ import jakarta.validation.Valid; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @jakarta.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @jakarta.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @jakarta.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -72,9 +70,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -106,9 +102,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -141,9 +135,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/BigCat.java index 7b95129fc73..dacd258632b 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/BigCat.java @@ -36,6 +36,7 @@ import jakarta.validation.Valid; BigCat.JSON_PROPERTY_KIND }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -81,10 +82,8 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; - @jakarta.annotation.Nullable - private KindEnum kind; + @jakarta.annotation.Nullable private KindEnum kind; public BigCat() { @@ -100,9 +99,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_KIND) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public KindEnum getKind() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Capitalization.java index ebe7fd596ea..00f5c7c92bf 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Capitalization.java @@ -37,30 +37,25 @@ import jakarta.validation.Valid; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @jakarta.annotation.Nullable - private String smallCamel; + @jakarta.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @jakarta.annotation.Nullable - private String capitalCamel; + @jakarta.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @jakarta.annotation.Nullable - private String smallSnake; + @jakarta.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @jakarta.annotation.Nullable - private String capitalSnake; + @jakarta.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @jakarta.annotation.Nullable - private String scAETHFlowPoints; + @jakarta.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @jakarta.annotation.Nullable - private String ATT_NAME; + @jakarta.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -75,9 +70,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -101,9 +94,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -127,9 +118,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -153,9 +142,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -179,9 +166,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -205,9 +190,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Cat.java index abc5716e6ee..1ff00ddf638 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Cat.java @@ -36,6 +36,7 @@ import jakarta.validation.Valid; Cat.JSON_PROPERTY_DECLAWED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,8 +48,7 @@ import jakarta.validation.Valid; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @jakarta.annotation.Nullable - protected Boolean declawed; + @jakarta.annotation.Nullable protected Boolean declawed; public Cat() { @@ -64,9 +64,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_DECLAWED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java index 10e2f02ac00..dee146beede 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java @@ -33,14 +33,13 @@ import jakarta.validation.Valid; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name = "default-name"; + @jakarta.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -55,9 +54,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -81,9 +78,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ClassModel.java index 95f5f1fd41c..c54e566fd57 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ClassModel.java @@ -32,10 +32,10 @@ import jakarta.validation.Valid; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -50,9 +50,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Client.java index 05043f2638b..3e4aae0fdfc 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Client.java @@ -32,10 +32,10 @@ import jakarta.validation.Valid; Client.JSON_PROPERTY_CLIENT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @jakarta.annotation.Nullable - private String client; + @jakarta.annotation.Nullable private String client; public Client() { } @@ -50,9 +50,7 @@ public class Client { * Get client * @return client */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CLIENT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Dog.java index 3e9f7cb920c..c51c131ff9d 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Dog.java @@ -36,6 +36,7 @@ import jakarta.validation.Valid; Dog.JSON_PROPERTY_BREED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -44,8 +45,7 @@ import jakarta.validation.Valid; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @jakarta.annotation.Nullable - private String breed; + @jakarta.annotation.Nullable private String breed; public Dog() { @@ -61,9 +61,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BREED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumArrays.java index 88a61e20cff..7b941f04505 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -36,6 +36,7 @@ import jakarta.validation.Valid; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -71,10 +72,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @jakarta.annotation.Nullable - private JustSymbolEnum justSymbol; + @jakarta.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -110,10 +109,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @jakarta.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -128,9 +125,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -162,9 +157,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java index c9a75a9569c..5213c2a87bf 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java @@ -38,6 +38,7 @@ import jakarta.validation.Valid; }) @JsonTypeName("Enum_Test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -75,10 +76,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @jakarta.annotation.Nullable - private EnumStringEnum enumString; + @jakarta.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -116,10 +115,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @jakarta.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @jakarta.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -155,10 +152,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @jakarta.annotation.Nullable - private EnumIntegerEnum enumInteger; + @jakarta.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -194,14 +189,11 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @jakarta.annotation.Nullable - private EnumNumberEnum enumNumber; + @jakarta.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @jakarta.annotation.Nullable - private OuterEnum outerEnum; + @jakarta.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -216,9 +208,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -242,9 +232,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -269,9 +257,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -295,9 +281,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -321,9 +305,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index de8cfc1ad38..c28c15d7535 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -37,14 +37,13 @@ import jakarta.validation.Valid; FileSchemaTestClass.JSON_PROPERTY_FILES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @jakarta.annotation.Nullable - private ModelFile _file; + @jakarta.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @jakarta.annotation.Nullable - private List<@Valid ModelFile> files = new ArrayList<>(); + @jakarta.annotation.Nullable private List<@Valid ModelFile> files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -59,9 +58,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -94,9 +91,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java index 2738a053228..710cd06a419 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,62 +51,49 @@ import jakarta.validation.Valid; }) @JsonTypeName("format_test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @jakarta.annotation.Nullable - private Integer integer; + @jakarta.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @jakarta.annotation.Nullable - private Integer int32; + @jakarta.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @jakarta.annotation.Nullable - private Long int64; + @jakarta.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nonnull - private BigDecimal number; + @jakarta.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private String string; + @jakarta.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @jakarta.annotation.Nonnull - private byte[] _byte; + @jakarta.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @jakarta.annotation.Nullable - private File binary; + @jakarta.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nonnull - private LocalDate date; + @jakarta.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nonnull - private String password; + @jakarta.annotation.Nonnull private String password; public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal"; - @jakarta.annotation.Nullable - private BigDecimal bigDecimal; + @jakarta.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -123,9 +110,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @jakarta.annotation.Nullable - @Min(10) @Max(100) - @JsonProperty(JSON_PROPERTY_INTEGER) + @jakarta.annotation.Nullable @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -151,9 +136,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @jakarta.annotation.Nullable - @Min(20) @Max(200) - @JsonProperty(JSON_PROPERTY_INT32) + @jakarta.annotation.Nullable @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -177,9 +160,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_INT64) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -205,11 +186,9 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @jakarta.annotation.Nonnull - @NotNull + @jakarta.annotation.Nonnull @NotNull @Valid - @DecimalMin("32.1") @DecimalMax("543.2") - @JsonProperty(JSON_PROPERTY_NUMBER) + @DecimalMin("32.1") @DecimalMax("543.2") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -235,9 +214,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @jakarta.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - @JsonProperty(JSON_PROPERTY_FLOAT) + @jakarta.annotation.Nullable @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -263,9 +240,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @jakarta.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - @JsonProperty(JSON_PROPERTY_DOUBLE) + @jakarta.annotation.Nullable @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,9 +264,7 @@ public class FormatTest { * Get string * @return string */ - @jakarta.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -315,9 +288,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -342,9 +313,7 @@ public class FormatTest { * Get binary * @return binary */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -369,10 +338,8 @@ public class FormatTest { * Get date * @return date */ - @jakarta.annotation.Nonnull - @NotNull + @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -397,9 +364,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -424,9 +389,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -451,10 +414,8 @@ public class FormatTest { * Get password * @return password */ - @jakarta.annotation.Nonnull - @NotNull - @Size(min=10,max=64) - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nonnull @NotNull + @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -478,9 +439,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 2295fda29f5..41521ffbb46 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -34,14 +34,13 @@ import jakarta.validation.Valid; }) @JsonTypeName("hasOnlyReadOnly") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @jakarta.annotation.Nullable - private String foo; + @jakarta.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -62,9 +61,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,9 +74,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_FOO) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MapTest.java index 9177c94842c..5d849f12c74 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MapTest.java @@ -37,10 +37,10 @@ import jakarta.validation.Valid; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @jakarta.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -76,18 +76,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @jakarta.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @jakarta.annotation.Nullable - private Map directMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @jakarta.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -110,9 +106,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -145,9 +139,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -179,9 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -213,9 +203,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 821ec3fb79e..caf3bf4996f 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -39,18 +39,16 @@ import jakarta.validation.Valid; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @jakarta.annotation.Nullable - private Map map = new HashMap<>(); + @jakarta.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -65,9 +63,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,9 +88,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -127,9 +121,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Model200Response.java index 4c889f467bf..acea2e92036 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Model200Response.java @@ -34,14 +34,13 @@ import jakarta.validation.Valid; }) @JsonTypeName("200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private Integer name; + @jakarta.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -56,9 +55,7 @@ public class Model200Response { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -82,9 +79,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 2d91f091f5f..19de6a73fce 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -35,18 +35,16 @@ import jakarta.validation.Valid; }) @JsonTypeName("ApiResponse") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -61,9 +59,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_CODE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -87,9 +83,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -113,9 +107,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MESSAGE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelFile.java index 768be29a93a..f843d04fa42 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelFile.java @@ -33,10 +33,10 @@ import jakarta.validation.Valid; }) @JsonTypeName("File") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @jakarta.annotation.Nullable - private String sourceURI; + @jakarta.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -51,9 +51,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelList.java index bac0169ad44..f0d4028e655 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelList.java @@ -33,10 +33,10 @@ import jakarta.validation.Valid; }) @JsonTypeName("List") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @jakarta.annotation.Nullable - private String _123list; + @jakarta.annotation.Nullable private String _123list; public ModelList() { } @@ -51,9 +51,7 @@ public class ModelList { * Get _123list * @return _123list */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_123LIST) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelReturn.java index 0e5a4a76419..8e50532449e 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -33,10 +33,10 @@ import jakarta.validation.Valid; }) @JsonTypeName("Return") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @jakarta.annotation.Nullable - private Integer _return; + @jakarta.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -51,9 +51,7 @@ public class ModelReturn { * Get _return * @return _return */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_RETURN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java index 65fe8b3edf6..a4709d3d684 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java @@ -35,22 +35,19 @@ import jakarta.validation.Valid; Name.JSON_PROPERTY_123NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private Integer name; + @jakarta.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @jakarta.annotation.Nullable - private Integer snakeCase; + @jakarta.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @jakarta.annotation.Nullable - private String property; + @jakarta.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @jakarta.annotation.Nullable - private Integer _123number; + @jakarta.annotation.Nullable private Integer _123number; public Name() { } @@ -77,9 +74,7 @@ public class Name { * Get name * @return name */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -98,9 +93,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -119,9 +112,7 @@ public class Name { * Get property * @return property */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -139,9 +130,7 @@ public class Name { * Get _123number * @return _123number */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_123NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/NumberOnly.java index 232233b2340..1dac8b6ab35 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -33,10 +33,10 @@ import jakarta.validation.Valid; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @jakarta.annotation.Nullable - private BigDecimal justNumber; + @jakarta.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -51,9 +51,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Order.java index 6734ca66124..20c712b9ee3 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Order.java @@ -38,22 +38,19 @@ import jakarta.validation.Valid; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -91,14 +88,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -113,9 +107,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -139,9 +131,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PET_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -165,9 +155,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_QUANTITY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -191,9 +179,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -218,9 +204,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -244,9 +228,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_COMPLETE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/OuterComposite.java index d3603f7d741..430ca0c46f1 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -35,18 +35,16 @@ import jakarta.validation.Valid; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @jakarta.annotation.Nullable - private BigDecimal myNumber; + @jakarta.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @jakarta.annotation.Nullable - private String myString; + @jakarta.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @jakarta.annotation.Nullable - private Boolean myBoolean; + @jakarta.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -61,9 +59,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -88,9 +84,7 @@ public class OuterComposite { * Get myString * @return myString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -114,9 +108,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java index cb658e254f4..a90dab74a18 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java @@ -45,26 +45,22 @@ import jakarta.validation.Valid; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @jakarta.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List<@Valid Tag> tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store @@ -102,10 +98,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -120,9 +114,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -146,9 +138,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -173,9 +163,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -208,9 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -244,9 +230,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -271,9 +255,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 2094e0f526c..a194d9e435a 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -33,14 +33,13 @@ import jakarta.validation.Valid; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @jakarta.annotation.Nullable - private String baz; + @jakarta.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -59,9 +58,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -80,9 +77,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_BAZ) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/SpecialModelName.java index 07b09e2e3d6..79ba45a9f9c 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -33,10 +33,10 @@ import jakarta.validation.Valid; }) @JsonTypeName("$special[model.name]") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @jakarta.annotation.Nullable - private Long $specialPropertyName; + @jakarta.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -51,9 +51,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Tag.java index 1328af0e5c5..559d2060fc1 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Tag.java @@ -33,14 +33,13 @@ import jakarta.validation.Valid; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -55,9 +54,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -81,9 +78,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 0cb4c2f9756..1caf3ec37d2 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -40,26 +40,22 @@ import jakarta.validation.Valid; TypeHolderDefault.JSON_PROPERTY_ARRAY_ITEM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @jakarta.annotation.Nonnull - private String stringItem = "what"; + @jakarta.annotation.Nonnull private String stringItem = "what"; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @jakarta.annotation.Nonnull - private BigDecimal numberItem; + @jakarta.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @jakarta.annotation.Nonnull - private Integer integerItem; + @jakarta.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @jakarta.annotation.Nonnull - private Boolean boolItem = true; + @jakarta.annotation.Nonnull private Boolean boolItem = true; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @jakarta.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @jakarta.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -74,9 +70,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -101,10 +95,8 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @jakarta.annotation.Nonnull - @NotNull + @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -129,9 +121,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -156,9 +146,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -191,9 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java index b6faa330223..a6d80ae635f 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -41,30 +41,25 @@ import jakarta.validation.Valid; TypeHolderExample.JSON_PROPERTY_ARRAY_ITEM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @jakarta.annotation.Nonnull - private String stringItem; + @jakarta.annotation.Nonnull private String stringItem; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @jakarta.annotation.Nonnull - private BigDecimal numberItem; + @jakarta.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_FLOAT_ITEM = "float_item"; - @jakarta.annotation.Nonnull - private Float floatItem; + @jakarta.annotation.Nonnull private Float floatItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @jakarta.annotation.Nonnull - private Integer integerItem; + @jakarta.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @jakarta.annotation.Nonnull - private Boolean boolItem; + @jakarta.annotation.Nonnull private Boolean boolItem; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @jakarta.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @jakarta.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -79,9 +74,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -106,10 +99,8 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @jakarta.annotation.Nonnull - @NotNull + @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -134,9 +125,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -161,9 +150,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -188,9 +175,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -223,9 +208,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @jakarta.annotation.Nonnull - @NotNull - + @jakarta.annotation.Nonnull @NotNull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java index 8c6fcea6aca..30e3d576c7e 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/User.java @@ -39,38 +39,31 @@ import jakarta.validation.Valid; User.JSON_PROPERTY_USER_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @jakarta.annotation.Nullable - private String firstName; + @jakarta.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @jakarta.annotation.Nullable - private String lastName; + @jakarta.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @jakarta.annotation.Nullable - private String email; + @jakarta.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nullable - private String password; + @jakarta.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @jakarta.annotation.Nullable - private String phone; + @jakarta.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @jakarta.annotation.Nullable - private Integer userStatus; + @jakarta.annotation.Nullable private Integer userStatus; public User() { } @@ -85,9 +78,7 @@ public class User { * Get id * @return id */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -111,9 +102,7 @@ public class User { * Get username * @return username */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -137,9 +126,7 @@ public class User { * Get firstName * @return firstName */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -163,9 +150,7 @@ public class User { * Get lastName * @return lastName */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -189,9 +174,7 @@ public class User { * Get email * @return email */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_EMAIL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -215,9 +198,7 @@ public class User { * Get password * @return password */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -241,9 +222,7 @@ public class User { * Get phone * @return phone */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PHONE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -267,9 +246,7 @@ public class User { * User Status * @return userStatus */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/XmlItem.java index af4ca6412c0..d53f05b74c9 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/XmlItem.java @@ -64,122 +64,94 @@ import jakarta.validation.Valid; XmlItem.JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String JSON_PROPERTY_ATTRIBUTE_STRING = "attribute_string"; - @jakarta.annotation.Nullable - private String attributeString; + @jakarta.annotation.Nullable private String attributeString; public static final String JSON_PROPERTY_ATTRIBUTE_NUMBER = "attribute_number"; - @jakarta.annotation.Nullable - private BigDecimal attributeNumber; + @jakarta.annotation.Nullable private BigDecimal attributeNumber; public static final String JSON_PROPERTY_ATTRIBUTE_INTEGER = "attribute_integer"; - @jakarta.annotation.Nullable - private Integer attributeInteger; + @jakarta.annotation.Nullable private Integer attributeInteger; public static final String JSON_PROPERTY_ATTRIBUTE_BOOLEAN = "attribute_boolean"; - @jakarta.annotation.Nullable - private Boolean attributeBoolean; + @jakarta.annotation.Nullable private Boolean attributeBoolean; public static final String JSON_PROPERTY_WRAPPED_ARRAY = "wrapped_array"; - @jakarta.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_STRING = "name_string"; - @jakarta.annotation.Nullable - private String nameString; + @jakarta.annotation.Nullable private String nameString; public static final String JSON_PROPERTY_NAME_NUMBER = "name_number"; - @jakarta.annotation.Nullable - private BigDecimal nameNumber; + @jakarta.annotation.Nullable private BigDecimal nameNumber; public static final String JSON_PROPERTY_NAME_INTEGER = "name_integer"; - @jakarta.annotation.Nullable - private Integer nameInteger; + @jakarta.annotation.Nullable private Integer nameInteger; public static final String JSON_PROPERTY_NAME_BOOLEAN = "name_boolean"; - @jakarta.annotation.Nullable - private Boolean nameBoolean; + @jakarta.annotation.Nullable private Boolean nameBoolean; public static final String JSON_PROPERTY_NAME_ARRAY = "name_array"; - @jakarta.annotation.Nullable - private List nameArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_WRAPPED_ARRAY = "name_wrapped_array"; - @jakarta.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_STRING = "prefix_string"; - @jakarta.annotation.Nullable - private String prefixString; + @jakarta.annotation.Nullable private String prefixString; public static final String JSON_PROPERTY_PREFIX_NUMBER = "prefix_number"; - @jakarta.annotation.Nullable - private BigDecimal prefixNumber; + @jakarta.annotation.Nullable private BigDecimal prefixNumber; public static final String JSON_PROPERTY_PREFIX_INTEGER = "prefix_integer"; - @jakarta.annotation.Nullable - private Integer prefixInteger; + @jakarta.annotation.Nullable private Integer prefixInteger; public static final String JSON_PROPERTY_PREFIX_BOOLEAN = "prefix_boolean"; - @jakarta.annotation.Nullable - private Boolean prefixBoolean; + @jakarta.annotation.Nullable private Boolean prefixBoolean; public static final String JSON_PROPERTY_PREFIX_ARRAY = "prefix_array"; - @jakarta.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; - @jakarta.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_STRING = "namespace_string"; - @jakarta.annotation.Nullable - private String namespaceString; + @jakarta.annotation.Nullable private String namespaceString; public static final String JSON_PROPERTY_NAMESPACE_NUMBER = "namespace_number"; - @jakarta.annotation.Nullable - private BigDecimal namespaceNumber; + @jakarta.annotation.Nullable private BigDecimal namespaceNumber; public static final String JSON_PROPERTY_NAMESPACE_INTEGER = "namespace_integer"; - @jakarta.annotation.Nullable - private Integer namespaceInteger; + @jakarta.annotation.Nullable private Integer namespaceInteger; public static final String JSON_PROPERTY_NAMESPACE_BOOLEAN = "namespace_boolean"; - @jakarta.annotation.Nullable - private Boolean namespaceBoolean; + @jakarta.annotation.Nullable private Boolean namespaceBoolean; public static final String JSON_PROPERTY_NAMESPACE_ARRAY = "namespace_array"; - @jakarta.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; - @jakarta.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_STRING = "prefix_ns_string"; - @jakarta.annotation.Nullable - private String prefixNsString; + @jakarta.annotation.Nullable private String prefixNsString; public static final String JSON_PROPERTY_PREFIX_NS_NUMBER = "prefix_ns_number"; - @jakarta.annotation.Nullable - private BigDecimal prefixNsNumber; + @jakarta.annotation.Nullable private BigDecimal prefixNsNumber; public static final String JSON_PROPERTY_PREFIX_NS_INTEGER = "prefix_ns_integer"; - @jakarta.annotation.Nullable - private Integer prefixNsInteger; + @jakarta.annotation.Nullable private Integer prefixNsInteger; public static final String JSON_PROPERTY_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; - @jakarta.annotation.Nullable - private Boolean prefixNsBoolean; + @jakarta.annotation.Nullable private Boolean prefixNsBoolean; public static final String JSON_PROPERTY_PREFIX_NS_ARRAY = "prefix_ns_array"; - @jakarta.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; - @jakarta.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @jakarta.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -194,9 +166,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAttributeString() { @@ -220,9 +190,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -247,9 +215,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getAttributeInteger() { @@ -273,9 +239,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getAttributeBoolean() { @@ -307,9 +271,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getWrappedArray() { @@ -333,9 +295,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNameString() { @@ -359,9 +319,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -386,9 +344,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNameInteger() { @@ -412,9 +368,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNameBoolean() { @@ -446,9 +400,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameArray() { @@ -480,9 +432,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameWrappedArray() { @@ -506,9 +456,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixString() { @@ -532,9 +480,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -559,9 +505,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixInteger() { @@ -585,9 +529,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixBoolean() { @@ -619,9 +561,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixArray() { @@ -653,9 +593,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixWrappedArray() { @@ -679,9 +617,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNamespaceString() { @@ -705,9 +641,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -732,9 +666,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNamespaceInteger() { @@ -758,9 +690,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNamespaceBoolean() { @@ -792,9 +722,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceArray() { @@ -826,9 +754,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceWrappedArray() { @@ -852,9 +778,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixNsString() { @@ -878,9 +802,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @jakarta.annotation.Nullable - @Valid - + @jakarta.annotation.Nullable @Valid @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -905,9 +827,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixNsInteger() { @@ -931,9 +851,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixNsBoolean() { @@ -965,9 +883,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsArray() { @@ -999,9 +915,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @jakarta.annotation.Nullable - - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsWrappedArray() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 5c9f023af80..2e242b91ab6 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesAnyType extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index bbb26f370e1..6c143d7c5a5 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesArray extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index f1cd2f1e713..50a5d23c676 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesBoolean extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 7e6901510c0..77e7076cec6 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -30,61 +30,51 @@ import java.util.Map; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -108,7 +98,6 @@ public class AdditionalPropertiesClass { * @return mapString */ @javax.annotation.Nullable - public Map getMapString() { return mapString; } @@ -137,7 +126,6 @@ public class AdditionalPropertiesClass { * @return mapNumber */ @javax.annotation.Nullable - public Map getMapNumber() { return mapNumber; } @@ -166,7 +154,6 @@ public class AdditionalPropertiesClass { * @return mapInteger */ @javax.annotation.Nullable - public Map getMapInteger() { return mapInteger; } @@ -195,7 +182,6 @@ public class AdditionalPropertiesClass { * @return mapBoolean */ @javax.annotation.Nullable - public Map getMapBoolean() { return mapBoolean; } @@ -224,7 +210,6 @@ public class AdditionalPropertiesClass { * @return mapArrayInteger */ @javax.annotation.Nullable - public Map> getMapArrayInteger() { return mapArrayInteger; } @@ -253,7 +238,6 @@ public class AdditionalPropertiesClass { * @return mapArrayAnytype */ @javax.annotation.Nullable - public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -282,7 +266,6 @@ public class AdditionalPropertiesClass { * @return mapMapString */ @javax.annotation.Nullable - public Map> getMapMapString() { return mapMapString; } @@ -311,7 +294,6 @@ public class AdditionalPropertiesClass { * @return mapMapAnytype */ @javax.annotation.Nullable - public Map> getMapMapAnytype() { return mapMapAnytype; } @@ -332,7 +314,6 @@ public class AdditionalPropertiesClass { * @return anytype1 */ @javax.annotation.Nullable - public Object getAnytype1() { return anytype1; } @@ -353,7 +334,6 @@ public class AdditionalPropertiesClass { * @return anytype2 */ @javax.annotation.Nullable - public Object getAnytype2() { return anytype2; } @@ -374,7 +354,6 @@ public class AdditionalPropertiesClass { * @return anytype3 */ @javax.annotation.Nullable - public Object getAnytype3() { return anytype3; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index b3b92e6e227..e22f85f59d7 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesInteger extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index ea8f5b44915..02d9380a3f4 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesNumber extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 4381139af30..f259d079866 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesObject extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index c0682136e73..3c6a3ff3959 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesString extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java index fc0306d2f68..37b1f65c3a4 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java @@ -26,16 +26,15 @@ import java.io.IOException; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -51,7 +50,6 @@ public class Animal { * @return className */ @javax.annotation.Nonnull - public String getClassName() { return className; } @@ -72,7 +70,6 @@ public class Animal { * @return color */ @javax.annotation.Nullable - public String getColor() { return color; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 312bce79cac..32b34471f4c 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfArrayOfNumberOnly { * @return arrayArrayNumber */ @javax.annotation.Nullable - public List> getArrayArrayNumber() { return arrayArrayNumber; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 9d266ae3636..dda7f5d5f7e 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfNumberOnly { * @return arrayNumber */ @javax.annotation.Nullable - public List getArrayNumber() { return arrayNumber; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayTest.java index 085ae37c1cf..92f653ab496 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -30,21 +30,19 @@ import org.openapitools.client.model.ReadOnlyFirst; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -68,7 +66,6 @@ public class ArrayTest { * @return arrayOfString */ @javax.annotation.Nullable - public List getArrayOfString() { return arrayOfString; } @@ -97,7 +94,6 @@ public class ArrayTest { * @return arrayArrayOfInteger */ @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -126,7 +122,6 @@ public class ArrayTest { * @return arrayArrayOfModel */ @javax.annotation.Nullable - public List> getArrayArrayOfModel() { return arrayArrayOfModel; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/BigCat.java index af2200f1686..da3e3a6fb6b 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/BigCat.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.Cat; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat { /** * Gets or Sets kind @@ -78,11 +79,9 @@ public class BigCat extends Cat { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -99,7 +98,6 @@ public class BigCat extends Cat { * @return kind */ @javax.annotation.Nullable - public KindEnum getKind() { return kind; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Capitalization.java index 9d5577818a3..a18bf4b4b91 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Capitalization.java @@ -26,36 +26,31 @@ import java.io.IOException; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -71,7 +66,6 @@ public class Capitalization { * @return smallCamel */ @javax.annotation.Nullable - public String getSmallCamel() { return smallCamel; } @@ -92,7 +86,6 @@ public class Capitalization { * @return capitalCamel */ @javax.annotation.Nullable - public String getCapitalCamel() { return capitalCamel; } @@ -113,7 +106,6 @@ public class Capitalization { * @return smallSnake */ @javax.annotation.Nullable - public String getSmallSnake() { return smallSnake; } @@ -134,7 +126,6 @@ public class Capitalization { * @return capitalSnake */ @javax.annotation.Nullable - public String getCapitalSnake() { return capitalSnake; } @@ -155,7 +146,6 @@ public class Capitalization { * @return scAETHFlowPoints */ @javax.annotation.Nullable - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -176,7 +166,6 @@ public class Capitalization { * @return ATT_NAME */ @javax.annotation.Nullable - public String getATTNAME() { return ATT_NAME; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Cat.java index 45f1a7a35a4..92c61a364e9 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Cat.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -48,7 +48,6 @@ public class Cat extends Animal { * @return declawed */ @javax.annotation.Nullable - public Boolean getDeclawed() { return declawed; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java index 644b24f3622..291af2a0ed0 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java @@ -26,16 +26,15 @@ import java.io.IOException; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -51,7 +50,6 @@ public class Category { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Category { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ClassModel.java index 862d2f79463..c4bd3479593 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ClassModel.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -46,7 +46,6 @@ public class ClassModel { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Client.java index 71f9b680f0e..f9c124e419e 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Client.java @@ -26,11 +26,11 @@ import java.io.IOException; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -46,7 +46,6 @@ public class Client { * @return client */ @javax.annotation.Nullable - public String getClient() { return client; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Dog.java index 27772815700..0849981692f 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Dog.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -48,7 +48,6 @@ public class Dog extends Animal { * @return breed */ @javax.annotation.Nullable - public String getBreed() { return breed; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumArrays.java index ec837ff1b2e..f6d4411efe7 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -29,6 +29,7 @@ import java.util.List; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -76,11 +77,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -128,11 +127,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -148,7 +145,6 @@ public class EnumArrays { * @return justSymbol */ @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -177,7 +173,6 @@ public class EnumArrays { * @return arrayEnum */ @javax.annotation.Nullable - public List getArrayEnum() { return arrayEnum; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java index cef08bf0628..f81aeb2cbbd 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.OuterEnum; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -76,11 +77,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -130,11 +129,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -182,11 +179,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -234,16 +229,13 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -259,7 +251,6 @@ public class EnumTest { * @return enumString */ @javax.annotation.Nullable - public EnumStringEnum getEnumString() { return enumString; } @@ -280,7 +271,6 @@ public class EnumTest { * @return enumStringRequired */ @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -301,7 +291,6 @@ public class EnumTest { * @return enumInteger */ @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -322,7 +311,6 @@ public class EnumTest { * @return enumNumber */ @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -343,7 +331,6 @@ public class EnumTest { * @return outerEnum */ @javax.annotation.Nullable - public OuterEnum getOuterEnum() { return outerEnum; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index df6dacaa1f7..d9c4397fac0 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -30,16 +30,15 @@ import org.openapitools.client.model.ModelFile; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -55,7 +54,6 @@ public class FileSchemaTestClass { * @return _file */ @javax.annotation.Nullable - public ModelFile getFile() { return _file; } @@ -84,7 +82,6 @@ public class FileSchemaTestClass { * @return files */ @javax.annotation.Nullable - public List getFiles() { return files; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java index 6c59071c375..7ee6bf99b60 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -31,76 +31,63 @@ import java.util.UUID; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -118,7 +105,6 @@ public class FormatTest { * @return integer */ @javax.annotation.Nullable - public Integer getInteger() { return integer; } @@ -141,7 +127,6 @@ public class FormatTest { * @return int32 */ @javax.annotation.Nullable - public Integer getInt32() { return int32; } @@ -162,7 +147,6 @@ public class FormatTest { * @return int64 */ @javax.annotation.Nullable - public Long getInt64() { return int64; } @@ -185,7 +169,6 @@ public class FormatTest { * @return number */ @javax.annotation.Nonnull - public BigDecimal getNumber() { return number; } @@ -208,7 +191,6 @@ public class FormatTest { * @return _float */ @javax.annotation.Nullable - public Float getFloat() { return _float; } @@ -231,7 +213,6 @@ public class FormatTest { * @return _double */ @javax.annotation.Nullable - public Double getDouble() { return _double; } @@ -252,7 +233,6 @@ public class FormatTest { * @return string */ @javax.annotation.Nullable - public String getString() { return string; } @@ -273,7 +253,6 @@ public class FormatTest { * @return _byte */ @javax.annotation.Nonnull - public byte[] getByte() { return _byte; } @@ -294,7 +273,6 @@ public class FormatTest { * @return binary */ @javax.annotation.Nullable - public File getBinary() { return binary; } @@ -315,7 +293,6 @@ public class FormatTest { * @return date */ @javax.annotation.Nonnull - public LocalDate getDate() { return date; } @@ -336,7 +313,6 @@ public class FormatTest { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -357,7 +333,6 @@ public class FormatTest { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -378,7 +353,6 @@ public class FormatTest { * @return password */ @javax.annotation.Nonnull - public String getPassword() { return password; } @@ -399,7 +373,6 @@ public class FormatTest { * @return bigDecimal */ @javax.annotation.Nullable - public BigDecimal getBigDecimal() { return bigDecimal; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 99cfb90c57c..46a22b12331 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -26,16 +26,15 @@ import java.io.IOException; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -57,7 +56,6 @@ public class HasOnlyReadOnly { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -69,7 +67,6 @@ public class HasOnlyReadOnly { * @return foo */ @javax.annotation.Nullable - public String getFoo() { return foo; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MapTest.java index 8c0599df912..c01ee859bcd 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MapTest.java @@ -28,11 +28,11 @@ import java.util.Map; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -80,21 +80,17 @@ public class MapTest { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -118,7 +114,6 @@ public class MapTest { * @return mapMapOfString */ @javax.annotation.Nullable - public Map> getMapMapOfString() { return mapMapOfString; } @@ -147,7 +142,6 @@ public class MapTest { * @return mapOfEnumString */ @javax.annotation.Nullable - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -176,7 +170,6 @@ public class MapTest { * @return directMap */ @javax.annotation.Nullable - public Map getDirectMap() { return directMap; } @@ -205,7 +198,6 @@ public class MapTest { * @return indirectMap */ @javax.annotation.Nullable - public Map getIndirectMap() { return indirectMap; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index d092e0b0c48..85adf4cec92 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -31,21 +31,19 @@ import org.openapitools.client.model.Animal; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -61,7 +59,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -82,7 +79,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -111,7 +107,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return map */ @javax.annotation.Nullable - public Map getMap() { return map; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Model200Response.java index d3be6fce2e7..884ca664e2a 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Model200Response.java @@ -26,16 +26,15 @@ import java.io.IOException; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -51,7 +50,6 @@ public class Model200Response { * @return name */ @javax.annotation.Nullable - public Integer getName() { return name; } @@ -72,7 +70,6 @@ public class Model200Response { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 14fa3f08aed..68aed9325d1 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,21 +26,19 @@ import java.io.IOException; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -56,7 +54,6 @@ public class ModelApiResponse { * @return code */ @javax.annotation.Nullable - public Integer getCode() { return code; } @@ -77,7 +74,6 @@ public class ModelApiResponse { * @return type */ @javax.annotation.Nullable - public String getType() { return type; } @@ -98,7 +94,6 @@ public class ModelApiResponse { * @return message */ @javax.annotation.Nullable - public String getMessage() { return message; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelFile.java index 46a3d5365b3..e601ac14829 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelFile.java @@ -26,11 +26,11 @@ import java.io.IOException; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -46,7 +46,6 @@ public class ModelFile { * @return sourceURI */ @javax.annotation.Nullable - public String getSourceURI() { return sourceURI; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelList.java index 85975144e8e..43508abd363 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelList.java @@ -26,11 +26,11 @@ import java.io.IOException; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -46,7 +46,6 @@ public class ModelList { * @return _123list */ @javax.annotation.Nullable - public String get123list() { return _123list; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelReturn.java index 39be3519230..75919cd1a67 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -46,7 +46,6 @@ public class ModelReturn { * @return _return */ @javax.annotation.Nullable - public Integer getReturn() { return _return; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java index 568ff8a20d1..9199241f141 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java @@ -26,26 +26,23 @@ import java.io.IOException; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -73,7 +70,6 @@ public class Name { * @return name */ @javax.annotation.Nonnull - public Integer getName() { return name; } @@ -88,7 +84,6 @@ public class Name { * @return snakeCase */ @javax.annotation.Nullable - public Integer getSnakeCase() { return snakeCase; } @@ -106,7 +101,6 @@ public class Name { * @return property */ @javax.annotation.Nullable - public String getProperty() { return property; } @@ -121,7 +115,6 @@ public class Name { * @return _123number */ @javax.annotation.Nullable - public Integer get123number() { return _123number; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/NumberOnly.java index e0a06c9ddee..8da73a01c88 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -27,11 +27,11 @@ import java.math.BigDecimal; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -47,7 +47,6 @@ public class NumberOnly { * @return justNumber */ @javax.annotation.Nullable - public BigDecimal getJustNumber() { return justNumber; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Order.java index a0d68146490..3ce41856290 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Order.java @@ -27,26 +27,23 @@ import java.time.OffsetDateTime; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -96,16 +93,13 @@ public class Order { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -121,7 +115,6 @@ public class Order { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -142,7 +135,6 @@ public class Order { * @return petId */ @javax.annotation.Nullable - public Long getPetId() { return petId; } @@ -163,7 +155,6 @@ public class Order { * @return quantity */ @javax.annotation.Nullable - public Integer getQuantity() { return quantity; } @@ -184,7 +175,6 @@ public class Order { * @return shipDate */ @javax.annotation.Nullable - public OffsetDateTime getShipDate() { return shipDate; } @@ -205,7 +195,6 @@ public class Order { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } @@ -226,7 +215,6 @@ public class Order { * @return complete */ @javax.annotation.Nullable - public Boolean getComplete() { return complete; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/OuterComposite.java index 4fd0d4035ca..11873cc1ca5 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -27,21 +27,19 @@ import java.math.BigDecimal; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -57,7 +55,6 @@ public class OuterComposite { * @return myNumber */ @javax.annotation.Nullable - public BigDecimal getMyNumber() { return myNumber; } @@ -78,7 +75,6 @@ public class OuterComposite { * @return myString */ @javax.annotation.Nullable - public String getMyString() { return myString; } @@ -99,7 +95,6 @@ public class OuterComposite { * @return myBoolean */ @javax.annotation.Nullable - public Boolean getMyBoolean() { return myBoolean; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java index ff5b80cb4d2..794c4789e48 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java @@ -33,31 +33,27 @@ import org.openapitools.client.model.Tag; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -107,11 +103,9 @@ public class Pet { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -127,7 +121,6 @@ public class Pet { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -148,7 +141,6 @@ public class Pet { * @return category */ @javax.annotation.Nullable - public Category getCategory() { return category; } @@ -169,7 +161,6 @@ public class Pet { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } @@ -198,7 +189,6 @@ public class Pet { * @return photoUrls */ @javax.annotation.Nonnull - public Set getPhotoUrls() { return photoUrls; } @@ -227,7 +217,6 @@ public class Pet { * @return tags */ @javax.annotation.Nullable - public List getTags() { return tags; } @@ -248,7 +237,6 @@ public class Pet { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 374fce7ae20..acf7ba2f451 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -26,16 +26,15 @@ import java.io.IOException; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -55,7 +54,6 @@ public class ReadOnlyFirst { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -73,7 +71,6 @@ public class ReadOnlyFirst { * @return baz */ @javax.annotation.Nullable - public String getBaz() { return baz; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/SpecialModelName.java index f7c1b083728..ff5f0a4fadd 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -26,11 +26,11 @@ import java.io.IOException; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -46,7 +46,6 @@ public class SpecialModelName { * @return $specialPropertyName */ @javax.annotation.Nullable - public Long get$SpecialPropertyName() { return $specialPropertyName; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Tag.java index ee88c867e6d..3af42143059 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Tag.java @@ -26,16 +26,15 @@ import java.io.IOException; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -51,7 +50,6 @@ public class Tag { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Tag { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 72de8399c0f..3151aa3fbcf 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -30,31 +30,27 @@ import java.util.List; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -70,7 +66,6 @@ public class TypeHolderDefault { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -91,7 +86,6 @@ public class TypeHolderDefault { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -112,7 +106,6 @@ public class TypeHolderDefault { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -133,7 +126,6 @@ public class TypeHolderDefault { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -162,7 +154,6 @@ public class TypeHolderDefault { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 9c92fcd4ebc..525e1e2f2c5 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -30,36 +30,31 @@ import java.util.List; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -75,7 +70,6 @@ public class TypeHolderExample { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -96,7 +90,6 @@ public class TypeHolderExample { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -117,7 +110,6 @@ public class TypeHolderExample { * @return floatItem */ @javax.annotation.Nonnull - public Float getFloatItem() { return floatItem; } @@ -138,7 +130,6 @@ public class TypeHolderExample { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -159,7 +150,6 @@ public class TypeHolderExample { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -188,7 +178,6 @@ public class TypeHolderExample { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java index 6f7346a43f3..8148d3ccc59 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/User.java @@ -26,46 +26,39 @@ import java.io.IOException; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -81,7 +74,6 @@ public class User { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -102,7 +94,6 @@ public class User { * @return username */ @javax.annotation.Nullable - public String getUsername() { return username; } @@ -123,7 +114,6 @@ public class User { * @return firstName */ @javax.annotation.Nullable - public String getFirstName() { return firstName; } @@ -144,7 +134,6 @@ public class User { * @return lastName */ @javax.annotation.Nullable - public String getLastName() { return lastName; } @@ -165,7 +154,6 @@ public class User { * @return email */ @javax.annotation.Nullable - public String getEmail() { return email; } @@ -186,7 +174,6 @@ public class User { * @return password */ @javax.annotation.Nullable - public String getPassword() { return password; } @@ -207,7 +194,6 @@ public class User { * @return phone */ @javax.annotation.Nullable - public String getPhone() { return phone; } @@ -228,7 +214,6 @@ public class User { * @return userStatus */ @javax.annotation.Nullable - public Integer getUserStatus() { return userStatus; } diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/XmlItem.java index ba4045a781b..ad32b3994b9 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/XmlItem.java @@ -30,151 +30,123 @@ import java.util.List; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -190,7 +162,6 @@ public class XmlItem { * @return attributeString */ @javax.annotation.Nullable - public String getAttributeString() { return attributeString; } @@ -211,7 +182,6 @@ public class XmlItem { * @return attributeNumber */ @javax.annotation.Nullable - public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -232,7 +202,6 @@ public class XmlItem { * @return attributeInteger */ @javax.annotation.Nullable - public Integer getAttributeInteger() { return attributeInteger; } @@ -253,7 +222,6 @@ public class XmlItem { * @return attributeBoolean */ @javax.annotation.Nullable - public Boolean getAttributeBoolean() { return attributeBoolean; } @@ -282,7 +250,6 @@ public class XmlItem { * @return wrappedArray */ @javax.annotation.Nullable - public List getWrappedArray() { return wrappedArray; } @@ -303,7 +270,6 @@ public class XmlItem { * @return nameString */ @javax.annotation.Nullable - public String getNameString() { return nameString; } @@ -324,7 +290,6 @@ public class XmlItem { * @return nameNumber */ @javax.annotation.Nullable - public BigDecimal getNameNumber() { return nameNumber; } @@ -345,7 +310,6 @@ public class XmlItem { * @return nameInteger */ @javax.annotation.Nullable - public Integer getNameInteger() { return nameInteger; } @@ -366,7 +330,6 @@ public class XmlItem { * @return nameBoolean */ @javax.annotation.Nullable - public Boolean getNameBoolean() { return nameBoolean; } @@ -395,7 +358,6 @@ public class XmlItem { * @return nameArray */ @javax.annotation.Nullable - public List getNameArray() { return nameArray; } @@ -424,7 +386,6 @@ public class XmlItem { * @return nameWrappedArray */ @javax.annotation.Nullable - public List getNameWrappedArray() { return nameWrappedArray; } @@ -445,7 +406,6 @@ public class XmlItem { * @return prefixString */ @javax.annotation.Nullable - public String getPrefixString() { return prefixString; } @@ -466,7 +426,6 @@ public class XmlItem { * @return prefixNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -487,7 +446,6 @@ public class XmlItem { * @return prefixInteger */ @javax.annotation.Nullable - public Integer getPrefixInteger() { return prefixInteger; } @@ -508,7 +466,6 @@ public class XmlItem { * @return prefixBoolean */ @javax.annotation.Nullable - public Boolean getPrefixBoolean() { return prefixBoolean; } @@ -537,7 +494,6 @@ public class XmlItem { * @return prefixArray */ @javax.annotation.Nullable - public List getPrefixArray() { return prefixArray; } @@ -566,7 +522,6 @@ public class XmlItem { * @return prefixWrappedArray */ @javax.annotation.Nullable - public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -587,7 +542,6 @@ public class XmlItem { * @return namespaceString */ @javax.annotation.Nullable - public String getNamespaceString() { return namespaceString; } @@ -608,7 +562,6 @@ public class XmlItem { * @return namespaceNumber */ @javax.annotation.Nullable - public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -629,7 +582,6 @@ public class XmlItem { * @return namespaceInteger */ @javax.annotation.Nullable - public Integer getNamespaceInteger() { return namespaceInteger; } @@ -650,7 +602,6 @@ public class XmlItem { * @return namespaceBoolean */ @javax.annotation.Nullable - public Boolean getNamespaceBoolean() { return namespaceBoolean; } @@ -679,7 +630,6 @@ public class XmlItem { * @return namespaceArray */ @javax.annotation.Nullable - public List getNamespaceArray() { return namespaceArray; } @@ -708,7 +658,6 @@ public class XmlItem { * @return namespaceWrappedArray */ @javax.annotation.Nullable - public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -729,7 +678,6 @@ public class XmlItem { * @return prefixNsString */ @javax.annotation.Nullable - public String getPrefixNsString() { return prefixNsString; } @@ -750,7 +698,6 @@ public class XmlItem { * @return prefixNsNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -771,7 +718,6 @@ public class XmlItem { * @return prefixNsInteger */ @javax.annotation.Nullable - public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -792,7 +738,6 @@ public class XmlItem { * @return prefixNsBoolean */ @javax.annotation.Nullable - public Boolean getPrefixNsBoolean() { return prefixNsBoolean; } @@ -821,7 +766,6 @@ public class XmlItem { * @return prefixNsArray */ @javax.annotation.Nullable - public List getPrefixNsArray() { return prefixNsArray; } @@ -850,7 +794,6 @@ public class XmlItem { * @return prefixNsWrappedArray */ @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 5c9f023af80..2e242b91ab6 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesAnyType extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index bbb26f370e1..6c143d7c5a5 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesArray extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index f1cd2f1e713..50a5d23c676 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesBoolean extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 7e6901510c0..77e7076cec6 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -30,61 +30,51 @@ import java.util.Map; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -108,7 +98,6 @@ public class AdditionalPropertiesClass { * @return mapString */ @javax.annotation.Nullable - public Map getMapString() { return mapString; } @@ -137,7 +126,6 @@ public class AdditionalPropertiesClass { * @return mapNumber */ @javax.annotation.Nullable - public Map getMapNumber() { return mapNumber; } @@ -166,7 +154,6 @@ public class AdditionalPropertiesClass { * @return mapInteger */ @javax.annotation.Nullable - public Map getMapInteger() { return mapInteger; } @@ -195,7 +182,6 @@ public class AdditionalPropertiesClass { * @return mapBoolean */ @javax.annotation.Nullable - public Map getMapBoolean() { return mapBoolean; } @@ -224,7 +210,6 @@ public class AdditionalPropertiesClass { * @return mapArrayInteger */ @javax.annotation.Nullable - public Map> getMapArrayInteger() { return mapArrayInteger; } @@ -253,7 +238,6 @@ public class AdditionalPropertiesClass { * @return mapArrayAnytype */ @javax.annotation.Nullable - public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -282,7 +266,6 @@ public class AdditionalPropertiesClass { * @return mapMapString */ @javax.annotation.Nullable - public Map> getMapMapString() { return mapMapString; } @@ -311,7 +294,6 @@ public class AdditionalPropertiesClass { * @return mapMapAnytype */ @javax.annotation.Nullable - public Map> getMapMapAnytype() { return mapMapAnytype; } @@ -332,7 +314,6 @@ public class AdditionalPropertiesClass { * @return anytype1 */ @javax.annotation.Nullable - public Object getAnytype1() { return anytype1; } @@ -353,7 +334,6 @@ public class AdditionalPropertiesClass { * @return anytype2 */ @javax.annotation.Nullable - public Object getAnytype2() { return anytype2; } @@ -374,7 +354,6 @@ public class AdditionalPropertiesClass { * @return anytype3 */ @javax.annotation.Nullable - public Object getAnytype3() { return anytype3; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index b3b92e6e227..e22f85f59d7 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesInteger extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index ea8f5b44915..02d9380a3f4 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesNumber extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 4381139af30..f259d079866 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesObject extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index c0682136e73..3c6a3ff3959 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesString extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java index fc0306d2f68..37b1f65c3a4 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java @@ -26,16 +26,15 @@ import java.io.IOException; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -51,7 +50,6 @@ public class Animal { * @return className */ @javax.annotation.Nonnull - public String getClassName() { return className; } @@ -72,7 +70,6 @@ public class Animal { * @return color */ @javax.annotation.Nullable - public String getColor() { return color; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 312bce79cac..32b34471f4c 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfArrayOfNumberOnly { * @return arrayArrayNumber */ @javax.annotation.Nullable - public List> getArrayArrayNumber() { return arrayArrayNumber; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 9d266ae3636..dda7f5d5f7e 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfNumberOnly { * @return arrayNumber */ @javax.annotation.Nullable - public List getArrayNumber() { return arrayNumber; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayTest.java index 085ae37c1cf..92f653ab496 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -30,21 +30,19 @@ import org.openapitools.client.model.ReadOnlyFirst; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -68,7 +66,6 @@ public class ArrayTest { * @return arrayOfString */ @javax.annotation.Nullable - public List getArrayOfString() { return arrayOfString; } @@ -97,7 +94,6 @@ public class ArrayTest { * @return arrayArrayOfInteger */ @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -126,7 +122,6 @@ public class ArrayTest { * @return arrayArrayOfModel */ @javax.annotation.Nullable - public List> getArrayArrayOfModel() { return arrayArrayOfModel; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/BigCat.java index af2200f1686..da3e3a6fb6b 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/BigCat.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.Cat; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat { /** * Gets or Sets kind @@ -78,11 +79,9 @@ public class BigCat extends Cat { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -99,7 +98,6 @@ public class BigCat extends Cat { * @return kind */ @javax.annotation.Nullable - public KindEnum getKind() { return kind; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Capitalization.java index 9d5577818a3..a18bf4b4b91 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Capitalization.java @@ -26,36 +26,31 @@ import java.io.IOException; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -71,7 +66,6 @@ public class Capitalization { * @return smallCamel */ @javax.annotation.Nullable - public String getSmallCamel() { return smallCamel; } @@ -92,7 +86,6 @@ public class Capitalization { * @return capitalCamel */ @javax.annotation.Nullable - public String getCapitalCamel() { return capitalCamel; } @@ -113,7 +106,6 @@ public class Capitalization { * @return smallSnake */ @javax.annotation.Nullable - public String getSmallSnake() { return smallSnake; } @@ -134,7 +126,6 @@ public class Capitalization { * @return capitalSnake */ @javax.annotation.Nullable - public String getCapitalSnake() { return capitalSnake; } @@ -155,7 +146,6 @@ public class Capitalization { * @return scAETHFlowPoints */ @javax.annotation.Nullable - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -176,7 +166,6 @@ public class Capitalization { * @return ATT_NAME */ @javax.annotation.Nullable - public String getATTNAME() { return ATT_NAME; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Cat.java index 45f1a7a35a4..92c61a364e9 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Cat.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -48,7 +48,6 @@ public class Cat extends Animal { * @return declawed */ @javax.annotation.Nullable - public Boolean getDeclawed() { return declawed; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java index 644b24f3622..291af2a0ed0 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java @@ -26,16 +26,15 @@ import java.io.IOException; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -51,7 +50,6 @@ public class Category { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Category { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ClassModel.java index 862d2f79463..c4bd3479593 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ClassModel.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -46,7 +46,6 @@ public class ClassModel { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Client.java index 71f9b680f0e..f9c124e419e 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Client.java @@ -26,11 +26,11 @@ import java.io.IOException; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -46,7 +46,6 @@ public class Client { * @return client */ @javax.annotation.Nullable - public String getClient() { return client; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Dog.java index 27772815700..0849981692f 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Dog.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -48,7 +48,6 @@ public class Dog extends Animal { * @return breed */ @javax.annotation.Nullable - public String getBreed() { return breed; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumArrays.java index ec837ff1b2e..f6d4411efe7 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -29,6 +29,7 @@ import java.util.List; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -76,11 +77,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -128,11 +127,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -148,7 +145,6 @@ public class EnumArrays { * @return justSymbol */ @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -177,7 +173,6 @@ public class EnumArrays { * @return arrayEnum */ @javax.annotation.Nullable - public List getArrayEnum() { return arrayEnum; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java index cef08bf0628..f81aeb2cbbd 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.OuterEnum; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -76,11 +77,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -130,11 +129,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -182,11 +179,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -234,16 +229,13 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -259,7 +251,6 @@ public class EnumTest { * @return enumString */ @javax.annotation.Nullable - public EnumStringEnum getEnumString() { return enumString; } @@ -280,7 +271,6 @@ public class EnumTest { * @return enumStringRequired */ @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -301,7 +291,6 @@ public class EnumTest { * @return enumInteger */ @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -322,7 +311,6 @@ public class EnumTest { * @return enumNumber */ @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -343,7 +331,6 @@ public class EnumTest { * @return outerEnum */ @javax.annotation.Nullable - public OuterEnum getOuterEnum() { return outerEnum; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index df6dacaa1f7..d9c4397fac0 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -30,16 +30,15 @@ import org.openapitools.client.model.ModelFile; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -55,7 +54,6 @@ public class FileSchemaTestClass { * @return _file */ @javax.annotation.Nullable - public ModelFile getFile() { return _file; } @@ -84,7 +82,6 @@ public class FileSchemaTestClass { * @return files */ @javax.annotation.Nullable - public List getFiles() { return files; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java index 6c59071c375..7ee6bf99b60 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -31,76 +31,63 @@ import java.util.UUID; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -118,7 +105,6 @@ public class FormatTest { * @return integer */ @javax.annotation.Nullable - public Integer getInteger() { return integer; } @@ -141,7 +127,6 @@ public class FormatTest { * @return int32 */ @javax.annotation.Nullable - public Integer getInt32() { return int32; } @@ -162,7 +147,6 @@ public class FormatTest { * @return int64 */ @javax.annotation.Nullable - public Long getInt64() { return int64; } @@ -185,7 +169,6 @@ public class FormatTest { * @return number */ @javax.annotation.Nonnull - public BigDecimal getNumber() { return number; } @@ -208,7 +191,6 @@ public class FormatTest { * @return _float */ @javax.annotation.Nullable - public Float getFloat() { return _float; } @@ -231,7 +213,6 @@ public class FormatTest { * @return _double */ @javax.annotation.Nullable - public Double getDouble() { return _double; } @@ -252,7 +233,6 @@ public class FormatTest { * @return string */ @javax.annotation.Nullable - public String getString() { return string; } @@ -273,7 +253,6 @@ public class FormatTest { * @return _byte */ @javax.annotation.Nonnull - public byte[] getByte() { return _byte; } @@ -294,7 +273,6 @@ public class FormatTest { * @return binary */ @javax.annotation.Nullable - public File getBinary() { return binary; } @@ -315,7 +293,6 @@ public class FormatTest { * @return date */ @javax.annotation.Nonnull - public LocalDate getDate() { return date; } @@ -336,7 +313,6 @@ public class FormatTest { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -357,7 +333,6 @@ public class FormatTest { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -378,7 +353,6 @@ public class FormatTest { * @return password */ @javax.annotation.Nonnull - public String getPassword() { return password; } @@ -399,7 +373,6 @@ public class FormatTest { * @return bigDecimal */ @javax.annotation.Nullable - public BigDecimal getBigDecimal() { return bigDecimal; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 99cfb90c57c..46a22b12331 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -26,16 +26,15 @@ import java.io.IOException; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -57,7 +56,6 @@ public class HasOnlyReadOnly { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -69,7 +67,6 @@ public class HasOnlyReadOnly { * @return foo */ @javax.annotation.Nullable - public String getFoo() { return foo; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MapTest.java index 8c0599df912..c01ee859bcd 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MapTest.java @@ -28,11 +28,11 @@ import java.util.Map; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -80,21 +80,17 @@ public class MapTest { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -118,7 +114,6 @@ public class MapTest { * @return mapMapOfString */ @javax.annotation.Nullable - public Map> getMapMapOfString() { return mapMapOfString; } @@ -147,7 +142,6 @@ public class MapTest { * @return mapOfEnumString */ @javax.annotation.Nullable - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -176,7 +170,6 @@ public class MapTest { * @return directMap */ @javax.annotation.Nullable - public Map getDirectMap() { return directMap; } @@ -205,7 +198,6 @@ public class MapTest { * @return indirectMap */ @javax.annotation.Nullable - public Map getIndirectMap() { return indirectMap; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index d092e0b0c48..85adf4cec92 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -31,21 +31,19 @@ import org.openapitools.client.model.Animal; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -61,7 +59,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -82,7 +79,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -111,7 +107,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return map */ @javax.annotation.Nullable - public Map getMap() { return map; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Model200Response.java index d3be6fce2e7..884ca664e2a 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Model200Response.java @@ -26,16 +26,15 @@ import java.io.IOException; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -51,7 +50,6 @@ public class Model200Response { * @return name */ @javax.annotation.Nullable - public Integer getName() { return name; } @@ -72,7 +70,6 @@ public class Model200Response { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 14fa3f08aed..68aed9325d1 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,21 +26,19 @@ import java.io.IOException; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -56,7 +54,6 @@ public class ModelApiResponse { * @return code */ @javax.annotation.Nullable - public Integer getCode() { return code; } @@ -77,7 +74,6 @@ public class ModelApiResponse { * @return type */ @javax.annotation.Nullable - public String getType() { return type; } @@ -98,7 +94,6 @@ public class ModelApiResponse { * @return message */ @javax.annotation.Nullable - public String getMessage() { return message; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelFile.java index 46a3d5365b3..e601ac14829 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelFile.java @@ -26,11 +26,11 @@ import java.io.IOException; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -46,7 +46,6 @@ public class ModelFile { * @return sourceURI */ @javax.annotation.Nullable - public String getSourceURI() { return sourceURI; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelList.java index 85975144e8e..43508abd363 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelList.java @@ -26,11 +26,11 @@ import java.io.IOException; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -46,7 +46,6 @@ public class ModelList { * @return _123list */ @javax.annotation.Nullable - public String get123list() { return _123list; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelReturn.java index 39be3519230..75919cd1a67 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -46,7 +46,6 @@ public class ModelReturn { * @return _return */ @javax.annotation.Nullable - public Integer getReturn() { return _return; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java index 568ff8a20d1..9199241f141 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java @@ -26,26 +26,23 @@ import java.io.IOException; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -73,7 +70,6 @@ public class Name { * @return name */ @javax.annotation.Nonnull - public Integer getName() { return name; } @@ -88,7 +84,6 @@ public class Name { * @return snakeCase */ @javax.annotation.Nullable - public Integer getSnakeCase() { return snakeCase; } @@ -106,7 +101,6 @@ public class Name { * @return property */ @javax.annotation.Nullable - public String getProperty() { return property; } @@ -121,7 +115,6 @@ public class Name { * @return _123number */ @javax.annotation.Nullable - public Integer get123number() { return _123number; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/NumberOnly.java index e0a06c9ddee..8da73a01c88 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -27,11 +27,11 @@ import java.math.BigDecimal; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -47,7 +47,6 @@ public class NumberOnly { * @return justNumber */ @javax.annotation.Nullable - public BigDecimal getJustNumber() { return justNumber; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Order.java index a0d68146490..3ce41856290 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Order.java @@ -27,26 +27,23 @@ import java.time.OffsetDateTime; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -96,16 +93,13 @@ public class Order { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -121,7 +115,6 @@ public class Order { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -142,7 +135,6 @@ public class Order { * @return petId */ @javax.annotation.Nullable - public Long getPetId() { return petId; } @@ -163,7 +155,6 @@ public class Order { * @return quantity */ @javax.annotation.Nullable - public Integer getQuantity() { return quantity; } @@ -184,7 +175,6 @@ public class Order { * @return shipDate */ @javax.annotation.Nullable - public OffsetDateTime getShipDate() { return shipDate; } @@ -205,7 +195,6 @@ public class Order { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } @@ -226,7 +215,6 @@ public class Order { * @return complete */ @javax.annotation.Nullable - public Boolean getComplete() { return complete; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/OuterComposite.java index 4fd0d4035ca..11873cc1ca5 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -27,21 +27,19 @@ import java.math.BigDecimal; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -57,7 +55,6 @@ public class OuterComposite { * @return myNumber */ @javax.annotation.Nullable - public BigDecimal getMyNumber() { return myNumber; } @@ -78,7 +75,6 @@ public class OuterComposite { * @return myString */ @javax.annotation.Nullable - public String getMyString() { return myString; } @@ -99,7 +95,6 @@ public class OuterComposite { * @return myBoolean */ @javax.annotation.Nullable - public Boolean getMyBoolean() { return myBoolean; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java index ff5b80cb4d2..794c4789e48 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java @@ -33,31 +33,27 @@ import org.openapitools.client.model.Tag; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -107,11 +103,9 @@ public class Pet { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -127,7 +121,6 @@ public class Pet { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -148,7 +141,6 @@ public class Pet { * @return category */ @javax.annotation.Nullable - public Category getCategory() { return category; } @@ -169,7 +161,6 @@ public class Pet { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } @@ -198,7 +189,6 @@ public class Pet { * @return photoUrls */ @javax.annotation.Nonnull - public Set getPhotoUrls() { return photoUrls; } @@ -227,7 +217,6 @@ public class Pet { * @return tags */ @javax.annotation.Nullable - public List getTags() { return tags; } @@ -248,7 +237,6 @@ public class Pet { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 374fce7ae20..acf7ba2f451 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -26,16 +26,15 @@ import java.io.IOException; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -55,7 +54,6 @@ public class ReadOnlyFirst { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -73,7 +71,6 @@ public class ReadOnlyFirst { * @return baz */ @javax.annotation.Nullable - public String getBaz() { return baz; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/SpecialModelName.java index f7c1b083728..ff5f0a4fadd 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -26,11 +26,11 @@ import java.io.IOException; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -46,7 +46,6 @@ public class SpecialModelName { * @return $specialPropertyName */ @javax.annotation.Nullable - public Long get$SpecialPropertyName() { return $specialPropertyName; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Tag.java index ee88c867e6d..3af42143059 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Tag.java @@ -26,16 +26,15 @@ import java.io.IOException; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -51,7 +50,6 @@ public class Tag { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Tag { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 72de8399c0f..3151aa3fbcf 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -30,31 +30,27 @@ import java.util.List; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -70,7 +66,6 @@ public class TypeHolderDefault { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -91,7 +86,6 @@ public class TypeHolderDefault { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -112,7 +106,6 @@ public class TypeHolderDefault { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -133,7 +126,6 @@ public class TypeHolderDefault { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -162,7 +154,6 @@ public class TypeHolderDefault { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 9c92fcd4ebc..525e1e2f2c5 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -30,36 +30,31 @@ import java.util.List; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -75,7 +70,6 @@ public class TypeHolderExample { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -96,7 +90,6 @@ public class TypeHolderExample { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -117,7 +110,6 @@ public class TypeHolderExample { * @return floatItem */ @javax.annotation.Nonnull - public Float getFloatItem() { return floatItem; } @@ -138,7 +130,6 @@ public class TypeHolderExample { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -159,7 +150,6 @@ public class TypeHolderExample { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -188,7 +178,6 @@ public class TypeHolderExample { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java index 6f7346a43f3..8148d3ccc59 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/User.java @@ -26,46 +26,39 @@ import java.io.IOException; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -81,7 +74,6 @@ public class User { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -102,7 +94,6 @@ public class User { * @return username */ @javax.annotation.Nullable - public String getUsername() { return username; } @@ -123,7 +114,6 @@ public class User { * @return firstName */ @javax.annotation.Nullable - public String getFirstName() { return firstName; } @@ -144,7 +134,6 @@ public class User { * @return lastName */ @javax.annotation.Nullable - public String getLastName() { return lastName; } @@ -165,7 +154,6 @@ public class User { * @return email */ @javax.annotation.Nullable - public String getEmail() { return email; } @@ -186,7 +174,6 @@ public class User { * @return password */ @javax.annotation.Nullable - public String getPassword() { return password; } @@ -207,7 +194,6 @@ public class User { * @return phone */ @javax.annotation.Nullable - public String getPhone() { return phone; } @@ -228,7 +214,6 @@ public class User { * @return userStatus */ @javax.annotation.Nullable - public Integer getUserStatus() { return userStatus; } diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/XmlItem.java index ba4045a781b..ad32b3994b9 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/XmlItem.java @@ -30,151 +30,123 @@ import java.util.List; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -190,7 +162,6 @@ public class XmlItem { * @return attributeString */ @javax.annotation.Nullable - public String getAttributeString() { return attributeString; } @@ -211,7 +182,6 @@ public class XmlItem { * @return attributeNumber */ @javax.annotation.Nullable - public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -232,7 +202,6 @@ public class XmlItem { * @return attributeInteger */ @javax.annotation.Nullable - public Integer getAttributeInteger() { return attributeInteger; } @@ -253,7 +222,6 @@ public class XmlItem { * @return attributeBoolean */ @javax.annotation.Nullable - public Boolean getAttributeBoolean() { return attributeBoolean; } @@ -282,7 +250,6 @@ public class XmlItem { * @return wrappedArray */ @javax.annotation.Nullable - public List getWrappedArray() { return wrappedArray; } @@ -303,7 +270,6 @@ public class XmlItem { * @return nameString */ @javax.annotation.Nullable - public String getNameString() { return nameString; } @@ -324,7 +290,6 @@ public class XmlItem { * @return nameNumber */ @javax.annotation.Nullable - public BigDecimal getNameNumber() { return nameNumber; } @@ -345,7 +310,6 @@ public class XmlItem { * @return nameInteger */ @javax.annotation.Nullable - public Integer getNameInteger() { return nameInteger; } @@ -366,7 +330,6 @@ public class XmlItem { * @return nameBoolean */ @javax.annotation.Nullable - public Boolean getNameBoolean() { return nameBoolean; } @@ -395,7 +358,6 @@ public class XmlItem { * @return nameArray */ @javax.annotation.Nullable - public List getNameArray() { return nameArray; } @@ -424,7 +386,6 @@ public class XmlItem { * @return nameWrappedArray */ @javax.annotation.Nullable - public List getNameWrappedArray() { return nameWrappedArray; } @@ -445,7 +406,6 @@ public class XmlItem { * @return prefixString */ @javax.annotation.Nullable - public String getPrefixString() { return prefixString; } @@ -466,7 +426,6 @@ public class XmlItem { * @return prefixNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -487,7 +446,6 @@ public class XmlItem { * @return prefixInteger */ @javax.annotation.Nullable - public Integer getPrefixInteger() { return prefixInteger; } @@ -508,7 +466,6 @@ public class XmlItem { * @return prefixBoolean */ @javax.annotation.Nullable - public Boolean getPrefixBoolean() { return prefixBoolean; } @@ -537,7 +494,6 @@ public class XmlItem { * @return prefixArray */ @javax.annotation.Nullable - public List getPrefixArray() { return prefixArray; } @@ -566,7 +522,6 @@ public class XmlItem { * @return prefixWrappedArray */ @javax.annotation.Nullable - public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -587,7 +542,6 @@ public class XmlItem { * @return namespaceString */ @javax.annotation.Nullable - public String getNamespaceString() { return namespaceString; } @@ -608,7 +562,6 @@ public class XmlItem { * @return namespaceNumber */ @javax.annotation.Nullable - public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -629,7 +582,6 @@ public class XmlItem { * @return namespaceInteger */ @javax.annotation.Nullable - public Integer getNamespaceInteger() { return namespaceInteger; } @@ -650,7 +602,6 @@ public class XmlItem { * @return namespaceBoolean */ @javax.annotation.Nullable - public Boolean getNamespaceBoolean() { return namespaceBoolean; } @@ -679,7 +630,6 @@ public class XmlItem { * @return namespaceArray */ @javax.annotation.Nullable - public List getNamespaceArray() { return namespaceArray; } @@ -708,7 +658,6 @@ public class XmlItem { * @return namespaceWrappedArray */ @javax.annotation.Nullable - public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -729,7 +678,6 @@ public class XmlItem { * @return prefixNsString */ @javax.annotation.Nullable - public String getPrefixNsString() { return prefixNsString; } @@ -750,7 +698,6 @@ public class XmlItem { * @return prefixNsNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -771,7 +718,6 @@ public class XmlItem { * @return prefixNsInteger */ @javax.annotation.Nullable - public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -792,7 +738,6 @@ public class XmlItem { * @return prefixNsBoolean */ @javax.annotation.Nullable - public Boolean getPrefixNsBoolean() { return prefixNsBoolean; } @@ -821,7 +766,6 @@ public class XmlItem { * @return prefixNsArray */ @javax.annotation.Nullable - public List getPrefixNsArray() { return prefixNsArray; } @@ -850,7 +794,6 @@ public class XmlItem { * @return prefixNsWrappedArray */ @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 5c9f023af80..2e242b91ab6 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesAnyType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesAnyType extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index bbb26f370e1..6c143d7c5a5 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesArray */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesArray extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index f1cd2f1e713..50a5d23c676 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesBoolean */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesBoolean extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 7e6901510c0..77e7076cec6 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -30,61 +30,51 @@ import java.util.Map; * AdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String SERIALIZED_NAME_MAP_STRING = "map_string"; @SerializedName(SERIALIZED_NAME_MAP_STRING) - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_NUMBER = "map_number"; @SerializedName(SERIALIZED_NAME_MAP_NUMBER) - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_INTEGER = "map_integer"; @SerializedName(SERIALIZED_NAME_MAP_INTEGER) - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_BOOLEAN = "map_boolean"; @SerializedName(SERIALIZED_NAME_MAP_BOOLEAN) - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_INTEGER = "map_array_integer"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_INTEGER) - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_ARRAY_ANYTYPE = "map_array_anytype"; @SerializedName(SERIALIZED_NAME_MAP_ARRAY_ANYTYPE) - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_STRING = "map_map_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_STRING) - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String SERIALIZED_NAME_MAP_MAP_ANYTYPE = "map_map_anytype"; @SerializedName(SERIALIZED_NAME_MAP_MAP_ANYTYPE) - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String SERIALIZED_NAME_ANYTYPE1 = "anytype_1"; @SerializedName(SERIALIZED_NAME_ANYTYPE1) - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String SERIALIZED_NAME_ANYTYPE2 = "anytype_2"; @SerializedName(SERIALIZED_NAME_ANYTYPE2) - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String SERIALIZED_NAME_ANYTYPE3 = "anytype_3"; @SerializedName(SERIALIZED_NAME_ANYTYPE3) - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -108,7 +98,6 @@ public class AdditionalPropertiesClass { * @return mapString */ @javax.annotation.Nullable - public Map getMapString() { return mapString; } @@ -137,7 +126,6 @@ public class AdditionalPropertiesClass { * @return mapNumber */ @javax.annotation.Nullable - public Map getMapNumber() { return mapNumber; } @@ -166,7 +154,6 @@ public class AdditionalPropertiesClass { * @return mapInteger */ @javax.annotation.Nullable - public Map getMapInteger() { return mapInteger; } @@ -195,7 +182,6 @@ public class AdditionalPropertiesClass { * @return mapBoolean */ @javax.annotation.Nullable - public Map getMapBoolean() { return mapBoolean; } @@ -224,7 +210,6 @@ public class AdditionalPropertiesClass { * @return mapArrayInteger */ @javax.annotation.Nullable - public Map> getMapArrayInteger() { return mapArrayInteger; } @@ -253,7 +238,6 @@ public class AdditionalPropertiesClass { * @return mapArrayAnytype */ @javax.annotation.Nullable - public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -282,7 +266,6 @@ public class AdditionalPropertiesClass { * @return mapMapString */ @javax.annotation.Nullable - public Map> getMapMapString() { return mapMapString; } @@ -311,7 +294,6 @@ public class AdditionalPropertiesClass { * @return mapMapAnytype */ @javax.annotation.Nullable - public Map> getMapMapAnytype() { return mapMapAnytype; } @@ -332,7 +314,6 @@ public class AdditionalPropertiesClass { * @return anytype1 */ @javax.annotation.Nullable - public Object getAnytype1() { return anytype1; } @@ -353,7 +334,6 @@ public class AdditionalPropertiesClass { * @return anytype2 */ @javax.annotation.Nullable - public Object getAnytype2() { return anytype2; } @@ -374,7 +354,6 @@ public class AdditionalPropertiesClass { * @return anytype3 */ @javax.annotation.Nullable - public Object getAnytype3() { return anytype3; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index b3b92e6e227..e22f85f59d7 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesInteger */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesInteger extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index ea8f5b44915..02d9380a3f4 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -29,11 +29,11 @@ import java.util.Map; * AdditionalPropertiesNumber */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -50,7 +50,6 @@ public class AdditionalPropertiesNumber extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 4381139af30..f259d079866 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesObject */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesObject extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index c0682136e73..3c6a3ff3959 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -28,11 +28,11 @@ import java.util.Map; * AdditionalPropertiesString */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -49,7 +49,6 @@ public class AdditionalPropertiesString extends HashMap { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java index fc0306d2f68..37b1f65c3a4 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java @@ -26,16 +26,15 @@ import java.io.IOException; * Animal */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Animal { public static final String SERIALIZED_NAME_CLASS_NAME = "className"; @SerializedName(SERIALIZED_NAME_CLASS_NAME) - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String SERIALIZED_NAME_COLOR = "color"; @SerializedName(SERIALIZED_NAME_COLOR) - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -51,7 +50,6 @@ public class Animal { * @return className */ @javax.annotation.Nonnull - public String getClassName() { return className; } @@ -72,7 +70,6 @@ public class Animal { * @return color */ @javax.annotation.Nullable - public String getColor() { return color; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 312bce79cac..32b34471f4c 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_NUMBER) - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfArrayOfNumberOnly { * @return arrayArrayNumber */ @javax.annotation.Nullable - public List> getArrayArrayNumber() { return arrayArrayNumber; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 9d266ae3636..dda7f5d5f7e 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -30,11 +30,11 @@ import java.util.List; * ArrayOfNumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String SERIALIZED_NAME_ARRAY_NUMBER = "ArrayNumber"; @SerializedName(SERIALIZED_NAME_ARRAY_NUMBER) - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -58,7 +58,6 @@ public class ArrayOfNumberOnly { * @return arrayNumber */ @javax.annotation.Nullable - public List getArrayNumber() { return arrayNumber; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayTest.java index 085ae37c1cf..92f653ab496 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -30,21 +30,19 @@ import org.openapitools.client.model.ReadOnlyFirst; * ArrayTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String SERIALIZED_NAME_ARRAY_OF_STRING = "array_of_string"; @SerializedName(SERIALIZED_NAME_ARRAY_OF_STRING) - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_INTEGER) - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; @SerializedName(SERIALIZED_NAME_ARRAY_ARRAY_OF_MODEL) - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -68,7 +66,6 @@ public class ArrayTest { * @return arrayOfString */ @javax.annotation.Nullable - public List getArrayOfString() { return arrayOfString; } @@ -97,7 +94,6 @@ public class ArrayTest { * @return arrayArrayOfInteger */ @javax.annotation.Nullable - public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -126,7 +122,6 @@ public class ArrayTest { * @return arrayArrayOfModel */ @javax.annotation.Nullable - public List> getArrayArrayOfModel() { return arrayArrayOfModel; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/BigCat.java index af2200f1686..da3e3a6fb6b 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/BigCat.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.Cat; * BigCat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class BigCat extends Cat { /** * Gets or Sets kind @@ -78,11 +79,9 @@ public class BigCat extends Cat { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -99,7 +98,6 @@ public class BigCat extends Cat { * @return kind */ @javax.annotation.Nullable - public KindEnum getKind() { return kind; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Capitalization.java index 9d5577818a3..a18bf4b4b91 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Capitalization.java @@ -26,36 +26,31 @@ import java.io.IOException; * Capitalization */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String SERIALIZED_NAME_SMALL_CAMEL = "smallCamel"; @SerializedName(SERIALIZED_NAME_SMALL_CAMEL) - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String SERIALIZED_NAME_CAPITAL_CAMEL = "CapitalCamel"; @SerializedName(SERIALIZED_NAME_CAPITAL_CAMEL) - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String SERIALIZED_NAME_SMALL_SNAKE = "small_Snake"; @SerializedName(SERIALIZED_NAME_SMALL_SNAKE) - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String SERIALIZED_NAME_CAPITAL_SNAKE = "Capital_Snake"; @SerializedName(SERIALIZED_NAME_CAPITAL_SNAKE) - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; @SerializedName(SERIALIZED_NAME_SC_A_E_T_H_FLOW_POINTS) - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String SERIALIZED_NAME_A_T_T_N_A_M_E = "ATT_NAME"; @SerializedName(SERIALIZED_NAME_A_T_T_N_A_M_E) - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -71,7 +66,6 @@ public class Capitalization { * @return smallCamel */ @javax.annotation.Nullable - public String getSmallCamel() { return smallCamel; } @@ -92,7 +86,6 @@ public class Capitalization { * @return capitalCamel */ @javax.annotation.Nullable - public String getCapitalCamel() { return capitalCamel; } @@ -113,7 +106,6 @@ public class Capitalization { * @return smallSnake */ @javax.annotation.Nullable - public String getSmallSnake() { return smallSnake; } @@ -134,7 +126,6 @@ public class Capitalization { * @return capitalSnake */ @javax.annotation.Nullable - public String getCapitalSnake() { return capitalSnake; } @@ -155,7 +146,6 @@ public class Capitalization { * @return scAETHFlowPoints */ @javax.annotation.Nullable - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -176,7 +166,6 @@ public class Capitalization { * @return ATT_NAME */ @javax.annotation.Nullable - public String getATTNAME() { return ATT_NAME; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Cat.java index 45f1a7a35a4..92c61a364e9 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Cat.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Cat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Cat extends Animal { public static final String SERIALIZED_NAME_DECLAWED = "declawed"; @SerializedName(SERIALIZED_NAME_DECLAWED) - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -48,7 +48,6 @@ public class Cat extends Animal { * @return declawed */ @javax.annotation.Nullable - public Boolean getDeclawed() { return declawed; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java index 644b24f3622..291af2a0ed0 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java @@ -26,16 +26,15 @@ import java.io.IOException; * Category */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -51,7 +50,6 @@ public class Category { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Category { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ClassModel.java index 862d2f79463..c4bd3479593 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ClassModel.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing model with \"_class\" property */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String SERIALIZED_NAME_PROPERTY_CLASS = "_class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -46,7 +46,6 @@ public class ClassModel { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Client.java index 71f9b680f0e..f9c124e419e 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Client.java @@ -26,11 +26,11 @@ import java.io.IOException; * Client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String SERIALIZED_NAME_CLIENT = "client"; @SerializedName(SERIALIZED_NAME_CLIENT) - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -46,7 +46,6 @@ public class Client { * @return client */ @javax.annotation.Nullable - public String getClient() { return client; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Dog.java index 27772815700..0849981692f 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Dog.java @@ -27,11 +27,11 @@ import org.openapitools.client.model.Animal; * Dog */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Dog extends Animal { public static final String SERIALIZED_NAME_BREED = "breed"; @SerializedName(SERIALIZED_NAME_BREED) - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -48,7 +48,6 @@ public class Dog extends Animal { * @return breed */ @javax.annotation.Nullable - public String getBreed() { return breed; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumArrays.java index ec837ff1b2e..f6d4411efe7 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -29,6 +29,7 @@ import java.util.List; * EnumArrays */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -76,11 +77,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -128,11 +127,9 @@ public class EnumArrays { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -148,7 +145,6 @@ public class EnumArrays { * @return justSymbol */ @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -177,7 +173,6 @@ public class EnumArrays { * @return arrayEnum */ @javax.annotation.Nullable - public List getArrayEnum() { return arrayEnum; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java index cef08bf0628..f81aeb2cbbd 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java @@ -27,6 +27,7 @@ import org.openapitools.client.model.OuterEnum; * EnumTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -76,11 +77,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -130,11 +129,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -182,11 +179,9 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -234,16 +229,13 @@ public class EnumTest { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String SERIALIZED_NAME_OUTER_ENUM = "outerEnum"; @SerializedName(SERIALIZED_NAME_OUTER_ENUM) - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -259,7 +251,6 @@ public class EnumTest { * @return enumString */ @javax.annotation.Nullable - public EnumStringEnum getEnumString() { return enumString; } @@ -280,7 +271,6 @@ public class EnumTest { * @return enumStringRequired */ @javax.annotation.Nonnull - public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -301,7 +291,6 @@ public class EnumTest { * @return enumInteger */ @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -322,7 +311,6 @@ public class EnumTest { * @return enumNumber */ @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -343,7 +331,6 @@ public class EnumTest { * @return outerEnum */ @javax.annotation.Nullable - public OuterEnum getOuterEnum() { return outerEnum; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index df6dacaa1f7..d9c4397fac0 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -30,16 +30,15 @@ import org.openapitools.client.model.ModelFile; * FileSchemaTestClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String SERIALIZED_NAME_FILE = "file"; @SerializedName(SERIALIZED_NAME_FILE) - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String SERIALIZED_NAME_FILES = "files"; @SerializedName(SERIALIZED_NAME_FILES) - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -55,7 +54,6 @@ public class FileSchemaTestClass { * @return _file */ @javax.annotation.Nullable - public ModelFile getFile() { return _file; } @@ -84,7 +82,6 @@ public class FileSchemaTestClass { * @return files */ @javax.annotation.Nullable - public List getFiles() { return files; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java index 6c59071c375..7ee6bf99b60 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java @@ -31,76 +31,63 @@ import java.util.UUID; * FormatTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String SERIALIZED_NAME_INTEGER = "integer"; @SerializedName(SERIALIZED_NAME_INTEGER) - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String SERIALIZED_NAME_INT32 = "int32"; @SerializedName(SERIALIZED_NAME_INT32) - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String SERIALIZED_NAME_INT64 = "int64"; @SerializedName(SERIALIZED_NAME_INT64) - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String SERIALIZED_NAME_FLOAT = "float"; @SerializedName(SERIALIZED_NAME_FLOAT) - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String SERIALIZED_NAME_DOUBLE = "double"; @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String SERIALIZED_NAME_STRING = "string"; @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String SERIALIZED_NAME_BYTE = "byte"; @SerializedName(SERIALIZED_NAME_BYTE) - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String SERIALIZED_NAME_BINARY = "binary"; @SerializedName(SERIALIZED_NAME_BINARY) - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String SERIALIZED_NAME_DATE = "date"; @SerializedName(SERIALIZED_NAME_DATE) - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal"; @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -118,7 +105,6 @@ public class FormatTest { * @return integer */ @javax.annotation.Nullable - public Integer getInteger() { return integer; } @@ -141,7 +127,6 @@ public class FormatTest { * @return int32 */ @javax.annotation.Nullable - public Integer getInt32() { return int32; } @@ -162,7 +147,6 @@ public class FormatTest { * @return int64 */ @javax.annotation.Nullable - public Long getInt64() { return int64; } @@ -185,7 +169,6 @@ public class FormatTest { * @return number */ @javax.annotation.Nonnull - public BigDecimal getNumber() { return number; } @@ -208,7 +191,6 @@ public class FormatTest { * @return _float */ @javax.annotation.Nullable - public Float getFloat() { return _float; } @@ -231,7 +213,6 @@ public class FormatTest { * @return _double */ @javax.annotation.Nullable - public Double getDouble() { return _double; } @@ -252,7 +233,6 @@ public class FormatTest { * @return string */ @javax.annotation.Nullable - public String getString() { return string; } @@ -273,7 +253,6 @@ public class FormatTest { * @return _byte */ @javax.annotation.Nonnull - public byte[] getByte() { return _byte; } @@ -294,7 +273,6 @@ public class FormatTest { * @return binary */ @javax.annotation.Nullable - public File getBinary() { return binary; } @@ -315,7 +293,6 @@ public class FormatTest { * @return date */ @javax.annotation.Nonnull - public LocalDate getDate() { return date; } @@ -336,7 +313,6 @@ public class FormatTest { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -357,7 +333,6 @@ public class FormatTest { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -378,7 +353,6 @@ public class FormatTest { * @return password */ @javax.annotation.Nonnull - public String getPassword() { return password; } @@ -399,7 +373,6 @@ public class FormatTest { * @return bigDecimal */ @javax.annotation.Nullable - public BigDecimal getBigDecimal() { return bigDecimal; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 99cfb90c57c..46a22b12331 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -26,16 +26,15 @@ import java.io.IOException; * HasOnlyReadOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_FOO = "foo"; @SerializedName(SERIALIZED_NAME_FOO) - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -57,7 +56,6 @@ public class HasOnlyReadOnly { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -69,7 +67,6 @@ public class HasOnlyReadOnly { * @return foo */ @javax.annotation.Nullable - public String getFoo() { return foo; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MapTest.java index 8c0599df912..c01ee859bcd 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MapTest.java @@ -28,11 +28,11 @@ import java.util.Map; * MapTest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String SERIALIZED_NAME_MAP_MAP_OF_STRING = "map_map_of_string"; @SerializedName(SERIALIZED_NAME_MAP_MAP_OF_STRING) - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -80,21 +80,17 @@ public class MapTest { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String SERIALIZED_NAME_DIRECT_MAP = "direct_map"; @SerializedName(SERIALIZED_NAME_DIRECT_MAP) - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String SERIALIZED_NAME_INDIRECT_MAP = "indirect_map"; @SerializedName(SERIALIZED_NAME_INDIRECT_MAP) - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -118,7 +114,6 @@ public class MapTest { * @return mapMapOfString */ @javax.annotation.Nullable - public Map> getMapMapOfString() { return mapMapOfString; } @@ -147,7 +142,6 @@ public class MapTest { * @return mapOfEnumString */ @javax.annotation.Nullable - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -176,7 +170,6 @@ public class MapTest { * @return directMap */ @javax.annotation.Nullable - public Map getDirectMap() { return directMap; } @@ -205,7 +198,6 @@ public class MapTest { * @return indirectMap */ @javax.annotation.Nullable - public Map getIndirectMap() { return indirectMap; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index d092e0b0c48..85adf4cec92 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -31,21 +31,19 @@ import org.openapitools.client.model.Animal; * MixedPropertiesAndAdditionalPropertiesClass */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String SERIALIZED_NAME_DATE_TIME = "dateTime"; @SerializedName(SERIALIZED_NAME_DATE_TIME) - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String SERIALIZED_NAME_MAP = "map"; @SerializedName(SERIALIZED_NAME_MAP) - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -61,7 +59,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { return uuid; } @@ -82,7 +79,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return dateTime */ @javax.annotation.Nullable - public OffsetDateTime getDateTime() { return dateTime; } @@ -111,7 +107,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * @return map */ @javax.annotation.Nullable - public Map getMap() { return map; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Model200Response.java index d3be6fce2e7..884ca664e2a 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Model200Response.java @@ -26,16 +26,15 @@ import java.io.IOException; * Model for testing model name starting with number */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -51,7 +50,6 @@ public class Model200Response { * @return name */ @javax.annotation.Nullable - public Integer getName() { return name; } @@ -72,7 +70,6 @@ public class Model200Response { * @return propertyClass */ @javax.annotation.Nullable - public String getPropertyClass() { return propertyClass; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 14fa3f08aed..68aed9325d1 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -26,21 +26,19 @@ import java.io.IOException; * ModelApiResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -56,7 +54,6 @@ public class ModelApiResponse { * @return code */ @javax.annotation.Nullable - public Integer getCode() { return code; } @@ -77,7 +74,6 @@ public class ModelApiResponse { * @return type */ @javax.annotation.Nullable - public String getType() { return type; } @@ -98,7 +94,6 @@ public class ModelApiResponse { * @return message */ @javax.annotation.Nullable - public String getMessage() { return message; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelFile.java index 46a3d5365b3..e601ac14829 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelFile.java @@ -26,11 +26,11 @@ import java.io.IOException; * Must be named `File` for test. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String SERIALIZED_NAME_SOURCE_U_R_I = "sourceURI"; @SerializedName(SERIALIZED_NAME_SOURCE_U_R_I) - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -46,7 +46,6 @@ public class ModelFile { * @return sourceURI */ @javax.annotation.Nullable - public String getSourceURI() { return sourceURI; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelList.java index 85975144e8e..43508abd363 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelList.java @@ -26,11 +26,11 @@ import java.io.IOException; * ModelList */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String SERIALIZED_NAME_123LIST = "123-list"; @SerializedName(SERIALIZED_NAME_123LIST) - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -46,7 +46,6 @@ public class ModelList { * @return _123list */ @javax.annotation.Nullable - public String get123list() { return _123list; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelReturn.java index 39be3519230..75919cd1a67 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -26,11 +26,11 @@ import java.io.IOException; * Model for testing reserved words */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String SERIALIZED_NAME_RETURN = "return"; @SerializedName(SERIALIZED_NAME_RETURN) - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -46,7 +46,6 @@ public class ModelReturn { * @return _return */ @javax.annotation.Nullable - public Integer getReturn() { return _return; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java index 568ff8a20d1..9199241f141 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java @@ -26,26 +26,23 @@ import java.io.IOException; * Model for testing model name same as property name */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String SERIALIZED_NAME_SNAKE_CASE = "snake_case"; @SerializedName(SERIALIZED_NAME_SNAKE_CASE) - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String SERIALIZED_NAME_PROPERTY = "property"; @SerializedName(SERIALIZED_NAME_PROPERTY) - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String SERIALIZED_NAME_123NUMBER = "123Number"; @SerializedName(SERIALIZED_NAME_123NUMBER) - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -73,7 +70,6 @@ public class Name { * @return name */ @javax.annotation.Nonnull - public Integer getName() { return name; } @@ -88,7 +84,6 @@ public class Name { * @return snakeCase */ @javax.annotation.Nullable - public Integer getSnakeCase() { return snakeCase; } @@ -106,7 +101,6 @@ public class Name { * @return property */ @javax.annotation.Nullable - public String getProperty() { return property; } @@ -121,7 +115,6 @@ public class Name { * @return _123number */ @javax.annotation.Nullable - public Integer get123number() { return _123number; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/NumberOnly.java index e0a06c9ddee..8da73a01c88 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -27,11 +27,11 @@ import java.math.BigDecimal; * NumberOnly */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String SERIALIZED_NAME_JUST_NUMBER = "JustNumber"; @SerializedName(SERIALIZED_NAME_JUST_NUMBER) - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -47,7 +47,6 @@ public class NumberOnly { * @return justNumber */ @javax.annotation.Nullable - public BigDecimal getJustNumber() { return justNumber; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Order.java index a0d68146490..3ce41856290 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Order.java @@ -27,26 +27,23 @@ import java.time.OffsetDateTime; * Order */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_PET_ID = "petId"; @SerializedName(SERIALIZED_NAME_PET_ID) - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String SERIALIZED_NAME_QUANTITY = "quantity"; @SerializedName(SERIALIZED_NAME_QUANTITY) - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String SERIALIZED_NAME_SHIP_DATE = "shipDate"; @SerializedName(SERIALIZED_NAME_SHIP_DATE) - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -96,16 +93,13 @@ public class Order { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String SERIALIZED_NAME_COMPLETE = "complete"; @SerializedName(SERIALIZED_NAME_COMPLETE) - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -121,7 +115,6 @@ public class Order { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -142,7 +135,6 @@ public class Order { * @return petId */ @javax.annotation.Nullable - public Long getPetId() { return petId; } @@ -163,7 +155,6 @@ public class Order { * @return quantity */ @javax.annotation.Nullable - public Integer getQuantity() { return quantity; } @@ -184,7 +175,6 @@ public class Order { * @return shipDate */ @javax.annotation.Nullable - public OffsetDateTime getShipDate() { return shipDate; } @@ -205,7 +195,6 @@ public class Order { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } @@ -226,7 +215,6 @@ public class Order { * @return complete */ @javax.annotation.Nullable - public Boolean getComplete() { return complete; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/OuterComposite.java index 4fd0d4035ca..11873cc1ca5 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -27,21 +27,19 @@ import java.math.BigDecimal; * OuterComposite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String SERIALIZED_NAME_MY_NUMBER = "my_number"; @SerializedName(SERIALIZED_NAME_MY_NUMBER) - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String SERIALIZED_NAME_MY_STRING = "my_string"; @SerializedName(SERIALIZED_NAME_MY_STRING) - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String SERIALIZED_NAME_MY_BOOLEAN = "my_boolean"; @SerializedName(SERIALIZED_NAME_MY_BOOLEAN) - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -57,7 +55,6 @@ public class OuterComposite { * @return myNumber */ @javax.annotation.Nullable - public BigDecimal getMyNumber() { return myNumber; } @@ -78,7 +75,6 @@ public class OuterComposite { * @return myString */ @javax.annotation.Nullable - public String getMyString() { return myString; } @@ -99,7 +95,6 @@ public class OuterComposite { * @return myBoolean */ @javax.annotation.Nullable - public Boolean getMyBoolean() { return myBoolean; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java index ff5b80cb4d2..794c4789e48 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java @@ -33,31 +33,27 @@ import org.openapitools.client.model.Tag; * Pet */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_CATEGORY = "category"; @SerializedName(SERIALIZED_NAME_CATEGORY) - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String SERIALIZED_NAME_PHOTO_URLS = "photoUrls"; @SerializedName(SERIALIZED_NAME_PHOTO_URLS) - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -107,11 +103,9 @@ public class Pet { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -127,7 +121,6 @@ public class Pet { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -148,7 +141,6 @@ public class Pet { * @return category */ @javax.annotation.Nullable - public Category getCategory() { return category; } @@ -169,7 +161,6 @@ public class Pet { * @return name */ @javax.annotation.Nonnull - public String getName() { return name; } @@ -198,7 +189,6 @@ public class Pet { * @return photoUrls */ @javax.annotation.Nonnull - public Set getPhotoUrls() { return photoUrls; } @@ -227,7 +217,6 @@ public class Pet { * @return tags */ @javax.annotation.Nullable - public List getTags() { return tags; } @@ -248,7 +237,6 @@ public class Pet { * @return status */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 374fce7ae20..acf7ba2f451 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -26,16 +26,15 @@ import java.io.IOException; * ReadOnlyFirst */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String SERIALIZED_NAME_BAR = "bar"; @SerializedName(SERIALIZED_NAME_BAR) - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String SERIALIZED_NAME_BAZ = "baz"; @SerializedName(SERIALIZED_NAME_BAZ) - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -55,7 +54,6 @@ public class ReadOnlyFirst { * @return bar */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -73,7 +71,6 @@ public class ReadOnlyFirst { * @return baz */ @javax.annotation.Nullable - public String getBaz() { return baz; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/SpecialModelName.java index f7c1b083728..ff5f0a4fadd 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -26,11 +26,11 @@ import java.io.IOException; * SpecialModelName */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; @SerializedName(SERIALIZED_NAME_$_SPECIAL_PROPERTY_NAME) - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -46,7 +46,6 @@ public class SpecialModelName { * @return $specialPropertyName */ @javax.annotation.Nullable - public Long get$SpecialPropertyName() { return $specialPropertyName; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Tag.java index ee88c867e6d..3af42143059 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Tag.java @@ -26,16 +26,15 @@ import java.io.IOException; * Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -51,7 +50,6 @@ public class Tag { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -72,7 +70,6 @@ public class Tag { * @return name */ @javax.annotation.Nullable - public String getName() { return name; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 72de8399c0f..3151aa3fbcf 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -30,31 +30,27 @@ import java.util.List; * TypeHolderDefault */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -70,7 +66,6 @@ public class TypeHolderDefault { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -91,7 +86,6 @@ public class TypeHolderDefault { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -112,7 +106,6 @@ public class TypeHolderDefault { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -133,7 +126,6 @@ public class TypeHolderDefault { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -162,7 +154,6 @@ public class TypeHolderDefault { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 9c92fcd4ebc..525e1e2f2c5 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -30,36 +30,31 @@ import java.util.List; * TypeHolderExample */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String SERIALIZED_NAME_STRING_ITEM = "string_item"; @SerializedName(SERIALIZED_NAME_STRING_ITEM) - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String SERIALIZED_NAME_NUMBER_ITEM = "number_item"; @SerializedName(SERIALIZED_NAME_NUMBER_ITEM) - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String SERIALIZED_NAME_FLOAT_ITEM = "float_item"; @SerializedName(SERIALIZED_NAME_FLOAT_ITEM) - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String SERIALIZED_NAME_INTEGER_ITEM = "integer_item"; @SerializedName(SERIALIZED_NAME_INTEGER_ITEM) - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String SERIALIZED_NAME_BOOL_ITEM = "bool_item"; @SerializedName(SERIALIZED_NAME_BOOL_ITEM) - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String SERIALIZED_NAME_ARRAY_ITEM = "array_item"; @SerializedName(SERIALIZED_NAME_ARRAY_ITEM) - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -75,7 +70,6 @@ public class TypeHolderExample { * @return stringItem */ @javax.annotation.Nonnull - public String getStringItem() { return stringItem; } @@ -96,7 +90,6 @@ public class TypeHolderExample { * @return numberItem */ @javax.annotation.Nonnull - public BigDecimal getNumberItem() { return numberItem; } @@ -117,7 +110,6 @@ public class TypeHolderExample { * @return floatItem */ @javax.annotation.Nonnull - public Float getFloatItem() { return floatItem; } @@ -138,7 +130,6 @@ public class TypeHolderExample { * @return integerItem */ @javax.annotation.Nonnull - public Integer getIntegerItem() { return integerItem; } @@ -159,7 +150,6 @@ public class TypeHolderExample { * @return boolItem */ @javax.annotation.Nonnull - public Boolean getBoolItem() { return boolItem; } @@ -188,7 +178,6 @@ public class TypeHolderExample { * @return arrayItem */ @javax.annotation.Nonnull - public List getArrayItem() { return arrayItem; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java index 6f7346a43f3..8148d3ccc59 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/User.java @@ -26,46 +26,39 @@ import java.io.IOException; * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_FIRST_NAME = "firstName"; @SerializedName(SERIALIZED_NAME_FIRST_NAME) - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String SERIALIZED_NAME_LAST_NAME = "lastName"; @SerializedName(SERIALIZED_NAME_LAST_NAME) - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_PHONE = "phone"; @SerializedName(SERIALIZED_NAME_PHONE) - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String SERIALIZED_NAME_USER_STATUS = "userStatus"; @SerializedName(SERIALIZED_NAME_USER_STATUS) - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -81,7 +74,6 @@ public class User { * @return id */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -102,7 +94,6 @@ public class User { * @return username */ @javax.annotation.Nullable - public String getUsername() { return username; } @@ -123,7 +114,6 @@ public class User { * @return firstName */ @javax.annotation.Nullable - public String getFirstName() { return firstName; } @@ -144,7 +134,6 @@ public class User { * @return lastName */ @javax.annotation.Nullable - public String getLastName() { return lastName; } @@ -165,7 +154,6 @@ public class User { * @return email */ @javax.annotation.Nullable - public String getEmail() { return email; } @@ -186,7 +174,6 @@ public class User { * @return password */ @javax.annotation.Nullable - public String getPassword() { return password; } @@ -207,7 +194,6 @@ public class User { * @return phone */ @javax.annotation.Nullable - public String getPhone() { return phone; } @@ -228,7 +214,6 @@ public class User { * @return userStatus */ @javax.annotation.Nullable - public Integer getUserStatus() { return userStatus; } diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/XmlItem.java index ba4045a781b..ad32b3994b9 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/XmlItem.java @@ -30,151 +30,123 @@ import java.util.List; * XmlItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String SERIALIZED_NAME_ATTRIBUTE_STRING = "attribute_string"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_STRING) - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String SERIALIZED_NAME_ATTRIBUTE_NUMBER = "attribute_number"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_NUMBER) - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String SERIALIZED_NAME_ATTRIBUTE_INTEGER = "attribute_integer"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_INTEGER) - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String SERIALIZED_NAME_ATTRIBUTE_BOOLEAN = "attribute_boolean"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_BOOLEAN) - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String SERIALIZED_NAME_WRAPPED_ARRAY = "wrapped_array"; @SerializedName(SERIALIZED_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_STRING = "name_string"; @SerializedName(SERIALIZED_NAME_NAME_STRING) - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String SERIALIZED_NAME_NAME_NUMBER = "name_number"; @SerializedName(SERIALIZED_NAME_NAME_NUMBER) - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String SERIALIZED_NAME_NAME_INTEGER = "name_integer"; @SerializedName(SERIALIZED_NAME_NAME_INTEGER) - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String SERIALIZED_NAME_NAME_BOOLEAN = "name_boolean"; @SerializedName(SERIALIZED_NAME_NAME_BOOLEAN) - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String SERIALIZED_NAME_NAME_ARRAY = "name_array"; @SerializedName(SERIALIZED_NAME_NAME_ARRAY) - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAME_WRAPPED_ARRAY = "name_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAME_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_STRING = "prefix_string"; @SerializedName(SERIALIZED_NAME_PREFIX_STRING) - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String SERIALIZED_NAME_PREFIX_NUMBER = "prefix_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String SERIALIZED_NAME_PREFIX_INTEGER = "prefix_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_INTEGER) - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String SERIALIZED_NAME_PREFIX_BOOLEAN = "prefix_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String SERIALIZED_NAME_PREFIX_ARRAY = "prefix_array"; @SerializedName(SERIALIZED_NAME_PREFIX_ARRAY) - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_STRING = "namespace_string"; @SerializedName(SERIALIZED_NAME_NAMESPACE_STRING) - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String SERIALIZED_NAME_NAMESPACE_NUMBER = "namespace_number"; @SerializedName(SERIALIZED_NAME_NAMESPACE_NUMBER) - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String SERIALIZED_NAME_NAMESPACE_INTEGER = "namespace_integer"; @SerializedName(SERIALIZED_NAME_NAMESPACE_INTEGER) - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String SERIALIZED_NAME_NAMESPACE_BOOLEAN = "namespace_boolean"; @SerializedName(SERIALIZED_NAME_NAMESPACE_BOOLEAN) - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String SERIALIZED_NAME_NAMESPACE_ARRAY = "namespace_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_ARRAY) - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; @SerializedName(SERIALIZED_NAME_NAMESPACE_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_STRING = "prefix_ns_string"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_STRING) - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String SERIALIZED_NAME_PREFIX_NS_NUMBER = "prefix_ns_number"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_NUMBER) - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String SERIALIZED_NAME_PREFIX_NS_INTEGER = "prefix_ns_integer"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_INTEGER) - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String SERIALIZED_NAME_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_BOOLEAN) - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String SERIALIZED_NAME_PREFIX_NS_ARRAY = "prefix_ns_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_ARRAY) - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; @SerializedName(SERIALIZED_NAME_PREFIX_NS_WRAPPED_ARRAY) - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -190,7 +162,6 @@ public class XmlItem { * @return attributeString */ @javax.annotation.Nullable - public String getAttributeString() { return attributeString; } @@ -211,7 +182,6 @@ public class XmlItem { * @return attributeNumber */ @javax.annotation.Nullable - public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -232,7 +202,6 @@ public class XmlItem { * @return attributeInteger */ @javax.annotation.Nullable - public Integer getAttributeInteger() { return attributeInteger; } @@ -253,7 +222,6 @@ public class XmlItem { * @return attributeBoolean */ @javax.annotation.Nullable - public Boolean getAttributeBoolean() { return attributeBoolean; } @@ -282,7 +250,6 @@ public class XmlItem { * @return wrappedArray */ @javax.annotation.Nullable - public List getWrappedArray() { return wrappedArray; } @@ -303,7 +270,6 @@ public class XmlItem { * @return nameString */ @javax.annotation.Nullable - public String getNameString() { return nameString; } @@ -324,7 +290,6 @@ public class XmlItem { * @return nameNumber */ @javax.annotation.Nullable - public BigDecimal getNameNumber() { return nameNumber; } @@ -345,7 +310,6 @@ public class XmlItem { * @return nameInteger */ @javax.annotation.Nullable - public Integer getNameInteger() { return nameInteger; } @@ -366,7 +330,6 @@ public class XmlItem { * @return nameBoolean */ @javax.annotation.Nullable - public Boolean getNameBoolean() { return nameBoolean; } @@ -395,7 +358,6 @@ public class XmlItem { * @return nameArray */ @javax.annotation.Nullable - public List getNameArray() { return nameArray; } @@ -424,7 +386,6 @@ public class XmlItem { * @return nameWrappedArray */ @javax.annotation.Nullable - public List getNameWrappedArray() { return nameWrappedArray; } @@ -445,7 +406,6 @@ public class XmlItem { * @return prefixString */ @javax.annotation.Nullable - public String getPrefixString() { return prefixString; } @@ -466,7 +426,6 @@ public class XmlItem { * @return prefixNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -487,7 +446,6 @@ public class XmlItem { * @return prefixInteger */ @javax.annotation.Nullable - public Integer getPrefixInteger() { return prefixInteger; } @@ -508,7 +466,6 @@ public class XmlItem { * @return prefixBoolean */ @javax.annotation.Nullable - public Boolean getPrefixBoolean() { return prefixBoolean; } @@ -537,7 +494,6 @@ public class XmlItem { * @return prefixArray */ @javax.annotation.Nullable - public List getPrefixArray() { return prefixArray; } @@ -566,7 +522,6 @@ public class XmlItem { * @return prefixWrappedArray */ @javax.annotation.Nullable - public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -587,7 +542,6 @@ public class XmlItem { * @return namespaceString */ @javax.annotation.Nullable - public String getNamespaceString() { return namespaceString; } @@ -608,7 +562,6 @@ public class XmlItem { * @return namespaceNumber */ @javax.annotation.Nullable - public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -629,7 +582,6 @@ public class XmlItem { * @return namespaceInteger */ @javax.annotation.Nullable - public Integer getNamespaceInteger() { return namespaceInteger; } @@ -650,7 +602,6 @@ public class XmlItem { * @return namespaceBoolean */ @javax.annotation.Nullable - public Boolean getNamespaceBoolean() { return namespaceBoolean; } @@ -679,7 +630,6 @@ public class XmlItem { * @return namespaceArray */ @javax.annotation.Nullable - public List getNamespaceArray() { return namespaceArray; } @@ -708,7 +658,6 @@ public class XmlItem { * @return namespaceWrappedArray */ @javax.annotation.Nullable - public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -729,7 +678,6 @@ public class XmlItem { * @return prefixNsString */ @javax.annotation.Nullable - public String getPrefixNsString() { return prefixNsString; } @@ -750,7 +698,6 @@ public class XmlItem { * @return prefixNsNumber */ @javax.annotation.Nullable - public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -771,7 +718,6 @@ public class XmlItem { * @return prefixNsInteger */ @javax.annotation.Nullable - public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -792,7 +738,6 @@ public class XmlItem { * @return prefixNsBoolean */ @javax.annotation.Nullable - public Boolean getPrefixNsBoolean() { return prefixNsBoolean; } @@ -821,7 +766,6 @@ public class XmlItem { * @return prefixNsArray */ @javax.annotation.Nullable - public List getPrefixNsArray() { return prefixNsArray; } @@ -850,7 +794,6 @@ public class XmlItem { * @return prefixNsWrappedArray */ @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index 9debf0e54b4..86207d66fc3 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesAnyType.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesAnyType extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesAnyType() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesAnyType extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java index 0ca63318ea1..973aa96ab5c 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesArray.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesArray.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesArray extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesArray() { @@ -52,8 +52,7 @@ public class AdditionalPropertiesArray extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java index 19809899899..345ef2db7d2 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesBoolean.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesBoolean.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesBoolean extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesBoolean() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesBoolean extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index fe25bc34ed8..95b20ab1c45 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -44,50 +44,40 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesClass.JSON_PROPERTY_ANYTYPE3 }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_STRING = "map_string"; - @javax.annotation.Nullable - private Map mapString = new HashMap<>(); + @javax.annotation.Nullable private Map mapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_NUMBER = "map_number"; - @javax.annotation.Nullable - private Map mapNumber = new HashMap<>(); + @javax.annotation.Nullable private Map mapNumber = new HashMap<>(); public static final String JSON_PROPERTY_MAP_INTEGER = "map_integer"; - @javax.annotation.Nullable - private Map mapInteger = new HashMap<>(); + @javax.annotation.Nullable private Map mapInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_BOOLEAN = "map_boolean"; - @javax.annotation.Nullable - private Map mapBoolean = new HashMap<>(); + @javax.annotation.Nullable private Map mapBoolean = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_INTEGER = "map_array_integer"; - @javax.annotation.Nullable - private Map> mapArrayInteger = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayInteger = new HashMap<>(); public static final String JSON_PROPERTY_MAP_ARRAY_ANYTYPE = "map_array_anytype"; - @javax.annotation.Nullable - private Map> mapArrayAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapArrayAnytype = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_STRING = "map_map_string"; - @javax.annotation.Nullable - private Map> mapMapString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapString = new HashMap<>(); public static final String JSON_PROPERTY_MAP_MAP_ANYTYPE = "map_map_anytype"; - @javax.annotation.Nullable - private Map> mapMapAnytype = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapAnytype = new HashMap<>(); public static final String JSON_PROPERTY_ANYTYPE1 = "anytype_1"; - @javax.annotation.Nullable - private Object anytype1; + @javax.annotation.Nullable private Object anytype1; public static final String JSON_PROPERTY_ANYTYPE2 = "anytype_2"; - @javax.annotation.Nullable - private Object anytype2; + @javax.annotation.Nullable private Object anytype2; public static final String JSON_PROPERTY_ANYTYPE3 = "anytype_3"; - @javax.annotation.Nullable - private Object anytype3; + @javax.annotation.Nullable private Object anytype3; public AdditionalPropertiesClass() { } @@ -110,8 +100,7 @@ public class AdditionalPropertiesClass { * Get mapString * @return mapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapString() { @@ -143,8 +132,7 @@ public class AdditionalPropertiesClass { * Get mapNumber * @return mapNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapNumber() { @@ -176,8 +164,7 @@ public class AdditionalPropertiesClass { * Get mapInteger * @return mapInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapInteger() { @@ -209,8 +196,7 @@ public class AdditionalPropertiesClass { * Get mapBoolean * @return mapBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapBoolean() { @@ -242,8 +228,7 @@ public class AdditionalPropertiesClass { * Get mapArrayInteger * @return mapArrayInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayInteger() { @@ -275,8 +260,7 @@ public class AdditionalPropertiesClass { * Get mapArrayAnytype * @return mapArrayAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapArrayAnytype() { @@ -308,8 +292,7 @@ public class AdditionalPropertiesClass { * Get mapMapString * @return mapMapString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapString() { @@ -341,8 +324,7 @@ public class AdditionalPropertiesClass { * Get mapMapAnytype * @return mapMapAnytype */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapAnytype() { @@ -366,8 +348,7 @@ public class AdditionalPropertiesClass { * Get anytype1 * @return anytype1 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE1) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype1() { @@ -391,8 +372,7 @@ public class AdditionalPropertiesClass { * Get anytype2 * @return anytype2 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE2) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype2() { @@ -416,8 +396,7 @@ public class AdditionalPropertiesClass { * Get anytype3 * @return anytype3 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ANYTYPE3) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ANYTYPE3) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Object getAnytype3() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java index 95004c43bea..908c12949c8 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesInteger.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesInteger.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesInteger extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesInteger() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesInteger extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java index 6a2e2be227e..d04cf67a7a7 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesNumber.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesNumber.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesNumber extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesNumber() { @@ -52,8 +52,7 @@ public class AdditionalPropertiesNumber extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java index 5fbc22151d4..99ce043986f 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesObject extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesObject() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesObject extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java index eb29c72010b..4834a62d9e4 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/AdditionalPropertiesString.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesString.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesString extends HashMap { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public AdditionalPropertiesString() { @@ -51,8 +51,7 @@ public class AdditionalPropertiesString extends HashMap { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java index 5e764d85a6c..37483276f39 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,12 +48,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -67,8 +66,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -92,8 +90,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 6f58e325549..c49cc5f2bc5 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index f3d46916faa..4b662a61dbc 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java index 771578abd0a..c9b8d66152d 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java index 073996fa7a0..4f340150c8b 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/BigCat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; BigCat.JSON_PROPERTY_KIND }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -79,10 +80,8 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; - @javax.annotation.Nullable - private KindEnum kind; + @javax.annotation.Nullable private KindEnum kind; public BigCat() { @@ -98,8 +97,7 @@ public class BigCat extends Cat { * Get kind * @return kind */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_KIND) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public KindEnum getKind() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java index 6cd94422b1c..e34fd05e3c3 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Cat.java index ca385024c9d..7eeca2cbb16 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -45,8 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - protected Boolean declawed; + @javax.annotation.Nullable protected Boolean declawed; public Cat() { @@ -62,8 +62,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java index 50b6ff1d6a2..46b862b17d1 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java index dbf6964fdad..ad6952b6eb7 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Client.java index 0be09220e7d..9614edc8acc 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Dog.java index 8004beff975..77e5abc774b 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java index 42c505b1189..8578245ac91 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java index a5667a13859..575301e41b9 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java @@ -36,6 +36,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -73,10 +74,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -114,10 +113,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -153,10 +150,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -192,14 +187,11 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private OuterEnum outerEnum; + @javax.annotation.Nullable private OuterEnum outerEnum; public EnumTest() { } @@ -214,8 +206,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -239,8 +230,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -264,8 +254,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -289,8 +278,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -314,8 +302,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnum getOuterEnum() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 6c10cc7d053..a033667c462 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java index ff518a3770f..4a698c20466 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java @@ -49,62 +49,49 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private AsyncFile binary; + @javax.annotation.Nullable private AsyncFile binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal"; - @javax.annotation.Nullable - private BigDecimal bigDecimal; + @javax.annotation.Nullable private BigDecimal bigDecimal; public FormatTest() { } @@ -121,8 +108,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -148,8 +134,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -173,8 +158,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -200,8 +184,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -227,8 +210,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -254,8 +236,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -279,8 +260,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -304,8 +284,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -329,8 +308,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AsyncFile getBinary() { @@ -354,8 +332,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -379,8 +356,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -404,8 +380,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -429,8 +404,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -454,8 +428,7 @@ public class FormatTest { * Get bigDecimal * @return bigDecimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BIG_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getBigDecimal() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 6dc15593463..ae4b6ba19d1 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java index 03fcf621421..cf65489efd5 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 27b5ebbd852..402e91a9a0b 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java index 0b83c601140..dcd9d4a0b91 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0938a865de4..01a8f08a5e4 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelFile.java index 73f5779de22..5f6966cf7b2 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java index f8d50bc1762..ce8b0d97672 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java index 314794ba50b..0496b4e8ac6 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java index 4789044c853..45a18bdb047 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java index 341017c96d2..b3d7cd4222f 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Order.java index 0136b2dcc83..834d17fb706 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java index c9b0b884ef2..b1979a9e65d 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java index 8cfe9533fe1..dff2cdd7187 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e0e1e8bb4bb..7fd8fc08906 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java index 74687fe9f3b..ef5f1a8cea7 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("$special[model.name]") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Tag.java index ebcb558efe5..027b8542d35 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index af3db948412..0f6bc121797 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -38,26 +38,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; TypeHolderDefault.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderDefault { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem = "what"; + @javax.annotation.Nonnull private String stringItem = "what"; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem = true; + @javax.annotation.Nonnull private Boolean boolItem = true; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderDefault() { } @@ -72,8 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -97,8 +92,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -122,8 +116,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -147,8 +140,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean getBoolItem() { @@ -180,8 +172,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java index ba7a6d198a2..81249dce027 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -39,30 +39,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; TypeHolderExample.JSON_PROPERTY_ARRAY_ITEM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TypeHolderExample { public static final String JSON_PROPERTY_STRING_ITEM = "string_item"; - @javax.annotation.Nonnull - private String stringItem; + @javax.annotation.Nonnull private String stringItem; public static final String JSON_PROPERTY_NUMBER_ITEM = "number_item"; - @javax.annotation.Nonnull - private BigDecimal numberItem; + @javax.annotation.Nonnull private BigDecimal numberItem; public static final String JSON_PROPERTY_FLOAT_ITEM = "float_item"; - @javax.annotation.Nonnull - private Float floatItem; + @javax.annotation.Nonnull private Float floatItem; public static final String JSON_PROPERTY_INTEGER_ITEM = "integer_item"; - @javax.annotation.Nonnull - private Integer integerItem; + @javax.annotation.Nonnull private Integer integerItem; public static final String JSON_PROPERTY_BOOL_ITEM = "bool_item"; - @javax.annotation.Nonnull - private Boolean boolItem; + @javax.annotation.Nonnull private Boolean boolItem; public static final String JSON_PROPERTY_ARRAY_ITEM = "array_item"; - @javax.annotation.Nonnull - private List arrayItem = new ArrayList<>(); + @javax.annotation.Nonnull private List arrayItem = new ArrayList<>(); public TypeHolderExample() { } @@ -77,8 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getStringItem() { @@ -102,8 +96,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumberItem() { @@ -127,8 +120,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Float getFloatItem() { @@ -152,8 +144,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getIntegerItem() { @@ -177,8 +168,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Boolean getBoolItem() { @@ -210,8 +200,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) public List getArrayItem() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java index 9d11826fc6b..019c8bd1f88 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/User.java @@ -37,38 +37,31 @@ import com.fasterxml.jackson.annotation.JsonTypeName; User.JSON_PROPERTY_USER_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class User { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_FIRST_NAME = "firstName"; - @javax.annotation.Nullable - private String firstName; + @javax.annotation.Nullable private String firstName; public static final String JSON_PROPERTY_LAST_NAME = "lastName"; - @javax.annotation.Nullable - private String lastName; + @javax.annotation.Nullable private String lastName; public static final String JSON_PROPERTY_EMAIL = "email"; - @javax.annotation.Nullable - private String email; + @javax.annotation.Nullable private String email; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nullable - private String password; + @javax.annotation.Nullable private String password; public static final String JSON_PROPERTY_PHONE = "phone"; - @javax.annotation.Nullable - private String phone; + @javax.annotation.Nullable private String phone; public static final String JSON_PROPERTY_USER_STATUS = "userStatus"; - @javax.annotation.Nullable - private Integer userStatus; + @javax.annotation.Nullable private Integer userStatus; public User() { } @@ -83,8 +76,7 @@ public class User { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -108,8 +100,7 @@ public class User { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -133,8 +124,7 @@ public class User { * Get firstName * @return firstName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFirstName() { @@ -158,8 +148,7 @@ public class User { * Get lastName * @return lastName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getLastName() { @@ -183,8 +172,7 @@ public class User { * Get email * @return email */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getEmail() { @@ -208,8 +196,7 @@ public class User { * Get password * @return password */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPassword() { @@ -233,8 +220,7 @@ public class User { * Get phone * @return phone */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPhone() { @@ -258,8 +244,7 @@ public class User { * User Status * @return userStatus */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getUserStatus() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java index 0ff945d70a1..f1f62d3f109 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/XmlItem.java @@ -62,122 +62,94 @@ import com.fasterxml.jackson.annotation.JsonTypeName; XmlItem.JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class XmlItem { public static final String JSON_PROPERTY_ATTRIBUTE_STRING = "attribute_string"; - @javax.annotation.Nullable - private String attributeString; + @javax.annotation.Nullable private String attributeString; public static final String JSON_PROPERTY_ATTRIBUTE_NUMBER = "attribute_number"; - @javax.annotation.Nullable - private BigDecimal attributeNumber; + @javax.annotation.Nullable private BigDecimal attributeNumber; public static final String JSON_PROPERTY_ATTRIBUTE_INTEGER = "attribute_integer"; - @javax.annotation.Nullable - private Integer attributeInteger; + @javax.annotation.Nullable private Integer attributeInteger; public static final String JSON_PROPERTY_ATTRIBUTE_BOOLEAN = "attribute_boolean"; - @javax.annotation.Nullable - private Boolean attributeBoolean; + @javax.annotation.Nullable private Boolean attributeBoolean; public static final String JSON_PROPERTY_WRAPPED_ARRAY = "wrapped_array"; - @javax.annotation.Nullable - private List wrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List wrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_STRING = "name_string"; - @javax.annotation.Nullable - private String nameString; + @javax.annotation.Nullable private String nameString; public static final String JSON_PROPERTY_NAME_NUMBER = "name_number"; - @javax.annotation.Nullable - private BigDecimal nameNumber; + @javax.annotation.Nullable private BigDecimal nameNumber; public static final String JSON_PROPERTY_NAME_INTEGER = "name_integer"; - @javax.annotation.Nullable - private Integer nameInteger; + @javax.annotation.Nullable private Integer nameInteger; public static final String JSON_PROPERTY_NAME_BOOLEAN = "name_boolean"; - @javax.annotation.Nullable - private Boolean nameBoolean; + @javax.annotation.Nullable private Boolean nameBoolean; public static final String JSON_PROPERTY_NAME_ARRAY = "name_array"; - @javax.annotation.Nullable - private List nameArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAME_WRAPPED_ARRAY = "name_wrapped_array"; - @javax.annotation.Nullable - private List nameWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List nameWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_STRING = "prefix_string"; - @javax.annotation.Nullable - private String prefixString; + @javax.annotation.Nullable private String prefixString; public static final String JSON_PROPERTY_PREFIX_NUMBER = "prefix_number"; - @javax.annotation.Nullable - private BigDecimal prefixNumber; + @javax.annotation.Nullable private BigDecimal prefixNumber; public static final String JSON_PROPERTY_PREFIX_INTEGER = "prefix_integer"; - @javax.annotation.Nullable - private Integer prefixInteger; + @javax.annotation.Nullable private Integer prefixInteger; public static final String JSON_PROPERTY_PREFIX_BOOLEAN = "prefix_boolean"; - @javax.annotation.Nullable - private Boolean prefixBoolean; + @javax.annotation.Nullable private Boolean prefixBoolean; public static final String JSON_PROPERTY_PREFIX_ARRAY = "prefix_array"; - @javax.annotation.Nullable - private List prefixArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_WRAPPED_ARRAY = "prefix_wrapped_array"; - @javax.annotation.Nullable - private List prefixWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_STRING = "namespace_string"; - @javax.annotation.Nullable - private String namespaceString; + @javax.annotation.Nullable private String namespaceString; public static final String JSON_PROPERTY_NAMESPACE_NUMBER = "namespace_number"; - @javax.annotation.Nullable - private BigDecimal namespaceNumber; + @javax.annotation.Nullable private BigDecimal namespaceNumber; public static final String JSON_PROPERTY_NAMESPACE_INTEGER = "namespace_integer"; - @javax.annotation.Nullable - private Integer namespaceInteger; + @javax.annotation.Nullable private Integer namespaceInteger; public static final String JSON_PROPERTY_NAMESPACE_BOOLEAN = "namespace_boolean"; - @javax.annotation.Nullable - private Boolean namespaceBoolean; + @javax.annotation.Nullable private Boolean namespaceBoolean; public static final String JSON_PROPERTY_NAMESPACE_ARRAY = "namespace_array"; - @javax.annotation.Nullable - private List namespaceArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceArray = new ArrayList<>(); public static final String JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY = "namespace_wrapped_array"; - @javax.annotation.Nullable - private List namespaceWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List namespaceWrappedArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_STRING = "prefix_ns_string"; - @javax.annotation.Nullable - private String prefixNsString; + @javax.annotation.Nullable private String prefixNsString; public static final String JSON_PROPERTY_PREFIX_NS_NUMBER = "prefix_ns_number"; - @javax.annotation.Nullable - private BigDecimal prefixNsNumber; + @javax.annotation.Nullable private BigDecimal prefixNsNumber; public static final String JSON_PROPERTY_PREFIX_NS_INTEGER = "prefix_ns_integer"; - @javax.annotation.Nullable - private Integer prefixNsInteger; + @javax.annotation.Nullable private Integer prefixNsInteger; public static final String JSON_PROPERTY_PREFIX_NS_BOOLEAN = "prefix_ns_boolean"; - @javax.annotation.Nullable - private Boolean prefixNsBoolean; + @javax.annotation.Nullable private Boolean prefixNsBoolean; public static final String JSON_PROPERTY_PREFIX_NS_ARRAY = "prefix_ns_array"; - @javax.annotation.Nullable - private List prefixNsArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsArray = new ArrayList<>(); public static final String JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY = "prefix_ns_wrapped_array"; - @javax.annotation.Nullable - private List prefixNsWrappedArray = new ArrayList<>(); + @javax.annotation.Nullable private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { } @@ -192,8 +164,7 @@ public class XmlItem { * Get attributeString * @return attributeString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getAttributeString() { @@ -217,8 +188,7 @@ public class XmlItem { * Get attributeNumber * @return attributeNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getAttributeNumber() { @@ -242,8 +212,7 @@ public class XmlItem { * Get attributeInteger * @return attributeInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getAttributeInteger() { @@ -267,8 +236,7 @@ public class XmlItem { * Get attributeBoolean * @return attributeBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getAttributeBoolean() { @@ -300,8 +268,7 @@ public class XmlItem { * Get wrappedArray * @return wrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getWrappedArray() { @@ -325,8 +292,7 @@ public class XmlItem { * Get nameString * @return nameString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNameString() { @@ -350,8 +316,7 @@ public class XmlItem { * Get nameNumber * @return nameNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNameNumber() { @@ -375,8 +340,7 @@ public class XmlItem { * Get nameInteger * @return nameInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNameInteger() { @@ -400,8 +364,7 @@ public class XmlItem { * Get nameBoolean * @return nameBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNameBoolean() { @@ -433,8 +396,7 @@ public class XmlItem { * Get nameArray * @return nameArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameArray() { @@ -466,8 +428,7 @@ public class XmlItem { * Get nameWrappedArray * @return nameWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNameWrappedArray() { @@ -491,8 +452,7 @@ public class XmlItem { * Get prefixString * @return prefixString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixString() { @@ -516,8 +476,7 @@ public class XmlItem { * Get prefixNumber * @return prefixNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNumber() { @@ -541,8 +500,7 @@ public class XmlItem { * Get prefixInteger * @return prefixInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixInteger() { @@ -566,8 +524,7 @@ public class XmlItem { * Get prefixBoolean * @return prefixBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixBoolean() { @@ -599,8 +556,7 @@ public class XmlItem { * Get prefixArray * @return prefixArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixArray() { @@ -632,8 +588,7 @@ public class XmlItem { * Get prefixWrappedArray * @return prefixWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixWrappedArray() { @@ -657,8 +612,7 @@ public class XmlItem { * Get namespaceString * @return namespaceString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getNamespaceString() { @@ -682,8 +636,7 @@ public class XmlItem { * Get namespaceNumber * @return namespaceNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getNamespaceNumber() { @@ -707,8 +660,7 @@ public class XmlItem { * Get namespaceInteger * @return namespaceInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getNamespaceInteger() { @@ -732,8 +684,7 @@ public class XmlItem { * Get namespaceBoolean * @return namespaceBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getNamespaceBoolean() { @@ -765,8 +716,7 @@ public class XmlItem { * Get namespaceArray * @return namespaceArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceArray() { @@ -798,8 +748,7 @@ public class XmlItem { * Get namespaceWrappedArray * @return namespaceWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getNamespaceWrappedArray() { @@ -823,8 +772,7 @@ public class XmlItem { * Get prefixNsString * @return prefixNsString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPrefixNsString() { @@ -848,8 +796,7 @@ public class XmlItem { * Get prefixNsNumber * @return prefixNsNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getPrefixNsNumber() { @@ -873,8 +820,7 @@ public class XmlItem { * Get prefixNsInteger * @return prefixNsInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getPrefixNsInteger() { @@ -898,8 +844,7 @@ public class XmlItem { * Get prefixNsBoolean * @return prefixNsBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getPrefixNsBoolean() { @@ -931,8 +876,7 @@ public class XmlItem { * Get prefixNsArray * @return prefixNsArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsArray() { @@ -964,8 +908,7 @@ public class XmlItem { * Get prefixNsWrappedArray * @return prefixNsWrappedArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getPrefixNsWrappedArray() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index 936b8bafdbb..5c6aeb6c216 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesClass.JSON_PROPERTY_MAP_OF_MAP_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; - @javax.annotation.Nullable - private Map mapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @javax.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 5a60fa128dd..4c10b80e49e 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java index 745689d7191..dbea09ffc4f 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 6f58e325549..c49cc5f2bc5 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index f3d46916faa..4b662a61dbc 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @javax.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayTest.java index 771578abd0a..c9b8d66152d 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @javax.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @javax.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Capitalization.java index 6cd94422b1c..e34fd05e3c3 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Cat.java index f8705b67de5..3c7b879877a 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java index 50b6ff1d6a2..46b862b17d1 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ChildWithNullable.java index b436febdcc4..c222ad581dc 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ClassModel.java index dbf6964fdad..ad6952b6eb7 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Client.java index 0be09220e7d..9614edc8acc 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/DeprecatedObject.java index acdb137161a..653f395fb85 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Dog.java index 8004beff975..77e5abc774b 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumArrays.java index 42c505b1189..8578245ac91 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @javax.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java index 915ba1b91ce..943480b6efe 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 0f3aaeb0af4..12979e0931b 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap = new HashMap<>(); + @javax.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 6c10cc7d053..a033667c462 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files = new ArrayList<>(); + @javax.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Foo.java index 6c446b295f8..9aaf54744e6 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 395eecaf8b5..b432e1fe359 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java index 2ecd1819621..241259a5ab6 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private AsyncFile binary; + @javax.annotation.Nullable private AsyncFile binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public AsyncFile getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 6dc15593463..ae4b6ba19d1 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HealthCheckResult.java index b772672c401..d8e472a3955 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MapTest.java index 03fcf621421..cf65489efd5 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @javax.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @javax.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap = new HashMap<>(); + @javax.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @javax.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 27b5ebbd852..402e91a9a0b 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map = new HashMap<>(); + @javax.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Model200Response.java index 0b83c601140..dcd9d4a0b91 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0938a865de4..01a8f08a5e4 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelFile.java index 73f5779de22..5f6966cf7b2 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelList.java index f8d50bc1762..ce8b0d97672 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelReturn.java index 314794ba50b..0496b4e8ac6 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java index 4789044c853..45a18bdb047 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NullableClass.java index bb516d7739d..40dfc8651cc 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @javax.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @javax.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NumberOnly.java index 341017c96d2..b3d7cd4222f 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index c6a3cc14fad..25fd74c77db 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars = new ArrayList<>(); + @javax.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Order.java index 0136b2dcc83..834d17fb706 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterComposite.java index c9b0b884ef2..b1979a9e65d 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 88cf19fe07a..245d8fc6786 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ParentWithNullable.java index b97f28bbcfd..432bd35481b 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java index 8cfe9533fe1..dff2cdd7187 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @javax.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags = new ArrayList<>(); + @javax.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e0e1e8bb4bb..7fd8fc08906 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/SpecialModelName.java index 8d7cee19879..2ce6677d2d2 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Tag.java index ebcb558efe5..027b8542d35 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 89584fa7c93..ea68d8ffaf2 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapProperty = new HashMap<>(); public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @jakarta.annotation.Nullable - private Map> mapOfMapProperty = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapOfMapProperty = new HashMap<>(); public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index fbf8d61fa17..4131e083f8c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @jakarta.annotation.Nullable - private String username; + @jakarta.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @jakarta.annotation.Nullable - private SingleRefType singleRefType; + @jakarta.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Animal.java index 86cc58eb17b..8254f51984d 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @jakarta.annotation.Nonnull - protected String className; + @jakarta.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @jakarta.annotation.Nullable - protected String color = "red"; + @jakarta.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 87cea9ecb8d..11268595137 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @jakarta.annotation.Nullable - private List> arrayArrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index ddac35e167a..350a7a8d6c3 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @jakarta.annotation.Nullable - private List arrayNumber = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayTest.java index 69f13d66946..547b3ba91e3 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @jakarta.annotation.Nullable - private List arrayOfString = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayOfString = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @jakarta.annotation.Nullable - private List> arrayArrayOfInteger = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfInteger = new ArrayList<>(); public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @jakarta.annotation.Nullable - private List> arrayArrayOfModel = new ArrayList<>(); + @jakarta.annotation.Nullable private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Capitalization.java index 4527c5efd07..a6866e8046c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @jakarta.annotation.Nullable - private String smallCamel; + @jakarta.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @jakarta.annotation.Nullable - private String capitalCamel; + @jakarta.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @jakarta.annotation.Nullable - private String smallSnake; + @jakarta.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @jakarta.annotation.Nullable - private String capitalSnake; + @jakarta.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @jakarta.annotation.Nullable - private String scAETHFlowPoints; + @jakarta.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @jakarta.annotation.Nullable - private String ATT_NAME; + @jakarta.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Cat.java index 73f8201c2c7..cc7842a4e70 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @jakarta.annotation.Nullable - private Boolean declawed; + @jakarta.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Category.java index c87cc6d9d03..ba77f405d3c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name = "default-name"; + @jakarta.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ChildWithNullable.java index 55e6ce12678..15d1d6fa398 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @jakarta.annotation.Nullable - private String otherProperty; + @jakarta.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ClassModel.java index cc5edb0ddf1..ee75fa53a65 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Client.java index 7b7843af208..59c80e3407c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @jakarta.annotation.Nullable - private String client; + @jakarta.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/DeprecatedObject.java index da99cf34032..68a309d9f6e 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Dog.java index 6a11ad89d6f..be1d67ee5da 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @jakarta.annotation.Nullable - private String breed; + @jakarta.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumArrays.java index 3e2e0802583..7fda65e0a0b 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @jakarta.annotation.Nullable - private JustSymbolEnum justSymbol; + @jakarta.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @jakarta.annotation.Nullable - private List arrayEnum = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayEnum = new ArrayList<>(); public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumTest.java index f9347fc97f5..fa658f4a720 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @jakarta.annotation.Nullable - private EnumStringEnum enumString; + @jakarta.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @jakarta.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @jakarta.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @jakarta.annotation.Nullable - private EnumIntegerEnum enumInteger; + @jakarta.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @jakarta.annotation.Nullable - private EnumNumberEnum enumNumber; + @jakarta.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @jakarta.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @jakarta.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @jakarta.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @jakarta.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @jakarta.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @jakarta.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index e9edabdcfab..c1bf2505e70 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @jakarta.annotation.Nullable - private BigDecimal someId; + @jakarta.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @jakarta.annotation.Nullable - private Map someMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map someMap = new HashMap<>(); public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index d1b7648e7be..5e473686a58 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @jakarta.annotation.Nullable - private ModelFile _file; + @jakarta.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @jakarta.annotation.Nullable - private List files = new ArrayList<>(); + @jakarta.annotation.Nullable private List files = new ArrayList<>(); public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Foo.java index e673cf96824..ac45378a32c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar = "bar"; + @jakarta.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 6c72b31783b..0defc9cfc30 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private Foo string; + @jakarta.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FormatTest.java index 818b19b86bd..ac64ecde5f2 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @jakarta.annotation.Nullable - private Integer integer; + @jakarta.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @jakarta.annotation.Nullable - private Integer int32; + @jakarta.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @jakarta.annotation.Nullable - private Long int64; + @jakarta.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @jakarta.annotation.Nonnull - private BigDecimal number; + @jakarta.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @jakarta.annotation.Nullable - private Float _float; + @jakarta.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @jakarta.annotation.Nullable - private Double _double; + @jakarta.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @jakarta.annotation.Nullable - private BigDecimal decimal; + @jakarta.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @jakarta.annotation.Nullable - private String string; + @jakarta.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @jakarta.annotation.Nonnull - private byte[] _byte; + @jakarta.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @jakarta.annotation.Nullable - private File binary; + @jakarta.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @jakarta.annotation.Nonnull - private LocalDate date; + @jakarta.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @jakarta.annotation.Nonnull - private String password; + @jakarta.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @jakarta.annotation.Nullable - private String patternWithDigits; + @jakarta.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @jakarta.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @jakarta.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 7fcd7679b14..9175e66b6a4 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @jakarta.annotation.Nullable - private String foo; + @jakarta.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HealthCheckResult.java index e30ee78c1c4..b060e6d7608 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @jakarta.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MapTest.java index f279dad1037..212a192152b 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @jakarta.annotation.Nullable - private Map> mapMapOfString = new HashMap<>(); + @jakarta.annotation.Nullable private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @jakarta.annotation.Nullable - private Map mapOfEnumString = new HashMap<>(); + @jakarta.annotation.Nullable private Map mapOfEnumString = new HashMap<>(); public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @jakarta.annotation.Nullable - private Map directMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map directMap = new HashMap<>(); public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @jakarta.annotation.Nullable - private Map indirectMap = new HashMap<>(); + @jakarta.annotation.Nullable private Map indirectMap = new HashMap<>(); public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 0eb4099d56e..fc0e66c11a0 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private UUID uuid; + @jakarta.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @jakarta.annotation.Nullable - private OffsetDateTime dateTime; + @jakarta.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @jakarta.annotation.Nullable - private Map map = new HashMap<>(); + @jakarta.annotation.Nullable private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Model200Response.java index 7d0bfb91707..afc1c6eb4b7 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private Integer name; + @jakarta.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @jakarta.annotation.Nullable - private String propertyClass; + @jakarta.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java index dac5d47ec9c..6a44a37dc5b 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @jakarta.annotation.Nullable - private Integer code; + @jakarta.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - private String type; + @jakarta.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @jakarta.annotation.Nullable - private String message; + @jakarta.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelFile.java index 3c99c5d565e..a64bc8479ab 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @jakarta.annotation.Nullable - private String sourceURI; + @jakarta.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelList.java index 54a220f2c63..bc5646ddc0f 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @jakarta.annotation.Nullable - private String _123list; + @jakarta.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelReturn.java index 3620721ba40..26c89830560 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @jakarta.annotation.Nullable - private Integer _return; + @jakarta.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Name.java index d80704b7a71..a0c04a44dc5 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private Integer name; + @jakarta.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @jakarta.annotation.Nullable - private Integer snakeCase; + @jakarta.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @jakarta.annotation.Nullable - private String property; + @jakarta.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @jakarta.annotation.Nullable - private Integer _123number; + @jakarta.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NullableClass.java index 04989802ba7..434bdad9a64 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @jakarta.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @jakarta.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @jakarta.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @jakarta.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @jakarta.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @jakarta.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @jakarta.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @jakarta.annotation.Nullable - private List arrayItemsNullable = new ArrayList<>(); + @jakarta.annotation.Nullable private List arrayItemsNullable = new ArrayList<>(); public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @jakarta.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @jakarta.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @jakarta.annotation.Nullable - private Map objectItemsNullable = new HashMap<>(); + @jakarta.annotation.Nullable private Map objectItemsNullable = new HashMap<>(); public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NumberOnly.java index 3c21f20754c..a05c6fa775b 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @jakarta.annotation.Nullable - private BigDecimal justNumber; + @jakarta.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 2f0d9d3b946..be6f75a6cd2 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @jakarta.annotation.Nullable - private String uuid; + @jakarta.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private BigDecimal id; + @jakarta.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @jakarta.annotation.Nullable - private DeprecatedObject deprecatedRef; + @jakarta.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @jakarta.annotation.Nullable - private List bars = new ArrayList<>(); + @jakarta.annotation.Nullable private List bars = new ArrayList<>(); public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Order.java index 8f4db12e822..247b3cb6a1e 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @jakarta.annotation.Nullable - private Long petId; + @jakarta.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @jakarta.annotation.Nullable - private Integer quantity; + @jakarta.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @jakarta.annotation.Nullable - private OffsetDateTime shipDate; + @jakarta.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @jakarta.annotation.Nullable - private Boolean complete = false; + @jakarta.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterComposite.java index b2b88b32009..1e7fefed42a 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @jakarta.annotation.Nullable - private BigDecimal myNumber; + @jakarta.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @jakarta.annotation.Nullable - private String myString; + @jakarta.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @jakarta.annotation.Nullable - private Boolean myBoolean; + @jakarta.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 0b5fecce1ce..d8061bcac68 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @jakarta.annotation.Nonnull - private OuterEnumInteger value; + @jakarta.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 78772c7e27c..54b1cb2a775 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @jakarta.annotation.Nullable - protected TypeEnum type; + @jakarta.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @jakarta.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @jakarta.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @jakarta.annotation.Nullable - @JsonIgnore + @jakarta.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Pet.java index 893ffedd5f5..eac9f8a6570 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @jakarta.annotation.Nullable - private Category category; + @jakarta.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nonnull - private String name; + @jakarta.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @jakarta.annotation.Nonnull - private Set photoUrls = new LinkedHashSet<>(); + @jakarta.annotation.Nonnull private Set photoUrls = new LinkedHashSet<>(); public static final String JSON_PROPERTY_TAGS = "tags"; - @jakarta.annotation.Nullable - private List tags = new ArrayList<>(); + @jakarta.annotation.Nullable private List tags = new ArrayList<>(); /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @jakarta.annotation.Nullable - private StatusEnum status; + @jakarta.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @jakarta.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @jakarta.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index f6d848fa88c..d4289893c62 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @jakarta.annotation.Nullable - private String bar; + @jakarta.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @jakarta.annotation.Nullable - private String baz; + @jakarta.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/SpecialModelName.java index fb9e96a8da6..55f9de30302 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @jakarta.annotation.Nullable - private Long $specialPropertyName; + @jakarta.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Tag.java index f5c4ae0e446..7db8054ece5 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @jakarta.annotation.Nullable - private Long id; + @jakarta.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @jakarta.annotation.Nullable - private String name; + @jakarta.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 58e2d9d3f8e..b96e8d68dbe 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @jakarta.annotation.Nullable - private String someProperty; + @jakarta.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap nullableArray = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableArray = JsonNullable.undefined(); public static final String JSON_PROPERTY_NORMAL_ARRAY = "normalArray"; - @javax.annotation.Nullable - private byte[] normalArray; + @javax.annotation.Nullable private byte[] normalArray; public static final String JSON_PROPERTY_NULLABLE_STRING = "nullableString"; - @javax.annotation.Nullable - private JsonNullable nullableString = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableString = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_FIELD = "stringField"; - @javax.annotation.Nullable - private String stringField; + @javax.annotation.Nullable private String stringField; public static final String JSON_PROPERTY_INT_FIELD = "intField"; - @javax.annotation.Nullable - private BigDecimal intField; + @javax.annotation.Nullable private BigDecimal intField; public ByteArrayObject() { } @@ -73,8 +69,7 @@ public class ByteArrayObject { * byte array. * @return nullableArray */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public byte[] getNullableArray() { return nullableArray.orElse(null); @@ -82,7 +77,6 @@ public class ByteArrayObject { @JsonProperty(JSON_PROPERTY_NULLABLE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableArray_JsonNullable() { return nullableArray; } @@ -106,8 +100,7 @@ public class ByteArrayObject { * byte array. * @return normalArray */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NORMAL_ARRAY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NORMAL_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public byte[] getNormalArray() { @@ -131,8 +124,7 @@ public class ByteArrayObject { * Get nullableString * @return nullableString */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableString() { return nullableString.orElse(null); @@ -140,7 +132,6 @@ public class ByteArrayObject { @JsonProperty(JSON_PROPERTY_NULLABLE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableString_JsonNullable() { return nullableString; } @@ -164,8 +155,7 @@ public class ByteArrayObject { * Get stringField * @return stringField */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING_FIELD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getStringField() { @@ -189,8 +179,7 @@ public class ByteArrayObject { * Get intField * @return intField */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT_FIELD) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT_FIELD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getIntField() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index d3f9c8a8257..255ad28fe4a 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AdditionalPropertiesClass.JSON_PROPERTY_MAP_OF_MAP_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AdditionalPropertiesClass { public static final String JSON_PROPERTY_MAP_PROPERTY = "map_property"; - @javax.annotation.Nullable - private Map mapProperty; + @javax.annotation.Nullable private Map mapProperty; public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty; + @javax.annotation.Nullable private Map> mapOfMapProperty; public AdditionalPropertiesClass() { } @@ -64,8 +63,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -98,8 +96,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 7d7cdf5501d..c399f50e389 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -55,8 +54,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,8 +79,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java index e3904f0a610..5ba36ce980e 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Animal.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -47,12 +48,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -67,8 +66,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -93,8 +91,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index 5c49f35618e..28924c793a3 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber; + @javax.annotation.Nullable private List> arrayArrayNumber; public ArrayOfArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index 6d3ea3645bf..8c8eb5eeb82 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber; + @javax.annotation.Nullable private List arrayNumber; public ArrayOfNumberOnly() { } @@ -61,8 +61,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java index 07a36c9fcc7..7180969deac 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString; + @javax.annotation.Nullable private List arrayOfString; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger; + @javax.annotation.Nullable private List> arrayArrayOfInteger; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel; + @javax.annotation.Nullable private List> arrayArrayOfModel; public ArrayTest() { } @@ -71,8 +69,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -105,8 +102,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -139,8 +135,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java index 722e1eab2db..bf1a678451d 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Capitalization.java @@ -36,30 +36,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -74,8 +69,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -100,8 +94,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -126,8 +119,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -152,8 +144,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -178,8 +169,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -204,8 +194,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Name of the pet ") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Name of the pet ") @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java index 827d2556bee..651095ac15f 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Cat.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -60,8 +60,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Category.java index 07e5d75a4e5..d99af4abc3c 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Category.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -54,8 +53,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,8 +78,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java index d1da73a19c2..4a3be072011 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -36,6 +36,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -44,8 +45,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -61,8 +61,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java index 012dd2c278e..57be0a47ffc 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ClassModel.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -50,8 +50,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Client.java index c2b9f484cd7..685f5ff57b4 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Client.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -49,8 +49,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java index d8dcc870c7f..9ae32fab40c 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -51,8 +51,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java index 9165437575b..c1448d83175 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Dog.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -60,8 +60,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java index c9dd3f0c968..37878980b78 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -70,10 +71,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -109,10 +108,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum; + @javax.annotation.Nullable private List arrayEnum; public EnumArrays() { } @@ -127,8 +124,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,8 +157,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java index 351aa9ec9f5..11cdf063187 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -47,6 +47,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -84,10 +85,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -125,10 +124,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -164,10 +161,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -203,26 +198,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -237,8 +226,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -263,8 +251,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -289,8 +276,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -315,8 +301,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -341,8 +326,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public OuterEnum getOuterEnum() { @@ -351,7 +335,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -375,8 +358,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -401,8 +383,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -427,8 +408,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index 8f0f6ff2a30..ceecd7dc5b7 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -36,14 +36,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap; + @javax.annotation.Nullable private Map someMap; public FakeBigDecimalMap200Response() { } @@ -58,8 +57,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,8 +90,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index 30064d17637..375bda4e0c8 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -36,14 +36,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files; + @javax.annotation.Nullable private List files; public FileSchemaTestClass() { } @@ -58,8 +57,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,8 +90,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java index 51a7f657505..1e41fdf940c 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Foo.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -49,8 +49,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index a022654bb58..3403b28e568 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -51,8 +51,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java index fa42deddf15..644f4b6b912 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -52,70 +52,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -132,8 +117,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -160,8 +144,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -186,8 +169,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -214,8 +196,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -242,8 +223,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -270,8 +250,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -296,8 +275,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -322,8 +300,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -348,8 +325,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -374,8 +350,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -400,8 +375,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -426,8 +400,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -452,8 +425,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -478,8 +450,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -504,8 +475,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string that is a 10 digit number. Can have leading zeros.") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string that is a 10 digit number. Can have leading zeros.") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -530,8 +500,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index d2a07a0a865..0e7f317c1bc 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -33,14 +33,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -61,8 +60,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -76,8 +74,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java index 9a7bdf26b83..b6bfe8b2375 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -36,10 +36,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -54,8 +54,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getNullableMessage() { @@ -64,7 +63,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java index c9895b73e1a..f11e9965139 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MapTest.java @@ -36,10 +36,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString; + @javax.annotation.Nullable private Map> mapMapOfString; /** * Gets or Sets inner @@ -75,18 +75,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString; + @javax.annotation.Nullable private Map mapOfEnumString; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap; + @javax.annotation.Nullable private Map directMap; public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap; + @javax.annotation.Nullable private Map indirectMap; public MapTest() { } @@ -109,8 +105,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,8 +138,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -177,8 +171,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -211,8 +204,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 4d8a4c61581..127b54aa169 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -38,18 +38,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map; + @javax.annotation.Nullable private Map map; public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -64,8 +62,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -90,8 +87,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -124,8 +120,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java index 2245a4229be..ffc65b1dd0a 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Model200Response.java @@ -34,14 +34,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -56,8 +55,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,8 +80,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 575404902e5..003a1bbde1e 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,8 +83,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,8 +108,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java index f1d78d68b67..634d2c8222a 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelFile.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -51,8 +51,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Test capitalization") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Test capitalization") @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java index 61d5ba8249a..967dcba4dda 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelList.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -50,8 +50,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java index bd1d313643d..1beb5db0630 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -51,8 +51,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Name.java index 030b8bb59fb..215bd3dd7fa 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Name.java @@ -35,22 +35,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -77,8 +74,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,8 +93,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -118,8 +113,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,8 +132,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java index 0f2bdaf1cf4..4480b0a1962 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NullableClass.java @@ -54,54 +54,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable; + @javax.annotation.Nullable private List arrayItemsNullable; public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable; + @javax.annotation.Nullable private Map objectItemsNullable; public NullableClass() { @@ -117,8 +106,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Integer getIntegerProp() { @@ -127,7 +115,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -151,8 +138,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public BigDecimal getNumberProp() { @@ -161,7 +147,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -185,8 +170,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Boolean getBooleanProp() { @@ -195,7 +179,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -219,8 +202,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getStringProp() { @@ -229,7 +211,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -253,8 +234,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public LocalDate getDateProp() { @@ -263,7 +243,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -287,8 +266,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public OffsetDateTime getDatetimeProp() { @@ -297,7 +275,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -333,8 +310,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public List getArrayNullableProp() { @@ -343,7 +319,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -379,8 +354,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public List getArrayAndItemsNullableProp() { @@ -389,7 +363,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -421,8 +394,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -459,8 +431,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Map getObjectNullableProp() { @@ -469,7 +440,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -505,8 +475,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public Map getObjectAndItemsNullableProp() { @@ -515,7 +484,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -547,8 +515,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java index 274b98cfe41..7f701ffd8d5 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -50,8 +50,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index e9488f20546..bc00a8d35de 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -39,22 +39,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars; + @javax.annotation.Nullable private List bars; public ObjectWithDeprecatedFields() { } @@ -69,8 +66,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -97,8 +93,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -125,8 +120,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,8 +155,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Order.java index accc9461396..114f983b628 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Order.java @@ -37,22 +37,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -90,14 +87,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -112,8 +106,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,8 +131,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -164,8 +156,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -190,8 +181,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -216,8 +206,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "Order Status") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -242,8 +231,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java index 68b3c557a01..1dbd4b093c4 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -34,18 +34,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -60,8 +58,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,8 +83,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,8 +108,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index c1ed9389a56..d59200957af 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -50,8 +50,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java index 414daf5832e..0f8114a206e 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -39,6 +39,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -81,14 +82,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -103,8 +101,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -129,8 +126,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonIgnore public String getNullableProperty() { @@ -139,7 +135,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java index a3045ad1ee9..1e4444012f7 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Pet.java @@ -44,26 +44,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls; + @javax.annotation.Nonnull private Set photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags; + @javax.annotation.Nullable private List tags; /** * pet status in the store @@ -101,10 +97,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -119,8 +113,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -145,8 +138,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -171,8 +163,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,8 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") + @javax.annotation.Nonnull @Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -240,8 +230,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -266,8 +255,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "pet status in the store") @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index 17fa54948d8..8e9e507f686 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -58,8 +57,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -79,8 +77,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java index bb01969ec77..88f82f34219 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -50,8 +50,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java index f30b547f211..1b40d354dd5 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/Tag.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -54,8 +53,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,8 +78,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") + @javax.annotation.Nullable @Schema(requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 154fb1804bd..2bba1ed1fa8 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -53,8 +53,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap mapProperty; + @javax.annotation.Nullable private Map mapProperty; public static final String JSON_PROPERTY_MAP_OF_MAP_PROPERTY = "map_of_map_property"; - @javax.annotation.Nullable - private Map> mapOfMapProperty; + @javax.annotation.Nullable private Map> mapOfMapProperty; public AdditionalPropertiesClass() { } @@ -63,8 +62,7 @@ public class AdditionalPropertiesClass { * Get mapProperty * @return mapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapProperty() { @@ -96,8 +94,7 @@ public class AdditionalPropertiesClass { * Get mapOfMapProperty * @return mapOfMapProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapOfMapProperty() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java index 5a60fa128dd..4c10b80e49e 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; AllOfWithSingleRef.JSON_PROPERTY_SINGLE_REF_TYPE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class AllOfWithSingleRef { public static final String JSON_PROPERTY_USERNAME = "username"; - @javax.annotation.Nullable - private String username; + @javax.annotation.Nullable private String username; public static final String JSON_PROPERTY_SINGLE_REF_TYPE = "SingleRefType"; - @javax.annotation.Nullable - private SingleRefType singleRefType; + @javax.annotation.Nullable private SingleRefType singleRefType; public AllOfWithSingleRef() { } @@ -54,8 +53,7 @@ public class AllOfWithSingleRef { * Get username * @return username */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUsername() { @@ -79,8 +77,7 @@ public class AllOfWithSingleRef { * Get singleRefType * @return singleRefType */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public SingleRefType getSingleRefType() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java index 745689d7191..dbea09ffc4f 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Animal.JSON_PROPERTY_COLOR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -46,12 +47,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Animal { public static final String JSON_PROPERTY_CLASS_NAME = "className"; - @javax.annotation.Nonnull - protected String className; + @javax.annotation.Nonnull protected String className; public static final String JSON_PROPERTY_COLOR = "color"; - @javax.annotation.Nullable - protected String color = "red"; + @javax.annotation.Nullable protected String color = "red"; public Animal() { } @@ -66,8 +65,7 @@ public class Animal { * Get className * @return className */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getClassName() { @@ -91,8 +89,7 @@ public class Animal { * Get color * @return color */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getColor() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java index ae711e2787d..6ac8678c996 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfArrayOfNumberOnly.JSON_PROPERTY_ARRAY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_ARRAY_NUMBER = "ArrayArrayNumber"; - @javax.annotation.Nullable - private List> arrayArrayNumber; + @javax.annotation.Nullable private List> arrayArrayNumber; public ArrayOfArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfArrayOfNumberOnly { * Get arrayArrayNumber * @return arrayArrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayNumber() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java index a0ba0e0c16e..3672ddf00c1 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayOfNumberOnly.JSON_PROPERTY_ARRAY_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayOfNumberOnly { public static final String JSON_PROPERTY_ARRAY_NUMBER = "ArrayNumber"; - @javax.annotation.Nullable - private List arrayNumber; + @javax.annotation.Nullable private List arrayNumber; public ArrayOfNumberOnly() { } @@ -60,8 +60,7 @@ public class ArrayOfNumberOnly { * Get arrayNumber * @return arrayNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayNumber() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayTest.java index e263e2ee4c2..7fc9aad38c7 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ArrayTest.java @@ -36,18 +36,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ArrayTest.JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ArrayTest { public static final String JSON_PROPERTY_ARRAY_OF_STRING = "array_of_string"; - @javax.annotation.Nullable - private List arrayOfString; + @javax.annotation.Nullable private List arrayOfString; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER = "array_array_of_integer"; - @javax.annotation.Nullable - private List> arrayArrayOfInteger; + @javax.annotation.Nullable private List> arrayArrayOfInteger; public static final String JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL = "array_array_of_model"; - @javax.annotation.Nullable - private List> arrayArrayOfModel; + @javax.annotation.Nullable private List> arrayArrayOfModel; public ArrayTest() { } @@ -70,8 +68,7 @@ public class ArrayTest { * Get arrayOfString * @return arrayOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayOfString() { @@ -103,8 +100,7 @@ public class ArrayTest { * Get arrayArrayOfInteger * @return arrayArrayOfInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfInteger() { @@ -136,8 +132,7 @@ public class ArrayTest { * Get arrayArrayOfModel * @return arrayArrayOfModel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List> getArrayArrayOfModel() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Capitalization.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Capitalization.java index 6cd94422b1c..e34fd05e3c3 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Capitalization.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Capitalization.java @@ -35,30 +35,25 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Capitalization.JSON_PROPERTY_A_T_T_N_A_M_E }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Capitalization { public static final String JSON_PROPERTY_SMALL_CAMEL = "smallCamel"; - @javax.annotation.Nullable - private String smallCamel; + @javax.annotation.Nullable private String smallCamel; public static final String JSON_PROPERTY_CAPITAL_CAMEL = "CapitalCamel"; - @javax.annotation.Nullable - private String capitalCamel; + @javax.annotation.Nullable private String capitalCamel; public static final String JSON_PROPERTY_SMALL_SNAKE = "small_Snake"; - @javax.annotation.Nullable - private String smallSnake; + @javax.annotation.Nullable private String smallSnake; public static final String JSON_PROPERTY_CAPITAL_SNAKE = "Capital_Snake"; - @javax.annotation.Nullable - private String capitalSnake; + @javax.annotation.Nullable private String capitalSnake; public static final String JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS = "SCA_ETH_Flow_Points"; - @javax.annotation.Nullable - private String scAETHFlowPoints; + @javax.annotation.Nullable private String scAETHFlowPoints; public static final String JSON_PROPERTY_A_T_T_N_A_M_E = "ATT_NAME"; - @javax.annotation.Nullable - private String ATT_NAME; + @javax.annotation.Nullable private String ATT_NAME; public Capitalization() { } @@ -73,8 +68,7 @@ public class Capitalization { * Get smallCamel * @return smallCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallCamel() { @@ -98,8 +92,7 @@ public class Capitalization { * Get capitalCamel * @return capitalCamel */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalCamel() { @@ -123,8 +116,7 @@ public class Capitalization { * Get smallSnake * @return smallSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSmallSnake() { @@ -148,8 +140,7 @@ public class Capitalization { * Get capitalSnake * @return capitalSnake */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCapitalSnake() { @@ -173,8 +164,7 @@ public class Capitalization { * Get scAETHFlowPoints * @return scAETHFlowPoints */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getScAETHFlowPoints() { @@ -198,8 +188,7 @@ public class Capitalization { * Name of the pet * @return ATT_NAME */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getATTNAME() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Cat.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Cat.java index f8705b67de5..3c7b879877a 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Cat.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Cat.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Cat.JSON_PROPERTY_DECLAWED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Cat extends Animal { public static final String JSON_PROPERTY_DECLAWED = "declawed"; - @javax.annotation.Nullable - private Boolean declawed; + @javax.annotation.Nullable private Boolean declawed; public Cat() { @@ -59,8 +59,7 @@ public class Cat extends Animal { * Get declawed * @return declawed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getDeclawed() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java index 50b6ff1d6a2..46b862b17d1 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Category.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Category { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name = "default-name"; + @javax.annotation.Nonnull private String name = "default-name"; public Category() { } @@ -53,8 +52,7 @@ public class Category { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Category { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java index b436febdcc4..c222ad581dc 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ChildWithNullable.java @@ -35,6 +35,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ChildWithNullable.JSON_PROPERTY_OTHER_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -43,8 +44,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class ChildWithNullable extends ParentWithNullable { public static final String JSON_PROPERTY_OTHER_PROPERTY = "otherProperty"; - @javax.annotation.Nullable - private String otherProperty; + @javax.annotation.Nullable private String otherProperty; public ChildWithNullable() { @@ -60,8 +60,7 @@ public class ChildWithNullable extends ParentWithNullable { * Get otherProperty * @return otherProperty */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OTHER_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOtherProperty() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ClassModel.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ClassModel.java index dbf6964fdad..ad6952b6eb7 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ClassModel.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ClassModel.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ClassModel.JSON_PROPERTY_PROPERTY_CLASS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ClassModel { public static final String JSON_PROPERTY_PROPERTY_CLASS = "_class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public ClassModel() { } @@ -48,8 +48,7 @@ public class ClassModel { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Client.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Client.java index 0be09220e7d..9614edc8acc 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Client.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Client.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Client.JSON_PROPERTY_CLIENT }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Client { public static final String JSON_PROPERTY_CLIENT = "client"; - @javax.annotation.Nullable - private String client; + @javax.annotation.Nullable private String client; public Client() { } @@ -48,8 +48,7 @@ public class Client { * Get client * @return client */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getClient() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java index acdb137161a..653f395fb85 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/DeprecatedObject.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; DeprecatedObject.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class DeprecatedObject { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public DeprecatedObject() { } @@ -50,8 +50,7 @@ public class DeprecatedObject { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Dog.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Dog.java index 8004beff975..77e5abc774b 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Dog.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Dog.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Dog.JSON_PROPERTY_BREED }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -42,8 +43,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; public class Dog extends Animal { public static final String JSON_PROPERTY_BREED = "breed"; - @javax.annotation.Nullable - private String breed; + @javax.annotation.Nullable private String breed; public Dog() { @@ -59,8 +59,7 @@ public class Dog extends Animal { * Get breed * @return breed */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBreed() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumArrays.java index e6a5ddc351a..8c127606e5e 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -34,6 +34,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; EnumArrays.JSON_PROPERTY_ARRAY_ENUM }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumArrays { /** * Gets or Sets justSymbol @@ -69,10 +70,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; - @javax.annotation.Nullable - private JustSymbolEnum justSymbol; + @javax.annotation.Nullable private JustSymbolEnum justSymbol; /** * Gets or Sets arrayEnum @@ -108,10 +107,8 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; - @javax.annotation.Nullable - private List arrayEnum; + @javax.annotation.Nullable private List arrayEnum; public EnumArrays() { } @@ -126,8 +123,7 @@ public class EnumArrays { * Get justSymbol * @return justSymbol */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public JustSymbolEnum getJustSymbol() { @@ -159,8 +155,7 @@ public class EnumArrays { * Get arrayEnum * @return arrayEnum */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayEnum() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java index 915ba1b91ce..943480b6efe 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java @@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Enum_Test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class EnumTest { /** * Gets or Sets enumString @@ -83,10 +84,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; - @javax.annotation.Nullable - private EnumStringEnum enumString; + @javax.annotation.Nullable private EnumStringEnum enumString; /** * Gets or Sets enumStringRequired @@ -124,10 +123,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; - @javax.annotation.Nonnull - private EnumStringRequiredEnum enumStringRequired; + @javax.annotation.Nonnull private EnumStringRequiredEnum enumStringRequired; /** * Gets or Sets enumInteger @@ -163,10 +160,8 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; - @javax.annotation.Nullable - private EnumIntegerEnum enumInteger; + @javax.annotation.Nullable private EnumIntegerEnum enumInteger; /** * Gets or Sets enumNumber @@ -202,26 +197,20 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; - @javax.annotation.Nullable - private EnumNumberEnum enumNumber; + @javax.annotation.Nullable private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; - @javax.annotation.Nullable - private JsonNullable outerEnum = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable outerEnum = JsonNullable.undefined(); public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER = "outerEnumInteger"; - @javax.annotation.Nullable - private OuterEnumInteger outerEnumInteger; + @javax.annotation.Nullable private OuterEnumInteger outerEnumInteger; public static final String JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE = "outerEnumDefaultValue"; - @javax.annotation.Nullable - private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; + @javax.annotation.Nullable private OuterEnumDefaultValue outerEnumDefaultValue = OuterEnumDefaultValue.PLACED; public static final String JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE = "outerEnumIntegerDefaultValue"; - @javax.annotation.Nullable - private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; + @javax.annotation.Nullable private OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue = OuterEnumIntegerDefaultValue.NUMBER_0; public EnumTest() { } @@ -236,8 +225,7 @@ public class EnumTest { * Get enumString * @return enumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumStringEnum getEnumString() { @@ -261,8 +249,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) public EnumStringRequiredEnum getEnumStringRequired() { @@ -286,8 +273,7 @@ public class EnumTest { * Get enumInteger * @return enumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumIntegerEnum getEnumInteger() { @@ -311,8 +297,7 @@ public class EnumTest { * Get enumNumber * @return enumNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public EnumNumberEnum getEnumNumber() { @@ -336,8 +321,7 @@ public class EnumTest { * Get outerEnum * @return outerEnum */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OuterEnum getOuterEnum() { return outerEnum.orElse(null); @@ -345,7 +329,6 @@ public class EnumTest { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -369,8 +352,7 @@ public class EnumTest { * Get outerEnumInteger * @return outerEnumInteger */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumInteger getOuterEnumInteger() { @@ -394,8 +376,7 @@ public class EnumTest { * Get outerEnumDefaultValue * @return outerEnumDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumDefaultValue getOuterEnumDefaultValue() { @@ -419,8 +400,7 @@ public class EnumTest { * Get outerEnumIntegerDefaultValue * @return outerEnumIntegerDefaultValue */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java index eb9c0d5618c..ba980f05f30 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("fakeBigDecimalMap_200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FakeBigDecimalMap200Response { public static final String JSON_PROPERTY_SOME_ID = "someId"; - @javax.annotation.Nullable - private BigDecimal someId; + @javax.annotation.Nullable private BigDecimal someId; public static final String JSON_PROPERTY_SOME_MAP = "someMap"; - @javax.annotation.Nullable - private Map someMap; + @javax.annotation.Nullable private Map someMap; public FakeBigDecimalMap200Response() { } @@ -57,8 +56,7 @@ public class FakeBigDecimalMap200Response { * Get someId * @return someId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getSomeId() { @@ -90,8 +88,7 @@ public class FakeBigDecimalMap200Response { * Get someMap * @return someMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOME_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getSomeMap() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index b413890feef..9e8a92abde9 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java @@ -35,14 +35,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; FileSchemaTestClass.JSON_PROPERTY_FILES }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FileSchemaTestClass { public static final String JSON_PROPERTY_FILE = "file"; - @javax.annotation.Nullable - private ModelFile _file; + @javax.annotation.Nullable private ModelFile _file; public static final String JSON_PROPERTY_FILES = "files"; - @javax.annotation.Nullable - private List files; + @javax.annotation.Nullable private List files; public FileSchemaTestClass() { } @@ -57,8 +56,7 @@ public class FileSchemaTestClass { * Get _file * @return _file */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public ModelFile getFile() { @@ -90,8 +88,7 @@ public class FileSchemaTestClass { * Get files * @return files */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FILES) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getFiles() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Foo.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Foo.java index 6c446b295f8..9aaf54744e6 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Foo.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Foo.java @@ -30,10 +30,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Foo.JSON_PROPERTY_BAR }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Foo { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar = "bar"; + @javax.annotation.Nullable private String bar = "bar"; public Foo() { } @@ -48,8 +48,7 @@ public class Foo { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java index 395eecaf8b5..b432e1fe359 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java @@ -32,10 +32,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_foo_get_default_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FooGetDefaultResponse { public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private Foo string; + @javax.annotation.Nullable private Foo string; public FooGetDefaultResponse() { } @@ -50,8 +50,7 @@ public class FooGetDefaultResponse { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Foo getString() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java index bb7fb37b632..2c54f92df88 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java @@ -51,70 +51,55 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("format_test") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class FormatTest { public static final String JSON_PROPERTY_INTEGER = "integer"; - @javax.annotation.Nullable - private Integer integer; + @javax.annotation.Nullable private Integer integer; public static final String JSON_PROPERTY_INT32 = "int32"; - @javax.annotation.Nullable - private Integer int32; + @javax.annotation.Nullable private Integer int32; public static final String JSON_PROPERTY_INT64 = "int64"; - @javax.annotation.Nullable - private Long int64; + @javax.annotation.Nullable private Long int64; public static final String JSON_PROPERTY_NUMBER = "number"; - @javax.annotation.Nonnull - private BigDecimal number; + @javax.annotation.Nonnull private BigDecimal number; public static final String JSON_PROPERTY_FLOAT = "float"; - @javax.annotation.Nullable - private Float _float; + @javax.annotation.Nullable private Float _float; public static final String JSON_PROPERTY_DOUBLE = "double"; - @javax.annotation.Nullable - private Double _double; + @javax.annotation.Nullable private Double _double; public static final String JSON_PROPERTY_DECIMAL = "decimal"; - @javax.annotation.Nullable - private BigDecimal decimal; + @javax.annotation.Nullable private BigDecimal decimal; public static final String JSON_PROPERTY_STRING = "string"; - @javax.annotation.Nullable - private String string; + @javax.annotation.Nullable private String string; public static final String JSON_PROPERTY_BYTE = "byte"; - @javax.annotation.Nonnull - private byte[] _byte; + @javax.annotation.Nonnull private byte[] _byte; public static final String JSON_PROPERTY_BINARY = "binary"; - @javax.annotation.Nullable - private File binary; + @javax.annotation.Nullable private File binary; public static final String JSON_PROPERTY_DATE = "date"; - @javax.annotation.Nonnull - private LocalDate date; + @javax.annotation.Nonnull private LocalDate date; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_PASSWORD = "password"; - @javax.annotation.Nonnull - private String password; + @javax.annotation.Nonnull private String password; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS = "pattern_with_digits"; - @javax.annotation.Nullable - private String patternWithDigits; + @javax.annotation.Nullable private String patternWithDigits; public static final String JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER = "pattern_with_digits_and_delimiter"; - @javax.annotation.Nullable - private String patternWithDigitsAndDelimiter; + @javax.annotation.Nullable private String patternWithDigitsAndDelimiter; public FormatTest() { } @@ -131,8 +116,7 @@ public class FormatTest { * maximum: 100 * @return integer */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INTEGER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -158,8 +142,7 @@ public class FormatTest { * maximum: 200 * @return int32 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT32) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -183,8 +166,7 @@ public class FormatTest { * Get int64 * @return int64 */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getInt64() { @@ -210,8 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NUMBER) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) public BigDecimal getNumber() { @@ -237,8 +218,7 @@ public class FormatTest { * maximum: 987.6 * @return _float */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FLOAT) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -264,8 +244,7 @@ public class FormatTest { * maximum: 123.4 * @return _double */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DOUBLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -289,8 +268,7 @@ public class FormatTest { * Get decimal * @return decimal */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECIMAL) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getDecimal() { @@ -314,8 +292,7 @@ public class FormatTest { * Get string * @return string */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -339,8 +316,7 @@ public class FormatTest { * Get _byte * @return _byte */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_BYTE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public byte[] getByte() { @@ -364,8 +340,7 @@ public class FormatTest { * Get binary * @return binary */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BINARY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public File getBinary() { @@ -389,8 +364,7 @@ public class FormatTest { * Get date * @return date */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_DATE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public LocalDate getDate() { @@ -414,8 +388,7 @@ public class FormatTest { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -439,8 +412,7 @@ public class FormatTest { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -464,8 +436,7 @@ public class FormatTest { * Get password * @return password */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PASSWORD) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -489,8 +460,7 @@ public class FormatTest { * A string that is a 10 digit number. Can have leading zeros. * @return patternWithDigits */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -514,8 +484,7 @@ public class FormatTest { * A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. * @return patternWithDigitsAndDelimiter */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java index 6dc15593463..ae4b6ba19d1 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("hasOnlyReadOnly") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HasOnlyReadOnly { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_FOO = "foo"; - @javax.annotation.Nullable - private String foo; + @javax.annotation.Nullable private String foo; public HasOnlyReadOnly() { } @@ -60,8 +59,7 @@ public class HasOnlyReadOnly { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -74,8 +72,7 @@ public class HasOnlyReadOnly { * Get foo * @return foo */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getFoo() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java index b772672c401..d8e472a3955 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/HealthCheckResult.java @@ -34,10 +34,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; HealthCheckResult.JSON_PROPERTY_NULLABLE_MESSAGE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class HealthCheckResult { public static final String JSON_PROPERTY_NULLABLE_MESSAGE = "NullableMessage"; - @javax.annotation.Nullable - private JsonNullable nullableMessage = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable nullableMessage = JsonNullable.undefined(); public HealthCheckResult() { } @@ -52,8 +52,7 @@ public class HealthCheckResult { * Get nullableMessage * @return nullableMessage */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableMessage() { return nullableMessage.orElse(null); @@ -61,7 +60,6 @@ public class HealthCheckResult { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MapTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MapTest.java index 3dfecb96db5..07bf2b1d960 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MapTest.java @@ -35,10 +35,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MapTest.JSON_PROPERTY_INDIRECT_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MapTest { public static final String JSON_PROPERTY_MAP_MAP_OF_STRING = "map_map_of_string"; - @javax.annotation.Nullable - private Map> mapMapOfString; + @javax.annotation.Nullable private Map> mapMapOfString; /** * Gets or Sets inner @@ -74,18 +74,14 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; - @javax.annotation.Nullable - private Map mapOfEnumString; + @javax.annotation.Nullable private Map mapOfEnumString; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; - @javax.annotation.Nullable - private Map directMap; + @javax.annotation.Nullable private Map directMap; public static final String JSON_PROPERTY_INDIRECT_MAP = "indirect_map"; - @javax.annotation.Nullable - private Map indirectMap; + @javax.annotation.Nullable private Map indirectMap; public MapTest() { } @@ -108,8 +104,7 @@ public class MapTest { * Get mapMapOfString * @return mapMapOfString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map> getMapMapOfString() { @@ -141,8 +136,7 @@ public class MapTest { * Get mapOfEnumString * @return mapOfEnumString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMapOfEnumString() { @@ -174,8 +168,7 @@ public class MapTest { * Get directMap * @return directMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getDirectMap() { @@ -207,8 +200,7 @@ public class MapTest { * Get indirectMap * @return indirectMap */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getIndirectMap() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java index 55a43c42b31..b85017580ef 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -37,18 +37,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; MixedPropertiesAndAdditionalPropertiesClass.JSON_PROPERTY_MAP }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class MixedPropertiesAndAdditionalPropertiesClass { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private UUID uuid; + @javax.annotation.Nullable private UUID uuid; public static final String JSON_PROPERTY_DATE_TIME = "dateTime"; - @javax.annotation.Nullable - private OffsetDateTime dateTime; + @javax.annotation.Nullable private OffsetDateTime dateTime; public static final String JSON_PROPERTY_MAP = "map"; - @javax.annotation.Nullable - private Map map; + @javax.annotation.Nullable private Map map; public MixedPropertiesAndAdditionalPropertiesClass() { } @@ -63,8 +61,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public UUID getUuid() { @@ -88,8 +85,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get dateTime * @return dateTime */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DATE_TIME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getDateTime() { @@ -121,8 +117,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { * Get map * @return map */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Map getMap() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Model200Response.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Model200Response.java index 0b83c601140..dcd9d4a0b91 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Model200Response.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Model200Response.java @@ -32,14 +32,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("200_response") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Model200Response { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private Integer name; + @javax.annotation.Nullable private Integer name; public static final String JSON_PROPERTY_PROPERTY_CLASS = "class"; - @javax.annotation.Nullable - private String propertyClass; + @javax.annotation.Nullable private String propertyClass; public Model200Response() { } @@ -54,8 +53,7 @@ public class Model200Response { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getName() { @@ -79,8 +77,7 @@ public class Model200Response { * Get propertyClass * @return propertyClass */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPropertyClass() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java index 0938a865de4..01a8f08a5e4 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelApiResponse.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("ApiResponse") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; - @javax.annotation.Nullable - private Integer code; + @javax.annotation.Nullable private Integer code; public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - private String type; + @javax.annotation.Nullable private String type; public static final String JSON_PROPERTY_MESSAGE = "message"; - @javax.annotation.Nullable - private String message; + @javax.annotation.Nullable private String message; public ModelApiResponse() { } @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get code * @return code */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getCode() { @@ -84,8 +81,7 @@ public class ModelApiResponse { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getType() { @@ -109,8 +105,7 @@ public class ModelApiResponse { * Get message * @return message */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMessage() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelFile.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelFile.java index 73f5779de22..5f6966cf7b2 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelFile.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelFile.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("File") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelFile { public static final String JSON_PROPERTY_SOURCE_U_R_I = "sourceURI"; - @javax.annotation.Nullable - private String sourceURI; + @javax.annotation.Nullable private String sourceURI; public ModelFile() { } @@ -49,8 +49,7 @@ public class ModelFile { * Test capitalization * @return sourceURI */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getSourceURI() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelList.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelList.java index f8d50bc1762..ce8b0d97672 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelList.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelList.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("List") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelList { public static final String JSON_PROPERTY_123LIST = "123-list"; - @javax.annotation.Nullable - private String _123list; + @javax.annotation.Nullable private String _123list; public ModelList() { } @@ -49,8 +49,7 @@ public class ModelList { * Get _123list * @return _123list */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String get123list() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelReturn.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelReturn.java index 314794ba50b..0496b4e8ac6 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelReturn.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ModelReturn.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("Return") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ModelReturn { public static final String JSON_PROPERTY_RETURN = "return"; - @javax.annotation.Nullable - private Integer _return; + @javax.annotation.Nullable private Integer _return; public ModelReturn() { } @@ -49,8 +49,7 @@ public class ModelReturn { * Get _return * @return _return */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getReturn() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java index 4789044c853..45a18bdb047 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java @@ -33,22 +33,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Name.JSON_PROPERTY_123NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Name { public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private Integer name; + @javax.annotation.Nonnull private Integer name; public static final String JSON_PROPERTY_SNAKE_CASE = "snake_case"; - @javax.annotation.Nullable - private Integer snakeCase; + @javax.annotation.Nullable private Integer snakeCase; public static final String JSON_PROPERTY_PROPERTY = "property"; - @javax.annotation.Nullable - private String property; + @javax.annotation.Nullable private String property; public static final String JSON_PROPERTY_123NUMBER = "123Number"; - @javax.annotation.Nullable - private Integer _123number; + @javax.annotation.Nullable private Integer _123number; public Name() { } @@ -75,8 +72,7 @@ public class Name { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Integer getName() { @@ -94,8 +90,7 @@ public class Name { * Get snakeCase * @return snakeCase */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getSnakeCase() { @@ -114,8 +109,7 @@ public class Name { * Get property * @return property */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getProperty() { @@ -133,8 +127,7 @@ public class Name { * Get _123number * @return _123number */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer get123number() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NullableClass.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NullableClass.java index d5a15f45614..4427b193085 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NullableClass.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NullableClass.java @@ -53,54 +53,43 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NullableClass.JSON_PROPERTY_OBJECT_ITEMS_NULLABLE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NullableClass extends HashMap { public static final String JSON_PROPERTY_INTEGER_PROP = "integer_prop"; - @javax.annotation.Nullable - private JsonNullable integerProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable integerProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_NUMBER_PROP = "number_prop"; - @javax.annotation.Nullable - private JsonNullable numberProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable numberProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_BOOLEAN_PROP = "boolean_prop"; - @javax.annotation.Nullable - private JsonNullable booleanProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable booleanProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_STRING_PROP = "string_prop"; - @javax.annotation.Nullable - private JsonNullable stringProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable stringProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATE_PROP = "date_prop"; - @javax.annotation.Nullable - private JsonNullable dateProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable dateProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_DATETIME_PROP = "datetime_prop"; - @javax.annotation.Nullable - private JsonNullable datetimeProp = JsonNullable.undefined(); + @javax.annotation.Nullable private JsonNullable datetimeProp = JsonNullable.undefined(); public static final String JSON_PROPERTY_ARRAY_NULLABLE_PROP = "array_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP = "array_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> arrayAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_ARRAY_ITEMS_NULLABLE = "array_items_nullable"; - @javax.annotation.Nullable - private List arrayItemsNullable; + @javax.annotation.Nullable private List arrayItemsNullable; public static final String JSON_PROPERTY_OBJECT_NULLABLE_PROP = "object_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP = "object_and_items_nullable_prop"; - @javax.annotation.Nullable - private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); + @javax.annotation.Nullable private JsonNullable> objectAndItemsNullableProp = JsonNullable.>undefined(); public static final String JSON_PROPERTY_OBJECT_ITEMS_NULLABLE = "object_items_nullable"; - @javax.annotation.Nullable - private Map objectItemsNullable; + @javax.annotation.Nullable private Map objectItemsNullable; public NullableClass() { @@ -116,8 +105,7 @@ public class NullableClass extends HashMap { * Get integerProp * @return integerProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Integer getIntegerProp() { return integerProp.orElse(null); @@ -125,7 +113,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,8 +136,7 @@ public class NullableClass extends HashMap { * Get numberProp * @return numberProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public BigDecimal getNumberProp() { return numberProp.orElse(null); @@ -158,7 +144,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,8 +167,7 @@ public class NullableClass extends HashMap { * Get booleanProp * @return booleanProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Boolean getBooleanProp() { return booleanProp.orElse(null); @@ -191,7 +175,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,8 +198,7 @@ public class NullableClass extends HashMap { * Get stringProp * @return stringProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getStringProp() { return stringProp.orElse(null); @@ -224,7 +206,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,8 +229,7 @@ public class NullableClass extends HashMap { * Get dateProp * @return dateProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public LocalDate getDateProp() { return dateProp.orElse(null); @@ -257,7 +237,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,8 +260,7 @@ public class NullableClass extends HashMap { * Get datetimeProp * @return datetimeProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public OffsetDateTime getDatetimeProp() { return datetimeProp.orElse(null); @@ -290,7 +268,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,8 +303,7 @@ public class NullableClass extends HashMap { * Get arrayNullableProp * @return arrayNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayNullableProp() { return arrayNullableProp.orElse(null); @@ -335,7 +311,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,8 +346,7 @@ public class NullableClass extends HashMap { * Get arrayAndItemsNullableProp * @return arrayAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public List getArrayAndItemsNullableProp() { return arrayAndItemsNullableProp.orElse(null); @@ -380,7 +354,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -412,8 +385,7 @@ public class NullableClass extends HashMap { * Get arrayItemsNullable * @return arrayItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getArrayItemsNullable() { @@ -449,8 +421,7 @@ public class NullableClass extends HashMap { * Get objectNullableProp * @return objectNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectNullableProp() { return objectNullableProp.orElse(null); @@ -458,7 +429,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,8 +464,7 @@ public class NullableClass extends HashMap { * Get objectAndItemsNullableProp * @return objectAndItemsNullableProp */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public Map getObjectAndItemsNullableProp() { return objectAndItemsNullableProp.orElse(null); @@ -503,7 +472,6 @@ public class NullableClass extends HashMap { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -535,8 +503,7 @@ public class NullableClass extends HashMap { * Get objectItemsNullable * @return objectItemsNullable */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) public Map getObjectItemsNullable() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NumberOnly.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NumberOnly.java index 341017c96d2..b3d7cd4222f 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NumberOnly.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/NumberOnly.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; NumberOnly.JSON_PROPERTY_JUST_NUMBER }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class NumberOnly { public static final String JSON_PROPERTY_JUST_NUMBER = "JustNumber"; - @javax.annotation.Nullable - private BigDecimal justNumber; + @javax.annotation.Nullable private BigDecimal justNumber; public NumberOnly() { } @@ -49,8 +49,7 @@ public class NumberOnly { * Get justNumber * @return justNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getJustNumber() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java index 9c7dd338540..53651d39f81 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java @@ -38,22 +38,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ObjectWithDeprecatedFields.JSON_PROPERTY_BARS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ObjectWithDeprecatedFields { public static final String JSON_PROPERTY_UUID = "uuid"; - @javax.annotation.Nullable - private String uuid; + @javax.annotation.Nullable private String uuid; public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private BigDecimal id; + @javax.annotation.Nullable private BigDecimal id; public static final String JSON_PROPERTY_DEPRECATED_REF = "deprecatedRef"; - @javax.annotation.Nullable - private DeprecatedObject deprecatedRef; + @javax.annotation.Nullable private DeprecatedObject deprecatedRef; public static final String JSON_PROPERTY_BARS = "bars"; - @javax.annotation.Nullable - private List bars; + @javax.annotation.Nullable private List bars; public ObjectWithDeprecatedFields() { } @@ -68,8 +65,7 @@ public class ObjectWithDeprecatedFields { * Get uuid * @return uuid */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getUuid() { @@ -95,8 +91,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getId() { @@ -122,8 +117,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public DeprecatedObject getDeprecatedRef() { @@ -157,8 +151,7 @@ public class ObjectWithDeprecatedFields { * @deprecated */ @Deprecated - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getBars() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Order.java index 0136b2dcc83..834d17fb706 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Order.java @@ -36,22 +36,19 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Order.JSON_PROPERTY_COMPLETE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Order { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_PET_ID = "petId"; - @javax.annotation.Nullable - private Long petId; + @javax.annotation.Nullable private Long petId; public static final String JSON_PROPERTY_QUANTITY = "quantity"; - @javax.annotation.Nullable - private Integer quantity; + @javax.annotation.Nullable private Integer quantity; public static final String JSON_PROPERTY_SHIP_DATE = "shipDate"; - @javax.annotation.Nullable - private OffsetDateTime shipDate; + @javax.annotation.Nullable private OffsetDateTime shipDate; /** * Order Status @@ -89,14 +86,11 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; - @javax.annotation.Nullable - private Boolean complete = false; + @javax.annotation.Nullable private Boolean complete = false; public Order() { } @@ -111,8 +105,7 @@ public class Order { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -136,8 +129,7 @@ public class Order { * Get petId * @return petId */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getPetId() { @@ -161,8 +153,7 @@ public class Order { * Get quantity * @return quantity */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getQuantity() { @@ -186,8 +177,7 @@ public class Order { * Get shipDate * @return shipDate */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SHIP_DATE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public OffsetDateTime getShipDate() { @@ -211,8 +201,7 @@ public class Order { * Order Status * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { @@ -236,8 +225,7 @@ public class Order { * Get complete * @return complete */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getComplete() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterComposite.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterComposite.java index c9b0b884ef2..b1979a9e65d 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterComposite.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterComposite.java @@ -33,18 +33,16 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterComposite.JSON_PROPERTY_MY_BOOLEAN }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterComposite { public static final String JSON_PROPERTY_MY_NUMBER = "my_number"; - @javax.annotation.Nullable - private BigDecimal myNumber; + @javax.annotation.Nullable private BigDecimal myNumber; public static final String JSON_PROPERTY_MY_STRING = "my_string"; - @javax.annotation.Nullable - private String myString; + @javax.annotation.Nullable private String myString; public static final String JSON_PROPERTY_MY_BOOLEAN = "my_boolean"; - @javax.annotation.Nullable - private Boolean myBoolean; + @javax.annotation.Nullable private Boolean myBoolean; public OuterComposite() { } @@ -59,8 +57,7 @@ public class OuterComposite { * Get myNumber * @return myNumber */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_NUMBER) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public BigDecimal getMyNumber() { @@ -84,8 +81,7 @@ public class OuterComposite { * Get myString * @return myString */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getMyString() { @@ -109,8 +105,7 @@ public class OuterComposite { * Get myBoolean * @return myBoolean */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Boolean getMyBoolean() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java index 88cf19fe07a..245d8fc6786 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; OuterObjectWithEnumProperty.JSON_PROPERTY_VALUE }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class OuterObjectWithEnumProperty { public static final String JSON_PROPERTY_VALUE = "value"; - @javax.annotation.Nonnull - private OuterEnumInteger value; + @javax.annotation.Nonnull private OuterEnumInteger value; public OuterObjectWithEnumProperty() { } @@ -49,8 +49,7 @@ public class OuterObjectWithEnumProperty { * Get value * @return value */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_VALUE) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) public OuterEnumInteger getValue() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java index b97f28bbcfd..432bd35481b 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ParentWithNullable.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ParentWithNullable.JSON_PROPERTY_NULLABLE_PROPERTY }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -80,14 +81,11 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; - @javax.annotation.Nullable - protected TypeEnum type; + @javax.annotation.Nullable protected TypeEnum type; public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty"; - @javax.annotation.Nullable - protected JsonNullable nullableProperty = JsonNullable.undefined(); + @javax.annotation.Nullable protected JsonNullable nullableProperty = JsonNullable.undefined(); public ParentWithNullable() { } @@ -102,8 +100,7 @@ public class ParentWithNullable { * Get type * @return type */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public TypeEnum getType() { @@ -127,8 +124,7 @@ public class ParentWithNullable { * Get nullableProperty * @return nullableProperty */ - @javax.annotation.Nullable - @JsonIgnore + @javax.annotation.Nullable @JsonIgnore public String getNullableProperty() { return nullableProperty.orElse(null); @@ -136,7 +132,6 @@ public class ParentWithNullable { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java index 5a91c5d0773..06756c2ca5b 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java @@ -43,26 +43,22 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Pet.JSON_PROPERTY_STATUS }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Pet { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_CATEGORY = "category"; - @javax.annotation.Nullable - private Category category; + @javax.annotation.Nullable private Category category; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nonnull - private String name; + @javax.annotation.Nonnull private String name; public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls"; - @javax.annotation.Nonnull - private Set photoUrls; + @javax.annotation.Nonnull private Set photoUrls; public static final String JSON_PROPERTY_TAGS = "tags"; - @javax.annotation.Nullable - private List tags; + @javax.annotation.Nullable private List tags; /** * pet status in the store @@ -100,10 +96,8 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; - @javax.annotation.Nullable - private StatusEnum status; + @javax.annotation.Nullable private StatusEnum status; public Pet() { } @@ -118,8 +112,7 @@ public class Pet { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -143,8 +136,7 @@ public class Pet { * Get category * @return category */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CATEGORY) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Category getCategory() { @@ -168,8 +160,7 @@ public class Pet { * Get name * @return name */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getName() { @@ -201,8 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @javax.annotation.Nonnull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) + @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) public Set getPhotoUrls() { @@ -235,8 +225,7 @@ public class Pet { * Get tags * @return tags */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TAGS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public List getTags() { @@ -260,8 +249,7 @@ public class Pet { * pet status in the store * @return status */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public StatusEnum getStatus() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java index e0e1e8bb4bb..7fd8fc08906 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; ReadOnlyFirst.JSON_PROPERTY_BAZ }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class ReadOnlyFirst { public static final String JSON_PROPERTY_BAR = "bar"; - @javax.annotation.Nullable - private String bar; + @javax.annotation.Nullable private String bar; public static final String JSON_PROPERTY_BAZ = "baz"; - @javax.annotation.Nullable - private String baz; + @javax.annotation.Nullable private String baz; public ReadOnlyFirst() { } @@ -57,8 +56,7 @@ public class ReadOnlyFirst { * Get bar * @return bar */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBar() { @@ -77,8 +75,7 @@ public class ReadOnlyFirst { * Get baz * @return baz */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getBaz() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/SpecialModelName.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/SpecialModelName.java index 8d7cee19879..2ce6677d2d2 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/SpecialModelName.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/SpecialModelName.java @@ -31,10 +31,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("_special_model.name_") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class SpecialModelName { public static final String JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME = "$special[property.name]"; - @javax.annotation.Nullable - private Long $specialPropertyName; + @javax.annotation.Nullable private Long $specialPropertyName; public SpecialModelName() { } @@ -49,8 +49,7 @@ public class SpecialModelName { * Get $specialPropertyName * @return $specialPropertyName */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long get$SpecialPropertyName() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Tag.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Tag.java index ebcb558efe5..027b8542d35 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Tag.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Tag.java @@ -31,14 +31,13 @@ import com.fasterxml.jackson.annotation.JsonTypeName; Tag.JSON_PROPERTY_NAME }) @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class Tag { public static final String JSON_PROPERTY_ID = "id"; - @javax.annotation.Nullable - private Long id; + @javax.annotation.Nullable private Long id; public static final String JSON_PROPERTY_NAME = "name"; - @javax.annotation.Nullable - private String name; + @javax.annotation.Nullable private String name; public Tag() { } @@ -53,8 +52,7 @@ public class Tag { * Get id * @return id */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Long getId() { @@ -78,8 +76,7 @@ public class Tag { * Get name * @return name */ - @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getName() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java index 89584fa7c93..ea68d8ffaf2 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java @@ -33,10 +33,10 @@ import com.fasterxml.jackson.annotation.JsonTypeName; }) @JsonTypeName("testInlineFreeformAdditionalProperties_request") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") + public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { public static final String JSON_PROPERTY_SOME_PROPERTY = "someProperty"; - @javax.annotation.Nullable - private String someProperty; + @javax.annotation.Nullable private String someProperty; public TestInlineFreeformAdditionalPropertiesRequest() { @@ -52,8 +52,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest extends HashMaparrayEnum property. * @enum {String} @@ -136,6 +135,4 @@ EnumArrays['ArrayEnumEnum'] = { }; - export default EnumArrays; - diff --git a/samples/client/petstore/javascript-apollo/src/model/EnumClass.js b/samples/client/petstore/javascript-apollo/src/model/EnumClass.js index f0888e52d5b..ebee1f6e829 100644 --- a/samples/client/petstore/javascript-apollo/src/model/EnumClass.js +++ b/samples/client/petstore/javascript-apollo/src/model/EnumClass.js @@ -50,4 +50,3 @@ export default class EnumClass { return object; } } - diff --git a/samples/client/petstore/javascript-apollo/src/model/EnumTest.js b/samples/client/petstore/javascript-apollo/src/model/EnumTest.js index 708e37e4ac6..8f1ab6bc8a0 100644 --- a/samples/client/petstore/javascript-apollo/src/model/EnumTest.js +++ b/samples/client/petstore/javascript-apollo/src/model/EnumTest.js @@ -180,7 +180,6 @@ EnumTest['EnumStringEnum'] = { "empty": "" }; - /** * Allowed values for the enum_string_required property. * @enum {String} @@ -207,7 +206,6 @@ EnumTest['EnumStringRequiredEnum'] = { "empty": "" }; - /** * Allowed values for the enum_integer property. * @enum {Number} @@ -228,7 +226,6 @@ EnumTest['EnumIntegerEnum'] = { "-1": -1 }; - /** * Allowed values for the enum_number property. * @enum {Number} @@ -250,6 +247,4 @@ EnumTest['EnumNumberEnum'] = { }; - export default EnumTest; - diff --git a/samples/client/petstore/javascript-apollo/src/model/File.js b/samples/client/petstore/javascript-apollo/src/model/File.js index 5f5c9547a1f..a8cf8bd152b 100644 --- a/samples/client/petstore/javascript-apollo/src/model/File.js +++ b/samples/client/petstore/javascript-apollo/src/model/File.js @@ -86,4 +86,3 @@ File.prototype['sourceURI'] = undefined; export default File; - diff --git a/samples/client/petstore/javascript-apollo/src/model/FileSchemaTestClass.js b/samples/client/petstore/javascript-apollo/src/model/FileSchemaTestClass.js index 1b343c6835b..d63aae8c30b 100644 --- a/samples/client/petstore/javascript-apollo/src/model/FileSchemaTestClass.js +++ b/samples/client/petstore/javascript-apollo/src/model/FileSchemaTestClass.js @@ -102,4 +102,3 @@ FileSchemaTestClass.prototype['files'] = undefined; export default FileSchemaTestClass; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Foo.js b/samples/client/petstore/javascript-apollo/src/model/Foo.js index e808b774ec0..3705305e4e2 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Foo.js +++ b/samples/client/petstore/javascript-apollo/src/model/Foo.js @@ -86,4 +86,3 @@ Foo.prototype['bar'] = 'bar'; export default Foo; - diff --git a/samples/client/petstore/javascript-apollo/src/model/FooGetDefaultResponse.js b/samples/client/petstore/javascript-apollo/src/model/FooGetDefaultResponse.js index b11d8859371..f5a031a6c66 100644 --- a/samples/client/petstore/javascript-apollo/src/model/FooGetDefaultResponse.js +++ b/samples/client/petstore/javascript-apollo/src/model/FooGetDefaultResponse.js @@ -85,4 +85,3 @@ FooGetDefaultResponse.prototype['string'] = undefined; export default FooGetDefaultResponse; - diff --git a/samples/client/petstore/javascript-apollo/src/model/FormatTest.js b/samples/client/petstore/javascript-apollo/src/model/FormatTest.js index 7205c80e697..1a548576053 100644 --- a/samples/client/petstore/javascript-apollo/src/model/FormatTest.js +++ b/samples/client/petstore/javascript-apollo/src/model/FormatTest.js @@ -236,4 +236,3 @@ FormatTest.prototype['pattern_with_digits_and_delimiter'] = undefined; export default FormatTest; - diff --git a/samples/client/petstore/javascript-apollo/src/model/HasOnlyReadOnly.js b/samples/client/petstore/javascript-apollo/src/model/HasOnlyReadOnly.js index 90943b87aef..2fce4c03ccb 100644 --- a/samples/client/petstore/javascript-apollo/src/model/HasOnlyReadOnly.js +++ b/samples/client/petstore/javascript-apollo/src/model/HasOnlyReadOnly.js @@ -96,4 +96,3 @@ HasOnlyReadOnly.prototype['foo'] = undefined; export default HasOnlyReadOnly; - diff --git a/samples/client/petstore/javascript-apollo/src/model/HealthCheckResult.js b/samples/client/petstore/javascript-apollo/src/model/HealthCheckResult.js index 112fd778426..922e9b3292a 100644 --- a/samples/client/petstore/javascript-apollo/src/model/HealthCheckResult.js +++ b/samples/client/petstore/javascript-apollo/src/model/HealthCheckResult.js @@ -85,4 +85,3 @@ HealthCheckResult.prototype['NullableMessage'] = undefined; export default HealthCheckResult; - diff --git a/samples/client/petstore/javascript-apollo/src/model/List.js b/samples/client/petstore/javascript-apollo/src/model/List.js index ca916761c0f..a84c29ec5e4 100644 --- a/samples/client/petstore/javascript-apollo/src/model/List.js +++ b/samples/client/petstore/javascript-apollo/src/model/List.js @@ -84,4 +84,3 @@ List.prototype['123-list'] = undefined; export default List; - diff --git a/samples/client/petstore/javascript-apollo/src/model/MapTest.js b/samples/client/petstore/javascript-apollo/src/model/MapTest.js index 478e2347fa7..806df7f056b 100644 --- a/samples/client/petstore/javascript-apollo/src/model/MapTest.js +++ b/samples/client/petstore/javascript-apollo/src/model/MapTest.js @@ -123,6 +123,4 @@ MapTest['InnerEnum'] = { }; - export default MapTest; - diff --git a/samples/client/petstore/javascript-apollo/src/model/MixedPropertiesAndAdditionalPropertiesClass.js b/samples/client/petstore/javascript-apollo/src/model/MixedPropertiesAndAdditionalPropertiesClass.js index 8131fa36203..6eb3686efd1 100644 --- a/samples/client/petstore/javascript-apollo/src/model/MixedPropertiesAndAdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-apollo/src/model/MixedPropertiesAndAdditionalPropertiesClass.js @@ -101,4 +101,3 @@ MixedPropertiesAndAdditionalPropertiesClass.prototype['map'] = undefined; export default MixedPropertiesAndAdditionalPropertiesClass; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Model200Response.js b/samples/client/petstore/javascript-apollo/src/model/Model200Response.js index 604683735fc..ac5227bd246 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Model200Response.js +++ b/samples/client/petstore/javascript-apollo/src/model/Model200Response.js @@ -93,4 +93,3 @@ Model200Response.prototype['class'] = undefined; export default Model200Response; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Name.js b/samples/client/petstore/javascript-apollo/src/model/Name.js index cd7f0a692e7..a7070c44866 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Name.js +++ b/samples/client/petstore/javascript-apollo/src/model/Name.js @@ -117,4 +117,3 @@ Name.prototype['123Number'] = undefined; export default Name; - diff --git a/samples/client/petstore/javascript-apollo/src/model/NestedColor.js b/samples/client/petstore/javascript-apollo/src/model/NestedColor.js index 5b611469036..94a8f1db03a 100644 --- a/samples/client/petstore/javascript-apollo/src/model/NestedColor.js +++ b/samples/client/petstore/javascript-apollo/src/model/NestedColor.js @@ -93,4 +93,3 @@ NestedColor.prototype['nested'] = undefined; export default NestedColor; - diff --git a/samples/client/petstore/javascript-apollo/src/model/NestedOneOf.js b/samples/client/petstore/javascript-apollo/src/model/NestedOneOf.js index 3ea6ed798b7..e5c83a1498e 100644 --- a/samples/client/petstore/javascript-apollo/src/model/NestedOneOf.js +++ b/samples/client/petstore/javascript-apollo/src/model/NestedOneOf.js @@ -93,4 +93,3 @@ NestedOneOf.prototype['nested_pig'] = undefined; export default NestedOneOf; - diff --git a/samples/client/petstore/javascript-apollo/src/model/NullableClass.js b/samples/client/petstore/javascript-apollo/src/model/NullableClass.js index 33dd77a1820..abd69212fee 100644 --- a/samples/client/petstore/javascript-apollo/src/model/NullableClass.js +++ b/samples/client/petstore/javascript-apollo/src/model/NullableClass.js @@ -188,4 +188,3 @@ NullableClass.prototype['object_items_nullable'] = undefined; export default NullableClass; - diff --git a/samples/client/petstore/javascript-apollo/src/model/NumberOnly.js b/samples/client/petstore/javascript-apollo/src/model/NumberOnly.js index deb4f2961f6..15859d536a0 100644 --- a/samples/client/petstore/javascript-apollo/src/model/NumberOnly.js +++ b/samples/client/petstore/javascript-apollo/src/model/NumberOnly.js @@ -80,4 +80,3 @@ NumberOnly.prototype['JustNumber'] = undefined; export default NumberOnly; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ObjectWithDeprecatedFields.js b/samples/client/petstore/javascript-apollo/src/model/ObjectWithDeprecatedFields.js index 29e80fd2664..eb81654436a 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ObjectWithDeprecatedFields.js +++ b/samples/client/petstore/javascript-apollo/src/model/ObjectWithDeprecatedFields.js @@ -117,4 +117,3 @@ ObjectWithDeprecatedFields.prototype['bars'] = undefined; export default ObjectWithDeprecatedFields; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Order.js b/samples/client/petstore/javascript-apollo/src/model/Order.js index 0568b473315..179d7fc8914 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Order.js +++ b/samples/client/petstore/javascript-apollo/src/model/Order.js @@ -152,6 +152,4 @@ Order['StatusEnum'] = { }; - export default Order; - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterComposite.js b/samples/client/petstore/javascript-apollo/src/model/OuterComposite.js index 1c6a3c9a857..a324d9ff71f 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterComposite.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterComposite.js @@ -100,4 +100,3 @@ OuterComposite.prototype['my_boolean'] = undefined; export default OuterComposite; - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterEnum.js b/samples/client/petstore/javascript-apollo/src/model/OuterEnum.js index 12fdff98026..200bf20812e 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterEnum.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterEnum.js @@ -50,4 +50,3 @@ export default class OuterEnum { return object; } } - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterEnumDefaultValue.js b/samples/client/petstore/javascript-apollo/src/model/OuterEnumDefaultValue.js index a65b1dd0a6b..9b13a19aa60 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterEnumDefaultValue.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterEnumDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterEnumInteger.js b/samples/client/petstore/javascript-apollo/src/model/OuterEnumInteger.js index b6fc29568a0..9d6ce105675 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterEnumInteger.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterEnumInteger.js @@ -50,4 +50,3 @@ export default class OuterEnumInteger { return object; } } - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterEnumIntegerDefaultValue.js b/samples/client/petstore/javascript-apollo/src/model/OuterEnumIntegerDefaultValue.js index 86a9d6b9467..0e43feb22d1 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterEnumIntegerDefaultValue.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterEnumIntegerDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumIntegerDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-apollo/src/model/OuterObjectWithEnumProperty.js b/samples/client/petstore/javascript-apollo/src/model/OuterObjectWithEnumProperty.js index 04fe08cbbf1..09551cf7e5d 100644 --- a/samples/client/petstore/javascript-apollo/src/model/OuterObjectWithEnumProperty.js +++ b/samples/client/petstore/javascript-apollo/src/model/OuterObjectWithEnumProperty.js @@ -89,4 +89,3 @@ OuterObjectWithEnumProperty.prototype['value'] = undefined; export default OuterObjectWithEnumProperty; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Pet.js b/samples/client/petstore/javascript-apollo/src/model/Pet.js index ffe0b659879..d4c757e76ac 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Pet.js +++ b/samples/client/petstore/javascript-apollo/src/model/Pet.js @@ -184,6 +184,4 @@ Pet['StatusEnum'] = { }; - export default Pet; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Pig.js b/samples/client/petstore/javascript-apollo/src/model/Pig.js index 222a3e27d41..be2f0c1f5df 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Pig.js +++ b/samples/client/petstore/javascript-apollo/src/model/Pig.js @@ -140,4 +140,3 @@ Pig.prototype['size'] = undefined; Pig.OneOf = ["BasquePig", "DanishPig"]; export default Pig; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ReadOnlyFirst.js b/samples/client/petstore/javascript-apollo/src/model/ReadOnlyFirst.js index b0fa7628f16..22371d2c6f3 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ReadOnlyFirst.js +++ b/samples/client/petstore/javascript-apollo/src/model/ReadOnlyFirst.js @@ -96,4 +96,3 @@ ReadOnlyFirst.prototype['baz'] = undefined; export default ReadOnlyFirst; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Return.js b/samples/client/petstore/javascript-apollo/src/model/Return.js index 616574b5fc3..11f7e3e3f49 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Return.js +++ b/samples/client/petstore/javascript-apollo/src/model/Return.js @@ -81,4 +81,3 @@ Return.prototype['return'] = undefined; export default Return; - diff --git a/samples/client/petstore/javascript-apollo/src/model/SpecialModelName.js b/samples/client/petstore/javascript-apollo/src/model/SpecialModelName.js index b9ece722920..c2d9e26c4e5 100644 --- a/samples/client/petstore/javascript-apollo/src/model/SpecialModelName.js +++ b/samples/client/petstore/javascript-apollo/src/model/SpecialModelName.js @@ -80,4 +80,3 @@ SpecialModelName.prototype['$special[property.name]'] = undefined; export default SpecialModelName; - diff --git a/samples/client/petstore/javascript-apollo/src/model/StringOrBoolean.js b/samples/client/petstore/javascript-apollo/src/model/StringOrBoolean.js index 029e14e41a7..f86a6169a53 100644 --- a/samples/client/petstore/javascript-apollo/src/model/StringOrBoolean.js +++ b/samples/client/petstore/javascript-apollo/src/model/StringOrBoolean.js @@ -116,4 +116,3 @@ class StringOrBoolean { StringOrBoolean.OneOf = ["Boolean", "String"]; export default StringOrBoolean; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Tag.js b/samples/client/petstore/javascript-apollo/src/model/Tag.js index c24706b827e..6ac42574a90 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Tag.js +++ b/samples/client/petstore/javascript-apollo/src/model/Tag.js @@ -92,4 +92,3 @@ Tag.prototype['name'] = undefined; export default Tag; - diff --git a/samples/client/petstore/javascript-apollo/src/model/TestInlineFreeformAdditionalPropertiesRequest.js b/samples/client/petstore/javascript-apollo/src/model/TestInlineFreeformAdditionalPropertiesRequest.js index b28db6e166f..90e67fa74c8 100644 --- a/samples/client/petstore/javascript-apollo/src/model/TestInlineFreeformAdditionalPropertiesRequest.js +++ b/samples/client/petstore/javascript-apollo/src/model/TestInlineFreeformAdditionalPropertiesRequest.js @@ -88,4 +88,3 @@ TestInlineFreeformAdditionalPropertiesRequest.prototype['someProperty'] = undefi export default TestInlineFreeformAdditionalPropertiesRequest; - diff --git a/samples/client/petstore/javascript-apollo/src/model/User.js b/samples/client/petstore/javascript-apollo/src/model/User.js index 145851f479b..b31d8ce5cdc 100644 --- a/samples/client/petstore/javascript-apollo/src/model/User.js +++ b/samples/client/petstore/javascript-apollo/src/model/User.js @@ -161,4 +161,3 @@ User.prototype['userStatus'] = undefined; export default User; - diff --git a/samples/client/petstore/javascript-es6/src/model/AdditionalPropertiesClass.js b/samples/client/petstore/javascript-es6/src/model/AdditionalPropertiesClass.js index 3849c00c595..6053ed1c927 100644 --- a/samples/client/petstore/javascript-es6/src/model/AdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-es6/src/model/AdditionalPropertiesClass.js @@ -88,4 +88,3 @@ AdditionalPropertiesClass.prototype['map_of_map_property'] = undefined; export default AdditionalPropertiesClass; - diff --git a/samples/client/petstore/javascript-es6/src/model/Animal.js b/samples/client/petstore/javascript-es6/src/model/Animal.js index f780272847e..f07600c3f34 100644 --- a/samples/client/petstore/javascript-es6/src/model/Animal.js +++ b/samples/client/petstore/javascript-es6/src/model/Animal.js @@ -106,4 +106,3 @@ Animal.prototype['color'] = 'red'; export default Animal; - diff --git a/samples/client/petstore/javascript-es6/src/model/ApiResponse.js b/samples/client/petstore/javascript-es6/src/model/ApiResponse.js index 6db561122f1..9e6527ecdf7 100644 --- a/samples/client/petstore/javascript-es6/src/model/ApiResponse.js +++ b/samples/client/petstore/javascript-es6/src/model/ApiResponse.js @@ -104,4 +104,3 @@ ApiResponse.prototype['message'] = undefined; export default ApiResponse; - diff --git a/samples/client/petstore/javascript-es6/src/model/ArrayOfArrayOfNumberOnly.js b/samples/client/petstore/javascript-es6/src/model/ArrayOfArrayOfNumberOnly.js index 461c6b5b35b..39ad22365e4 100644 --- a/samples/client/petstore/javascript-es6/src/model/ArrayOfArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-es6/src/model/ArrayOfArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfArrayOfNumberOnly.prototype['ArrayArrayNumber'] = undefined; export default ArrayOfArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-es6/src/model/ArrayOfNumberOnly.js b/samples/client/petstore/javascript-es6/src/model/ArrayOfNumberOnly.js index 4c2513c1076..b723a590307 100644 --- a/samples/client/petstore/javascript-es6/src/model/ArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-es6/src/model/ArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfNumberOnly.prototype['ArrayNumber'] = undefined; export default ArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-es6/src/model/ArrayTest.js b/samples/client/petstore/javascript-es6/src/model/ArrayTest.js index 3fc3c9b7f92..eb54fd95503 100644 --- a/samples/client/petstore/javascript-es6/src/model/ArrayTest.js +++ b/samples/client/petstore/javascript-es6/src/model/ArrayTest.js @@ -109,4 +109,3 @@ ArrayTest.prototype['array_array_of_model'] = undefined; export default ArrayTest; - diff --git a/samples/client/petstore/javascript-es6/src/model/BasquePig.js b/samples/client/petstore/javascript-es6/src/model/BasquePig.js index 285ee12ca46..c76c55ae71e 100644 --- a/samples/client/petstore/javascript-es6/src/model/BasquePig.js +++ b/samples/client/petstore/javascript-es6/src/model/BasquePig.js @@ -106,4 +106,3 @@ BasquePig.prototype['color'] = undefined; export default BasquePig; - diff --git a/samples/client/petstore/javascript-es6/src/model/Capitalization.js b/samples/client/petstore/javascript-es6/src/model/Capitalization.js index cf4ef4348ac..14c69308cb7 100644 --- a/samples/client/petstore/javascript-es6/src/model/Capitalization.js +++ b/samples/client/petstore/javascript-es6/src/model/Capitalization.js @@ -145,4 +145,3 @@ Capitalization.prototype['ATT_NAME'] = undefined; export default Capitalization; - diff --git a/samples/client/petstore/javascript-es6/src/model/Cat.js b/samples/client/petstore/javascript-es6/src/model/Cat.js index cfb0892ce41..e72d11f3bc3 100644 --- a/samples/client/petstore/javascript-es6/src/model/Cat.js +++ b/samples/client/petstore/javascript-es6/src/model/Cat.js @@ -102,4 +102,3 @@ Animal.prototype['color'] = 'red'; export default Cat; - diff --git a/samples/client/petstore/javascript-es6/src/model/Category.js b/samples/client/petstore/javascript-es6/src/model/Category.js index 829ecab0037..ef116442478 100644 --- a/samples/client/petstore/javascript-es6/src/model/Category.js +++ b/samples/client/petstore/javascript-es6/src/model/Category.js @@ -101,4 +101,3 @@ Category.prototype['name'] = 'default-name'; export default Category; - diff --git a/samples/client/petstore/javascript-es6/src/model/ClassModel.js b/samples/client/petstore/javascript-es6/src/model/ClassModel.js index ba614443ebf..38bf6626338 100644 --- a/samples/client/petstore/javascript-es6/src/model/ClassModel.js +++ b/samples/client/petstore/javascript-es6/src/model/ClassModel.js @@ -85,4 +85,3 @@ ClassModel.prototype['_class'] = undefined; export default ClassModel; - diff --git a/samples/client/petstore/javascript-es6/src/model/Client.js b/samples/client/petstore/javascript-es6/src/model/Client.js index 4089ff37ee6..83dfb4c8049 100644 --- a/samples/client/petstore/javascript-es6/src/model/Client.js +++ b/samples/client/petstore/javascript-es6/src/model/Client.js @@ -84,4 +84,3 @@ Client.prototype['client'] = undefined; export default Client; - diff --git a/samples/client/petstore/javascript-es6/src/model/Color.js b/samples/client/petstore/javascript-es6/src/model/Color.js index 70daad82ce6..c93c8ed9296 100644 --- a/samples/client/petstore/javascript-es6/src/model/Color.js +++ b/samples/client/petstore/javascript-es6/src/model/Color.js @@ -161,4 +161,3 @@ class Color { Color.OneOf = ["String", "[Number]"]; export default Color; - diff --git a/samples/client/petstore/javascript-es6/src/model/DanishPig.js b/samples/client/petstore/javascript-es6/src/model/DanishPig.js index 43cb640921a..6a3458ae9d5 100644 --- a/samples/client/petstore/javascript-es6/src/model/DanishPig.js +++ b/samples/client/petstore/javascript-es6/src/model/DanishPig.js @@ -102,4 +102,3 @@ DanishPig.prototype['size'] = undefined; export default DanishPig; - diff --git a/samples/client/petstore/javascript-es6/src/model/DeprecatedObject.js b/samples/client/petstore/javascript-es6/src/model/DeprecatedObject.js index d7c874345f1..c103ffe6cf2 100644 --- a/samples/client/petstore/javascript-es6/src/model/DeprecatedObject.js +++ b/samples/client/petstore/javascript-es6/src/model/DeprecatedObject.js @@ -84,4 +84,3 @@ DeprecatedObject.prototype['name'] = undefined; export default DeprecatedObject; - diff --git a/samples/client/petstore/javascript-es6/src/model/Dog.js b/samples/client/petstore/javascript-es6/src/model/Dog.js index 5397bb99d32..41538d4ccc3 100644 --- a/samples/client/petstore/javascript-es6/src/model/Dog.js +++ b/samples/client/petstore/javascript-es6/src/model/Dog.js @@ -106,4 +106,3 @@ Animal.prototype['color'] = 'red'; export default Dog; - diff --git a/samples/client/petstore/javascript-es6/src/model/EnumArrays.js b/samples/client/petstore/javascript-es6/src/model/EnumArrays.js index 2289689e349..b631496edb9 100644 --- a/samples/client/petstore/javascript-es6/src/model/EnumArrays.js +++ b/samples/client/petstore/javascript-es6/src/model/EnumArrays.js @@ -114,7 +114,6 @@ EnumArrays['JustSymbolEnum'] = { "DOLLAR": "$" }; - /** * Allowed values for the arrayEnum property. * @enum {String} @@ -136,6 +135,4 @@ EnumArrays['ArrayEnumEnum'] = { }; - export default EnumArrays; - diff --git a/samples/client/petstore/javascript-es6/src/model/EnumClass.js b/samples/client/petstore/javascript-es6/src/model/EnumClass.js index f0888e52d5b..ebee1f6e829 100644 --- a/samples/client/petstore/javascript-es6/src/model/EnumClass.js +++ b/samples/client/petstore/javascript-es6/src/model/EnumClass.js @@ -50,4 +50,3 @@ export default class EnumClass { return object; } } - diff --git a/samples/client/petstore/javascript-es6/src/model/EnumTest.js b/samples/client/petstore/javascript-es6/src/model/EnumTest.js index 708e37e4ac6..8f1ab6bc8a0 100644 --- a/samples/client/petstore/javascript-es6/src/model/EnumTest.js +++ b/samples/client/petstore/javascript-es6/src/model/EnumTest.js @@ -180,7 +180,6 @@ EnumTest['EnumStringEnum'] = { "empty": "" }; - /** * Allowed values for the enum_string_required property. * @enum {String} @@ -207,7 +206,6 @@ EnumTest['EnumStringRequiredEnum'] = { "empty": "" }; - /** * Allowed values for the enum_integer property. * @enum {Number} @@ -228,7 +226,6 @@ EnumTest['EnumIntegerEnum'] = { "-1": -1 }; - /** * Allowed values for the enum_number property. * @enum {Number} @@ -250,6 +247,4 @@ EnumTest['EnumNumberEnum'] = { }; - export default EnumTest; - diff --git a/samples/client/petstore/javascript-es6/src/model/File.js b/samples/client/petstore/javascript-es6/src/model/File.js index 5f5c9547a1f..a8cf8bd152b 100644 --- a/samples/client/petstore/javascript-es6/src/model/File.js +++ b/samples/client/petstore/javascript-es6/src/model/File.js @@ -86,4 +86,3 @@ File.prototype['sourceURI'] = undefined; export default File; - diff --git a/samples/client/petstore/javascript-es6/src/model/FileSchemaTestClass.js b/samples/client/petstore/javascript-es6/src/model/FileSchemaTestClass.js index 1b343c6835b..d63aae8c30b 100644 --- a/samples/client/petstore/javascript-es6/src/model/FileSchemaTestClass.js +++ b/samples/client/petstore/javascript-es6/src/model/FileSchemaTestClass.js @@ -102,4 +102,3 @@ FileSchemaTestClass.prototype['files'] = undefined; export default FileSchemaTestClass; - diff --git a/samples/client/petstore/javascript-es6/src/model/Foo.js b/samples/client/petstore/javascript-es6/src/model/Foo.js index e808b774ec0..3705305e4e2 100644 --- a/samples/client/petstore/javascript-es6/src/model/Foo.js +++ b/samples/client/petstore/javascript-es6/src/model/Foo.js @@ -86,4 +86,3 @@ Foo.prototype['bar'] = 'bar'; export default Foo; - diff --git a/samples/client/petstore/javascript-es6/src/model/FooGetDefaultResponse.js b/samples/client/petstore/javascript-es6/src/model/FooGetDefaultResponse.js index b11d8859371..f5a031a6c66 100644 --- a/samples/client/petstore/javascript-es6/src/model/FooGetDefaultResponse.js +++ b/samples/client/petstore/javascript-es6/src/model/FooGetDefaultResponse.js @@ -85,4 +85,3 @@ FooGetDefaultResponse.prototype['string'] = undefined; export default FooGetDefaultResponse; - diff --git a/samples/client/petstore/javascript-es6/src/model/FormatTest.js b/samples/client/petstore/javascript-es6/src/model/FormatTest.js index 7205c80e697..1a548576053 100644 --- a/samples/client/petstore/javascript-es6/src/model/FormatTest.js +++ b/samples/client/petstore/javascript-es6/src/model/FormatTest.js @@ -236,4 +236,3 @@ FormatTest.prototype['pattern_with_digits_and_delimiter'] = undefined; export default FormatTest; - diff --git a/samples/client/petstore/javascript-es6/src/model/HasOnlyReadOnly.js b/samples/client/petstore/javascript-es6/src/model/HasOnlyReadOnly.js index 90943b87aef..2fce4c03ccb 100644 --- a/samples/client/petstore/javascript-es6/src/model/HasOnlyReadOnly.js +++ b/samples/client/petstore/javascript-es6/src/model/HasOnlyReadOnly.js @@ -96,4 +96,3 @@ HasOnlyReadOnly.prototype['foo'] = undefined; export default HasOnlyReadOnly; - diff --git a/samples/client/petstore/javascript-es6/src/model/HealthCheckStatus.js b/samples/client/petstore/javascript-es6/src/model/HealthCheckStatus.js index 6299516cbbd..c65e500cc50 100644 --- a/samples/client/petstore/javascript-es6/src/model/HealthCheckStatus.js +++ b/samples/client/petstore/javascript-es6/src/model/HealthCheckStatus.js @@ -85,4 +85,3 @@ HealthCheckStatus.prototype['NullableMessage'] = undefined; export default HealthCheckStatus; - diff --git a/samples/client/petstore/javascript-es6/src/model/List.js b/samples/client/petstore/javascript-es6/src/model/List.js index ca916761c0f..a84c29ec5e4 100644 --- a/samples/client/petstore/javascript-es6/src/model/List.js +++ b/samples/client/petstore/javascript-es6/src/model/List.js @@ -84,4 +84,3 @@ List.prototype['123-list'] = undefined; export default List; - diff --git a/samples/client/petstore/javascript-es6/src/model/MapTest.js b/samples/client/petstore/javascript-es6/src/model/MapTest.js index 478e2347fa7..806df7f056b 100644 --- a/samples/client/petstore/javascript-es6/src/model/MapTest.js +++ b/samples/client/petstore/javascript-es6/src/model/MapTest.js @@ -123,6 +123,4 @@ MapTest['InnerEnum'] = { }; - export default MapTest; - diff --git a/samples/client/petstore/javascript-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js b/samples/client/petstore/javascript-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js index 8131fa36203..6eb3686efd1 100644 --- a/samples/client/petstore/javascript-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js @@ -101,4 +101,3 @@ MixedPropertiesAndAdditionalPropertiesClass.prototype['map'] = undefined; export default MixedPropertiesAndAdditionalPropertiesClass; - diff --git a/samples/client/petstore/javascript-es6/src/model/Model200Response.js b/samples/client/petstore/javascript-es6/src/model/Model200Response.js index 604683735fc..ac5227bd246 100644 --- a/samples/client/petstore/javascript-es6/src/model/Model200Response.js +++ b/samples/client/petstore/javascript-es6/src/model/Model200Response.js @@ -93,4 +93,3 @@ Model200Response.prototype['class'] = undefined; export default Model200Response; - diff --git a/samples/client/petstore/javascript-es6/src/model/Name.js b/samples/client/petstore/javascript-es6/src/model/Name.js index cd7f0a692e7..a7070c44866 100644 --- a/samples/client/petstore/javascript-es6/src/model/Name.js +++ b/samples/client/petstore/javascript-es6/src/model/Name.js @@ -117,4 +117,3 @@ Name.prototype['123Number'] = undefined; export default Name; - diff --git a/samples/client/petstore/javascript-es6/src/model/NestedColor.js b/samples/client/petstore/javascript-es6/src/model/NestedColor.js index 5b611469036..94a8f1db03a 100644 --- a/samples/client/petstore/javascript-es6/src/model/NestedColor.js +++ b/samples/client/petstore/javascript-es6/src/model/NestedColor.js @@ -93,4 +93,3 @@ NestedColor.prototype['nested'] = undefined; export default NestedColor; - diff --git a/samples/client/petstore/javascript-es6/src/model/NestedOneOf.js b/samples/client/petstore/javascript-es6/src/model/NestedOneOf.js index 3ea6ed798b7..e5c83a1498e 100644 --- a/samples/client/petstore/javascript-es6/src/model/NestedOneOf.js +++ b/samples/client/petstore/javascript-es6/src/model/NestedOneOf.js @@ -93,4 +93,3 @@ NestedOneOf.prototype['nested_pig'] = undefined; export default NestedOneOf; - diff --git a/samples/client/petstore/javascript-es6/src/model/NullableClass.js b/samples/client/petstore/javascript-es6/src/model/NullableClass.js index 33dd77a1820..abd69212fee 100644 --- a/samples/client/petstore/javascript-es6/src/model/NullableClass.js +++ b/samples/client/petstore/javascript-es6/src/model/NullableClass.js @@ -188,4 +188,3 @@ NullableClass.prototype['object_items_nullable'] = undefined; export default NullableClass; - diff --git a/samples/client/petstore/javascript-es6/src/model/NumberOnly.js b/samples/client/petstore/javascript-es6/src/model/NumberOnly.js index deb4f2961f6..15859d536a0 100644 --- a/samples/client/petstore/javascript-es6/src/model/NumberOnly.js +++ b/samples/client/petstore/javascript-es6/src/model/NumberOnly.js @@ -80,4 +80,3 @@ NumberOnly.prototype['JustNumber'] = undefined; export default NumberOnly; - diff --git a/samples/client/petstore/javascript-es6/src/model/ObjectWithDeprecatedFields.js b/samples/client/petstore/javascript-es6/src/model/ObjectWithDeprecatedFields.js index 29e80fd2664..eb81654436a 100644 --- a/samples/client/petstore/javascript-es6/src/model/ObjectWithDeprecatedFields.js +++ b/samples/client/petstore/javascript-es6/src/model/ObjectWithDeprecatedFields.js @@ -117,4 +117,3 @@ ObjectWithDeprecatedFields.prototype['bars'] = undefined; export default ObjectWithDeprecatedFields; - diff --git a/samples/client/petstore/javascript-es6/src/model/Order.js b/samples/client/petstore/javascript-es6/src/model/Order.js index 0568b473315..179d7fc8914 100644 --- a/samples/client/petstore/javascript-es6/src/model/Order.js +++ b/samples/client/petstore/javascript-es6/src/model/Order.js @@ -152,6 +152,4 @@ Order['StatusEnum'] = { }; - export default Order; - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterComposite.js b/samples/client/petstore/javascript-es6/src/model/OuterComposite.js index 1c6a3c9a857..a324d9ff71f 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterComposite.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterComposite.js @@ -100,4 +100,3 @@ OuterComposite.prototype['my_boolean'] = undefined; export default OuterComposite; - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterEnum.js b/samples/client/petstore/javascript-es6/src/model/OuterEnum.js index 12fdff98026..200bf20812e 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterEnum.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterEnum.js @@ -50,4 +50,3 @@ export default class OuterEnum { return object; } } - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterEnumDefaultValue.js b/samples/client/petstore/javascript-es6/src/model/OuterEnumDefaultValue.js index a65b1dd0a6b..9b13a19aa60 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterEnumDefaultValue.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterEnumDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterEnumInteger.js b/samples/client/petstore/javascript-es6/src/model/OuterEnumInteger.js index b6fc29568a0..9d6ce105675 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterEnumInteger.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterEnumInteger.js @@ -50,4 +50,3 @@ export default class OuterEnumInteger { return object; } } - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterEnumIntegerDefaultValue.js b/samples/client/petstore/javascript-es6/src/model/OuterEnumIntegerDefaultValue.js index 86a9d6b9467..0e43feb22d1 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterEnumIntegerDefaultValue.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterEnumIntegerDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumIntegerDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-es6/src/model/OuterObjectWithEnumProperty.js b/samples/client/petstore/javascript-es6/src/model/OuterObjectWithEnumProperty.js index 04fe08cbbf1..09551cf7e5d 100644 --- a/samples/client/petstore/javascript-es6/src/model/OuterObjectWithEnumProperty.js +++ b/samples/client/petstore/javascript-es6/src/model/OuterObjectWithEnumProperty.js @@ -89,4 +89,3 @@ OuterObjectWithEnumProperty.prototype['value'] = undefined; export default OuterObjectWithEnumProperty; - diff --git a/samples/client/petstore/javascript-es6/src/model/Pet.js b/samples/client/petstore/javascript-es6/src/model/Pet.js index ffe0b659879..d4c757e76ac 100644 --- a/samples/client/petstore/javascript-es6/src/model/Pet.js +++ b/samples/client/petstore/javascript-es6/src/model/Pet.js @@ -184,6 +184,4 @@ Pet['StatusEnum'] = { }; - export default Pet; - diff --git a/samples/client/petstore/javascript-es6/src/model/Pig.js b/samples/client/petstore/javascript-es6/src/model/Pig.js index 222a3e27d41..be2f0c1f5df 100644 --- a/samples/client/petstore/javascript-es6/src/model/Pig.js +++ b/samples/client/petstore/javascript-es6/src/model/Pig.js @@ -140,4 +140,3 @@ Pig.prototype['size'] = undefined; Pig.OneOf = ["BasquePig", "DanishPig"]; export default Pig; - diff --git a/samples/client/petstore/javascript-es6/src/model/ReadOnlyFirst.js b/samples/client/petstore/javascript-es6/src/model/ReadOnlyFirst.js index b0fa7628f16..22371d2c6f3 100644 --- a/samples/client/petstore/javascript-es6/src/model/ReadOnlyFirst.js +++ b/samples/client/petstore/javascript-es6/src/model/ReadOnlyFirst.js @@ -96,4 +96,3 @@ ReadOnlyFirst.prototype['baz'] = undefined; export default ReadOnlyFirst; - diff --git a/samples/client/petstore/javascript-es6/src/model/Return.js b/samples/client/petstore/javascript-es6/src/model/Return.js index 616574b5fc3..11f7e3e3f49 100644 --- a/samples/client/petstore/javascript-es6/src/model/Return.js +++ b/samples/client/petstore/javascript-es6/src/model/Return.js @@ -81,4 +81,3 @@ Return.prototype['return'] = undefined; export default Return; - diff --git a/samples/client/petstore/javascript-es6/src/model/SpecialModelName.js b/samples/client/petstore/javascript-es6/src/model/SpecialModelName.js index b9ece722920..c2d9e26c4e5 100644 --- a/samples/client/petstore/javascript-es6/src/model/SpecialModelName.js +++ b/samples/client/petstore/javascript-es6/src/model/SpecialModelName.js @@ -80,4 +80,3 @@ SpecialModelName.prototype['$special[property.name]'] = undefined; export default SpecialModelName; - diff --git a/samples/client/petstore/javascript-es6/src/model/StringOrBoolean.js b/samples/client/petstore/javascript-es6/src/model/StringOrBoolean.js index 029e14e41a7..f86a6169a53 100644 --- a/samples/client/petstore/javascript-es6/src/model/StringOrBoolean.js +++ b/samples/client/petstore/javascript-es6/src/model/StringOrBoolean.js @@ -116,4 +116,3 @@ class StringOrBoolean { StringOrBoolean.OneOf = ["Boolean", "String"]; export default StringOrBoolean; - diff --git a/samples/client/petstore/javascript-es6/src/model/Tag.js b/samples/client/petstore/javascript-es6/src/model/Tag.js index c24706b827e..6ac42574a90 100644 --- a/samples/client/petstore/javascript-es6/src/model/Tag.js +++ b/samples/client/petstore/javascript-es6/src/model/Tag.js @@ -92,4 +92,3 @@ Tag.prototype['name'] = undefined; export default Tag; - diff --git a/samples/client/petstore/javascript-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js b/samples/client/petstore/javascript-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js index b28db6e166f..90e67fa74c8 100644 --- a/samples/client/petstore/javascript-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js +++ b/samples/client/petstore/javascript-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js @@ -88,4 +88,3 @@ TestInlineFreeformAdditionalPropertiesRequest.prototype['someProperty'] = undefi export default TestInlineFreeformAdditionalPropertiesRequest; - diff --git a/samples/client/petstore/javascript-es6/src/model/User.js b/samples/client/petstore/javascript-es6/src/model/User.js index 145851f479b..b31d8ce5cdc 100644 --- a/samples/client/petstore/javascript-es6/src/model/User.js +++ b/samples/client/petstore/javascript-es6/src/model/User.js @@ -161,4 +161,3 @@ User.prototype['userStatus'] = undefined; export default User; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/AdditionalPropertiesClass.js b/samples/client/petstore/javascript-promise-es6/src/model/AdditionalPropertiesClass.js index 3849c00c595..6053ed1c927 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/AdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/AdditionalPropertiesClass.js @@ -88,4 +88,3 @@ AdditionalPropertiesClass.prototype['map_of_map_property'] = undefined; export default AdditionalPropertiesClass; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Animal.js b/samples/client/petstore/javascript-promise-es6/src/model/Animal.js index f780272847e..f07600c3f34 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Animal.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Animal.js @@ -106,4 +106,3 @@ Animal.prototype['color'] = 'red'; export default Animal; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ApiResponse.js b/samples/client/petstore/javascript-promise-es6/src/model/ApiResponse.js index 6db561122f1..9e6527ecdf7 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ApiResponse.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ApiResponse.js @@ -104,4 +104,3 @@ ApiResponse.prototype['message'] = undefined; export default ApiResponse; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfArrayOfNumberOnly.js b/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfArrayOfNumberOnly.js index 461c6b5b35b..39ad22365e4 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfArrayOfNumberOnly.prototype['ArrayArrayNumber'] = undefined; export default ArrayOfArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfNumberOnly.js b/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfNumberOnly.js index 4c2513c1076..b723a590307 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfNumberOnly.prototype['ArrayNumber'] = undefined; export default ArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ArrayTest.js b/samples/client/petstore/javascript-promise-es6/src/model/ArrayTest.js index 3fc3c9b7f92..eb54fd95503 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ArrayTest.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ArrayTest.js @@ -109,4 +109,3 @@ ArrayTest.prototype['array_array_of_model'] = undefined; export default ArrayTest; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/BasquePig.js b/samples/client/petstore/javascript-promise-es6/src/model/BasquePig.js index 285ee12ca46..c76c55ae71e 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/BasquePig.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/BasquePig.js @@ -106,4 +106,3 @@ BasquePig.prototype['color'] = undefined; export default BasquePig; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Capitalization.js b/samples/client/petstore/javascript-promise-es6/src/model/Capitalization.js index cf4ef4348ac..14c69308cb7 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Capitalization.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Capitalization.js @@ -145,4 +145,3 @@ Capitalization.prototype['ATT_NAME'] = undefined; export default Capitalization; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Cat.js b/samples/client/petstore/javascript-promise-es6/src/model/Cat.js index cfb0892ce41..e72d11f3bc3 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Cat.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Cat.js @@ -102,4 +102,3 @@ Animal.prototype['color'] = 'red'; export default Cat; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Category.js b/samples/client/petstore/javascript-promise-es6/src/model/Category.js index 829ecab0037..ef116442478 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Category.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Category.js @@ -101,4 +101,3 @@ Category.prototype['name'] = 'default-name'; export default Category; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ClassModel.js b/samples/client/petstore/javascript-promise-es6/src/model/ClassModel.js index ba614443ebf..38bf6626338 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ClassModel.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ClassModel.js @@ -85,4 +85,3 @@ ClassModel.prototype['_class'] = undefined; export default ClassModel; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Client.js b/samples/client/petstore/javascript-promise-es6/src/model/Client.js index 4089ff37ee6..83dfb4c8049 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Client.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Client.js @@ -84,4 +84,3 @@ Client.prototype['client'] = undefined; export default Client; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Color.js b/samples/client/petstore/javascript-promise-es6/src/model/Color.js index 70daad82ce6..c93c8ed9296 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Color.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Color.js @@ -161,4 +161,3 @@ class Color { Color.OneOf = ["String", "[Number]"]; export default Color; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/DanishPig.js b/samples/client/petstore/javascript-promise-es6/src/model/DanishPig.js index 43cb640921a..6a3458ae9d5 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/DanishPig.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/DanishPig.js @@ -102,4 +102,3 @@ DanishPig.prototype['size'] = undefined; export default DanishPig; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/DeprecatedObject.js b/samples/client/petstore/javascript-promise-es6/src/model/DeprecatedObject.js index d7c874345f1..c103ffe6cf2 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/DeprecatedObject.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/DeprecatedObject.js @@ -84,4 +84,3 @@ DeprecatedObject.prototype['name'] = undefined; export default DeprecatedObject; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Dog.js b/samples/client/petstore/javascript-promise-es6/src/model/Dog.js index 5397bb99d32..41538d4ccc3 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Dog.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Dog.js @@ -106,4 +106,3 @@ Animal.prototype['color'] = 'red'; export default Dog; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/EnumArrays.js b/samples/client/petstore/javascript-promise-es6/src/model/EnumArrays.js index 2289689e349..b631496edb9 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/EnumArrays.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/EnumArrays.js @@ -114,7 +114,6 @@ EnumArrays['JustSymbolEnum'] = { "DOLLAR": "$" }; - /** * Allowed values for the arrayEnum property. * @enum {String} @@ -136,6 +135,4 @@ EnumArrays['ArrayEnumEnum'] = { }; - export default EnumArrays; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/EnumClass.js b/samples/client/petstore/javascript-promise-es6/src/model/EnumClass.js index f0888e52d5b..ebee1f6e829 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/EnumClass.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/EnumClass.js @@ -50,4 +50,3 @@ export default class EnumClass { return object; } } - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/EnumTest.js b/samples/client/petstore/javascript-promise-es6/src/model/EnumTest.js index 708e37e4ac6..8f1ab6bc8a0 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/EnumTest.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/EnumTest.js @@ -180,7 +180,6 @@ EnumTest['EnumStringEnum'] = { "empty": "" }; - /** * Allowed values for the enum_string_required property. * @enum {String} @@ -207,7 +206,6 @@ EnumTest['EnumStringRequiredEnum'] = { "empty": "" }; - /** * Allowed values for the enum_integer property. * @enum {Number} @@ -228,7 +226,6 @@ EnumTest['EnumIntegerEnum'] = { "-1": -1 }; - /** * Allowed values for the enum_number property. * @enum {Number} @@ -250,6 +247,4 @@ EnumTest['EnumNumberEnum'] = { }; - export default EnumTest; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/File.js b/samples/client/petstore/javascript-promise-es6/src/model/File.js index 5f5c9547a1f..a8cf8bd152b 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/File.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/File.js @@ -86,4 +86,3 @@ File.prototype['sourceURI'] = undefined; export default File; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/FileSchemaTestClass.js b/samples/client/petstore/javascript-promise-es6/src/model/FileSchemaTestClass.js index 1b343c6835b..d63aae8c30b 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/FileSchemaTestClass.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/FileSchemaTestClass.js @@ -102,4 +102,3 @@ FileSchemaTestClass.prototype['files'] = undefined; export default FileSchemaTestClass; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Foo.js b/samples/client/petstore/javascript-promise-es6/src/model/Foo.js index e808b774ec0..3705305e4e2 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Foo.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Foo.js @@ -86,4 +86,3 @@ Foo.prototype['bar'] = 'bar'; export default Foo; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/FooGetDefaultResponse.js b/samples/client/petstore/javascript-promise-es6/src/model/FooGetDefaultResponse.js index b11d8859371..f5a031a6c66 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/FooGetDefaultResponse.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/FooGetDefaultResponse.js @@ -85,4 +85,3 @@ FooGetDefaultResponse.prototype['string'] = undefined; export default FooGetDefaultResponse; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/FormatTest.js b/samples/client/petstore/javascript-promise-es6/src/model/FormatTest.js index 7205c80e697..1a548576053 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/FormatTest.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/FormatTest.js @@ -236,4 +236,3 @@ FormatTest.prototype['pattern_with_digits_and_delimiter'] = undefined; export default FormatTest; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/HasOnlyReadOnly.js b/samples/client/petstore/javascript-promise-es6/src/model/HasOnlyReadOnly.js index 90943b87aef..2fce4c03ccb 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/HasOnlyReadOnly.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/HasOnlyReadOnly.js @@ -96,4 +96,3 @@ HasOnlyReadOnly.prototype['foo'] = undefined; export default HasOnlyReadOnly; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/HealthCheckResult.js b/samples/client/petstore/javascript-promise-es6/src/model/HealthCheckResult.js index 112fd778426..922e9b3292a 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/HealthCheckResult.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/HealthCheckResult.js @@ -85,4 +85,3 @@ HealthCheckResult.prototype['NullableMessage'] = undefined; export default HealthCheckResult; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/List.js b/samples/client/petstore/javascript-promise-es6/src/model/List.js index ca916761c0f..a84c29ec5e4 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/List.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/List.js @@ -84,4 +84,3 @@ List.prototype['123-list'] = undefined; export default List; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/MapTest.js b/samples/client/petstore/javascript-promise-es6/src/model/MapTest.js index 478e2347fa7..806df7f056b 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/MapTest.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/MapTest.js @@ -123,6 +123,4 @@ MapTest['InnerEnum'] = { }; - export default MapTest; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js b/samples/client/petstore/javascript-promise-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js index 8131fa36203..6eb3686efd1 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/MixedPropertiesAndAdditionalPropertiesClass.js @@ -101,4 +101,3 @@ MixedPropertiesAndAdditionalPropertiesClass.prototype['map'] = undefined; export default MixedPropertiesAndAdditionalPropertiesClass; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Model200Response.js b/samples/client/petstore/javascript-promise-es6/src/model/Model200Response.js index 604683735fc..ac5227bd246 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Model200Response.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Model200Response.js @@ -93,4 +93,3 @@ Model200Response.prototype['class'] = undefined; export default Model200Response; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Name.js b/samples/client/petstore/javascript-promise-es6/src/model/Name.js index cd7f0a692e7..a7070c44866 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Name.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Name.js @@ -117,4 +117,3 @@ Name.prototype['123Number'] = undefined; export default Name; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/NestedColor.js b/samples/client/petstore/javascript-promise-es6/src/model/NestedColor.js index 5b611469036..94a8f1db03a 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/NestedColor.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/NestedColor.js @@ -93,4 +93,3 @@ NestedColor.prototype['nested'] = undefined; export default NestedColor; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/NestedOneOf.js b/samples/client/petstore/javascript-promise-es6/src/model/NestedOneOf.js index 3ea6ed798b7..e5c83a1498e 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/NestedOneOf.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/NestedOneOf.js @@ -93,4 +93,3 @@ NestedOneOf.prototype['nested_pig'] = undefined; export default NestedOneOf; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/NullableClass.js b/samples/client/petstore/javascript-promise-es6/src/model/NullableClass.js index 33dd77a1820..abd69212fee 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/NullableClass.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/NullableClass.js @@ -188,4 +188,3 @@ NullableClass.prototype['object_items_nullable'] = undefined; export default NullableClass; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/NumberOnly.js b/samples/client/petstore/javascript-promise-es6/src/model/NumberOnly.js index deb4f2961f6..15859d536a0 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/NumberOnly.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/NumberOnly.js @@ -80,4 +80,3 @@ NumberOnly.prototype['JustNumber'] = undefined; export default NumberOnly; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ObjectWithDeprecatedFields.js b/samples/client/petstore/javascript-promise-es6/src/model/ObjectWithDeprecatedFields.js index 29e80fd2664..eb81654436a 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ObjectWithDeprecatedFields.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ObjectWithDeprecatedFields.js @@ -117,4 +117,3 @@ ObjectWithDeprecatedFields.prototype['bars'] = undefined; export default ObjectWithDeprecatedFields; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Order.js b/samples/client/petstore/javascript-promise-es6/src/model/Order.js index 0568b473315..179d7fc8914 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Order.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Order.js @@ -152,6 +152,4 @@ Order['StatusEnum'] = { }; - export default Order; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterComposite.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterComposite.js index 1c6a3c9a857..a324d9ff71f 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterComposite.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterComposite.js @@ -100,4 +100,3 @@ OuterComposite.prototype['my_boolean'] = undefined; export default OuterComposite; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnum.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnum.js index 12fdff98026..200bf20812e 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnum.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnum.js @@ -50,4 +50,3 @@ export default class OuterEnum { return object; } } - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumDefaultValue.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumDefaultValue.js index a65b1dd0a6b..9b13a19aa60 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumDefaultValue.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumInteger.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumInteger.js index b6fc29568a0..9d6ce105675 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumInteger.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumInteger.js @@ -50,4 +50,3 @@ export default class OuterEnumInteger { return object; } } - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumIntegerDefaultValue.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumIntegerDefaultValue.js index 86a9d6b9467..0e43feb22d1 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumIntegerDefaultValue.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterEnumIntegerDefaultValue.js @@ -50,4 +50,3 @@ export default class OuterEnumIntegerDefaultValue { return object; } } - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/OuterObjectWithEnumProperty.js b/samples/client/petstore/javascript-promise-es6/src/model/OuterObjectWithEnumProperty.js index 04fe08cbbf1..09551cf7e5d 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/OuterObjectWithEnumProperty.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/OuterObjectWithEnumProperty.js @@ -89,4 +89,3 @@ OuterObjectWithEnumProperty.prototype['value'] = undefined; export default OuterObjectWithEnumProperty; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Pet.js b/samples/client/petstore/javascript-promise-es6/src/model/Pet.js index ffe0b659879..d4c757e76ac 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Pet.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Pet.js @@ -184,6 +184,4 @@ Pet['StatusEnum'] = { }; - export default Pet; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Pig.js b/samples/client/petstore/javascript-promise-es6/src/model/Pig.js index 222a3e27d41..be2f0c1f5df 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Pig.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Pig.js @@ -140,4 +140,3 @@ Pig.prototype['size'] = undefined; Pig.OneOf = ["BasquePig", "DanishPig"]; export default Pig; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/ReadOnlyFirst.js b/samples/client/petstore/javascript-promise-es6/src/model/ReadOnlyFirst.js index b0fa7628f16..22371d2c6f3 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/ReadOnlyFirst.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/ReadOnlyFirst.js @@ -96,4 +96,3 @@ ReadOnlyFirst.prototype['baz'] = undefined; export default ReadOnlyFirst; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Return.js b/samples/client/petstore/javascript-promise-es6/src/model/Return.js index 616574b5fc3..11f7e3e3f49 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Return.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Return.js @@ -81,4 +81,3 @@ Return.prototype['return'] = undefined; export default Return; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/SpecialModelName.js b/samples/client/petstore/javascript-promise-es6/src/model/SpecialModelName.js index b9ece722920..c2d9e26c4e5 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/SpecialModelName.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/SpecialModelName.js @@ -80,4 +80,3 @@ SpecialModelName.prototype['$special[property.name]'] = undefined; export default SpecialModelName; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/StringOrBoolean.js b/samples/client/petstore/javascript-promise-es6/src/model/StringOrBoolean.js index 029e14e41a7..f86a6169a53 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/StringOrBoolean.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/StringOrBoolean.js @@ -116,4 +116,3 @@ class StringOrBoolean { StringOrBoolean.OneOf = ["Boolean", "String"]; export default StringOrBoolean; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/Tag.js b/samples/client/petstore/javascript-promise-es6/src/model/Tag.js index c24706b827e..6ac42574a90 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Tag.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Tag.js @@ -92,4 +92,3 @@ Tag.prototype['name'] = undefined; export default Tag; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js b/samples/client/petstore/javascript-promise-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js index b28db6e166f..90e67fa74c8 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/TestInlineFreeformAdditionalPropertiesRequest.js @@ -88,4 +88,3 @@ TestInlineFreeformAdditionalPropertiesRequest.prototype['someProperty'] = undefi export default TestInlineFreeformAdditionalPropertiesRequest; - diff --git a/samples/client/petstore/javascript-promise-es6/src/model/User.js b/samples/client/petstore/javascript-promise-es6/src/model/User.js index 145851f479b..b31d8ce5cdc 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/User.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/User.js @@ -161,4 +161,3 @@ User.prototype['userStatus'] = undefined; export default User; - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Category.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Category.java index dccf1f3db9c..ef4be974003 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Category.java @@ -94,4 +94,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/ModelApiResponse.java index af32c823d47..e6056f41918 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/ModelApiResponse.java @@ -118,4 +118,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Order.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Order.java index 327e990d676..e07f5915cfe 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Order.java @@ -227,4 +227,3 @@ PLACED(String.valueOf("placed")), APPROVED(String.valueOf("approved")), DELIVERE return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Pet.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Pet.java index 4b8f9a1b9e6..53375f6855b 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Pet.java @@ -241,4 +241,3 @@ AVAILABLE(String.valueOf("available")), PENDING(String.valueOf("pending")), SOLD return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Tag.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Tag.java index 9c011ae12b4..a22a5331024 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/Tag.java @@ -94,4 +94,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java index 001a0b7437b..1ee2532b13a 100644 --- a/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java +++ b/samples/client/petstore/jaxrs-cxf-client-jackson/src/gen/java/org/openapitools/model/User.java @@ -235,4 +235,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Category.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Category.java index dccf1f3db9c..ef4be974003 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Category.java @@ -94,4 +94,3 @@ public class Category { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/ModelApiResponse.java index 43e7bd9e432..a2148a9e92a 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/ModelApiResponse.java @@ -117,4 +117,3 @@ public class ModelApiResponse { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Order.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Order.java index ab98465791c..cafebff6d3c 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Order.java @@ -223,4 +223,3 @@ PLACED(String.valueOf("placed")), APPROVED(String.valueOf("approved")), DELIVERE return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Pet.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Pet.java index 73502e93895..f3f5d257816 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Pet.java @@ -237,4 +237,3 @@ AVAILABLE(String.valueOf("available")), PENDING(String.valueOf("pending")), SOLD return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Tag.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Tag.java index 9c011ae12b4..a22a5331024 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/Tag.java @@ -94,4 +94,3 @@ public class Tag { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java index 001a0b7437b..1ee2532b13a 100644 --- a/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java +++ b/samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/model/User.java @@ -235,4 +235,3 @@ public class User { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/julia/src/models/model_ApiResponse.jl b/samples/client/petstore/julia/src/models/model_ApiResponse.jl index 107fab6677f..f41b1e52662 100644 --- a/samples/client/petstore/julia/src/models/model_ApiResponse.jl +++ b/samples/client/petstore/julia/src/models/model_ApiResponse.jl @@ -39,4 +39,4 @@ function OpenAPI.validate_property(::Type{ ApiResponse }, name::Symbol, val) if name === Symbol("code") OpenAPI.validate_param(name, "ApiResponse", :format, val, "int32") end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_Category.jl b/samples/client/petstore/julia/src/models/model_Category.jl index bd583ab337c..a0b743d9ee7 100644 --- a/samples/client/petstore/julia/src/models/model_Category.jl +++ b/samples/client/petstore/julia/src/models/model_Category.jl @@ -38,4 +38,4 @@ function OpenAPI.validate_property(::Type{ Category }, name::Symbol, val) if name === Symbol("name") OpenAPI.validate_param(name, "Category", :pattern, val, r"^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$") end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_MappedModel.jl b/samples/client/petstore/julia/src/models/model_MappedModel.jl index 94bf2fe52a1..7b588dc959e 100644 --- a/samples/client/petstore/julia/src/models/model_MappedModel.jl +++ b/samples/client/petstore/julia/src/models/model_MappedModel.jl @@ -38,4 +38,4 @@ function OpenAPI.validate_property(::Type{ MappedModel }, name::Symbol, val) if name === Symbol("uuid_default_value") OpenAPI.validate_param(name, "MappedModel", :format, val, "uuid") end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_Order.jl b/samples/client/petstore/julia/src/models/model_Order.jl index 9443890b17b..9e3a9b13b89 100644 --- a/samples/client/petstore/julia/src/models/model_Order.jl +++ b/samples/client/petstore/julia/src/models/model_Order.jl @@ -63,4 +63,4 @@ function OpenAPI.validate_property(::Type{ Order }, name::Symbol, val) if name === Symbol("status") OpenAPI.validate_param(name, "Order", :enum, val, ["placed", "approved", "delivered"]) end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_Pet.jl b/samples/client/petstore/julia/src/models/model_Pet.jl index 569a9326912..e9cce85000c 100644 --- a/samples/client/petstore/julia/src/models/model_Pet.jl +++ b/samples/client/petstore/julia/src/models/model_Pet.jl @@ -56,4 +56,4 @@ function OpenAPI.validate_property(::Type{ Pet }, name::Symbol, val) if name === Symbol("status") OpenAPI.validate_param(name, "Pet", :enum, val, ["available", "pending", "sold"]) end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_Tag.jl b/samples/client/petstore/julia/src/models/model_Tag.jl index f717688e996..21ebed07284 100644 --- a/samples/client/petstore/julia/src/models/model_Tag.jl +++ b/samples/client/petstore/julia/src/models/model_Tag.jl @@ -35,4 +35,4 @@ function OpenAPI.validate_property(::Type{ Tag }, name::Symbol, val) if name === Symbol("id") OpenAPI.validate_param(name, "Tag", :format, val, "int64") end -end +end \ No newline at end of file diff --git a/samples/client/petstore/julia/src/models/model_User.jl b/samples/client/petstore/julia/src/models/model_User.jl index 5af0ccd94da..b1df0c040b1 100644 --- a/samples/client/petstore/julia/src/models/model_User.jl +++ b/samples/client/petstore/julia/src/models/model_User.jl @@ -62,4 +62,4 @@ function OpenAPI.validate_property(::Type{ User }, name::Symbol, val) if name === Symbol("userStatus") OpenAPI.validate_param(name, "User", :format, val, "int32") end -end +end \ No newline at end of file diff --git a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt index 9382d5519b2..db7af45e0d2 100644 --- a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt +++ b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Animal.kt @@ -25,7 +25,6 @@ import com.squareup.moshi.JsonClass * @param id */ - interface Animal { @Json(name = "id") diff --git a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt index c368f1fd260..6ac6a1194d0 100644 --- a/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt +++ b/samples/client/petstore/kotlin-allOff-discriminator/src/main/kotlin/org/openapitools/client/models/Bird.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param featherType */ - data class Bird ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt index 463c7ccc623..efb6d9f514f 100644 --- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt @@ -31,7 +31,6 @@ import kotlinx.serialization.encoding.* * @param gepa */ @Serializable - data class Apa ( @SerialName(value = "bepa") @Required val bepa: kotlin.Double = (0).toDouble(), diff --git a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt index b4117ed35da..287b5093a70 100644 --- a/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-bigdecimal-default-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param gepa */ - data class Apa ( @Json(name = "bepa") diff --git a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt index db786666d4d..7b24d183bd8 100644 --- a/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-default-values-jvm-okhttp4/src/main/kotlin/org/openapitools/client/models/Apa.kt @@ -28,7 +28,6 @@ import com.squareup.moshi.JsonClass * @param n1 */ - data class Apa ( @Json(name = "i0") diff --git a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt index db786666d4d..7b24d183bd8 100644 --- a/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-default-values-jvm-retrofit2/src/main/kotlin/org/openapitools/client/models/Apa.kt @@ -28,7 +28,6 @@ import com.squareup.moshi.JsonClass * @param n1 */ - data class Apa ( @Json(name = "i0") diff --git a/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt index 6e7e8e340b6..831294e3122 100644 --- a/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-default-values-jvm-volley/src/main/java/org/openapitools/client/models/Apa.kt @@ -29,7 +29,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param n1 */ - data class Apa ( @SerializedName("i0") diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt b/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt index 3098a799784..711a05ea498 100644 --- a/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt +++ b/samples/client/petstore/kotlin-default-values-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Apa.kt @@ -29,7 +29,6 @@ import kotlinx.serialization.encoding.* * @param n1 */ @Serializable - data class Apa ( @SerialName(value = "i0") @Required val i0: kotlin.Int, diff --git a/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt b/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt index b6ef2973e11..fef96438e62 100644 --- a/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt +++ b/samples/client/petstore/kotlin-default-values-numbers/src/main/kotlin/org/openapitools/client/models/ModelWithPropertyHavingDefault.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param propertyDouble3 */ - data class ModelWithPropertyHavingDefault ( @SerializedName("propertyInt") diff --git a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt index f870c3b38d8..90b809cacf0 100644 --- a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt +++ b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt @@ -26,7 +26,6 @@ import java.io.Serializable * @param propertyName */ - data class ModelWithEnumPropertyHavingDefault ( @Json(name = "propertyName") diff --git a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt index d0acf89342c..bcc04dfa724 100644 --- a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt +++ b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/PropertyOfDay.kt @@ -31,7 +31,6 @@ import java.io.Serializable * @param holidayTypes Holiday types */ - data class PropertyOfDay ( /* Name of property of day */ diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt index 87eacb1365a..e592503cd3d 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Category ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index fe2d51d4ef0..5255fa553b8 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -26,7 +26,6 @@ import com.google.gson.annotations.SerializedName * @param message */ - data class ModelApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt index b9f182f53b5..900276239f2 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -29,7 +29,6 @@ import com.google.gson.annotations.SerializedName * @param complete */ - data class Order ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt index 57c97dd3d08..717d92ebf2f 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param status pet status in the store */ - data class Pet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt index f66db9ea55e..93bb9c3ab09 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Tag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt index 62b3ce81f9b..bf3265fe430 100644 --- a/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-gson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param userStatus User Status */ - data class User ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt index 557527ac07d..afe3a4a47bc 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt index ba16885da8c..b65d7f1ed90 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jackson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt index b1b4fcc5f20..72e2249888f 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -35,7 +35,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class Category ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index 4cda49a253a..e1bdf94cb8c 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -36,7 +36,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class ModelApiResponse ( @SerialName(value = "code") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt index ea9cd7d4bbb..b61b5638b7e 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -39,7 +39,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class Order ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt index 16800beb37c..b4c62dc79f2 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -41,7 +41,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class Pet ( @SerialName(value = "name") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt index 82c2b16be4c..d660c9682ec 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -35,7 +35,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class Tag ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt index 79dae9e05bc..b87e025da53 100644 --- a/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-json-request-string/src/main/kotlin/org/openapitools/client/models/User.kt @@ -41,7 +41,6 @@ import kotlinx.parcelize.Parcelize */ @Parcelize @Serializable - data class User ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt index 25adfbd2e07..79613ce2509 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt index ac0ae8c1a15..8be95648f9e 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-jackson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt index 87eacb1365a..e592503cd3d 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Category ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index fe2d51d4ef0..5255fa553b8 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -26,7 +26,6 @@ import com.google.gson.annotations.SerializedName * @param message */ - data class ModelApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt index 156297028fc..eef51ce9a74 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -29,7 +29,6 @@ import com.google.gson.annotations.SerializedName * @param complete */ - data class Order ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt index 47a0509474c..de94ddd23d3 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param status pet status in the store */ - data class Pet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt index f66db9ea55e..93bb9c3ab09 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Tag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt index 62b3ce81f9b..bf3265fe430 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param userStatus User Status */ - data class User ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt index 25adfbd2e07..79613ce2509 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt index 5d23b6fba1d..f45befcbfd8 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-jackson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt index 85657c5904f..c4d5979a068 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.Contextual * @param name */ @Serializable - data class Category ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index 43078d5d1e2..28b959b8ac9 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import kotlinx.serialization.Contextual * @param message */ @Serializable - data class ModelApiResponse ( @SerialName(value = "code") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt index dcd2e9a437e..fe0275b9ea4 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import kotlinx.serialization.Contextual * @param complete */ @Serializable - data class Order ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt index bdc59355c72..54fb08258a5 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.Contextual * @param status pet status in the store */ @Serializable - data class Pet ( @SerialName(value = "name") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt index 25f4d9e01af..a9fafc236b9 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.Contextual * @param name */ @Serializable - data class Tag ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt index 6e269aa599e..fc8819f6107 100644 --- a/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-ktor-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.Contextual * @param userStatus User Status */ @Serializable - data class User ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt index f2ee725a1b1..5ab2f25b366 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import java.io.Serializable * @param name */ - data class Category ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index e810679725b..2bdb78b3a3d 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param message */ - data class ModelApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt index 8cfb5fb3a39..d73a4d2b1df 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import java.io.Serializable * @param complete */ - data class Order ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt index dbee7c39476..40c2bec2a30 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import java.io.Serializable * @param status pet status in the store */ - data class Pet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt index 9916a156485..55c4fa6a1b7 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import java.io.Serializable * @param name */ - data class Tag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt index a7e8121c056..493ed5a450d 100644 --- a/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-okhttp4-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import java.io.Serializable * @param userStatus User Status */ - data class User ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt index 25adfbd2e07..79613ce2509 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt index ac0ae8c1a15..8be95648f9e 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-spring-2-webclient/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt index 25adfbd2e07..79613ce2509 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt index ac0ae8c1a15..8be95648f9e 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt index 1da41b886ac..539379e4945 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a7d222512aa..18c20b33b74 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt index 25adfbd2e07..79613ce2509 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt index ac0ae8c1a15..8be95648f9e 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt index 84d47825895..c19d5158cc7 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt index ed66cc04570..ff5a42f0978 100644 --- a/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-spring-3-webclient/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt index 87eacb1365a..e592503cd3d 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Category ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index fe2d51d4ef0..5255fa553b8 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -26,7 +26,6 @@ import com.google.gson.annotations.SerializedName * @param message */ - data class ModelApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt index b9f182f53b5..900276239f2 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -29,7 +29,6 @@ import com.google.gson.annotations.SerializedName * @param complete */ - data class Order ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt index ee5d18ec990..0c5a9cd30df 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param status pet status in the store */ - data class Pet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt index f66db9ea55e..93bb9c3ab09 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -25,7 +25,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class Tag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt index 62b3ce81f9b..bf3265fe430 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-gson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -31,7 +31,6 @@ import com.google.gson.annotations.SerializedName * @param userStatus User Status */ - data class User ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt index 4a68d1a3ebd..4f89b4f4576 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index 2583efc725f..1e5b7a65744 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt index c9c227da18e..53c7bfc16ee 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -29,7 +29,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt index 43bacb547ed..f3f36bec71d 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -31,7 +31,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt index 7a2db5f9329..4de290e4967 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt index 6e28ef27d09..10ea32b91de 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson-coroutines/src/main/kotlin/org/openapitools/client/models/User.kt @@ -31,7 +31,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt index 4a68d1a3ebd..4f89b4f4576 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index 2583efc725f..1e5b7a65744 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -26,7 +26,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt index c9c227da18e..53c7bfc16ee 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -29,7 +29,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt index 43bacb547ed..f3f36bec71d 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -31,7 +31,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt index 7a2db5f9329..4de290e4967 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -25,7 +25,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt index 6e28ef27d09..10ea32b91de 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-jackson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -31,7 +31,6 @@ import com.fasterxml.jackson.annotation.JsonProperty * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt index bca19d5c690..00a755dffab 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index ea6bc0a04f8..59a54c9f229 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt index ecd257a433a..e3dc8fbabd5 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt index 0c70f0558c3..8097e036454 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt index 54bbd138c48..1933772b63d 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt index 5115585d1a4..a2c50e00899 100644 --- a/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-vertx-moshi/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt index 46188c0bc68..b19694ad583 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param name */ - data class Category ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt index 8f0f3e89cf4..48a11c7f1c0 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param message */ - data class ModelApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt index 4a6dfd6cc85..6ce962a94e9 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param complete */ - data class Order ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt index 07c67fa9ea8..1cea9d36a03 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param status pet status in the store */ - data class Pet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt index 0afafa73777..0db302bd269 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param name */ - data class Tag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt index 2cec836e1f2..8f992768d98 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import org.openapitools.client.infrastructure.ITransformForStorage * @param userStatus User Status */ - data class User ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/request/RequestFactory.kt b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/request/RequestFactory.kt index 87d83e3a44a..bbaac85799f 100644 --- a/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/request/RequestFactory.kt +++ b/samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/request/RequestFactory.kt @@ -13,28 +13,26 @@ import java.util.UUID class RequestFactory(private val headerFactories : List<() -> Map> = listOf(), private val postProcessors :List <(Request<*>) -> Unit> = listOf(), private val gsonAdapters: Map = mapOf()): IRequestFactory { companion object Authentication { - // Where a header factory requires parameters a client will need to bind these - // TODO Generate appropriate header factories based on settings - // TODO: Oauth not implemented yet - comment out below as OAuth does not exist - // Api Key auth supports query header and cookie. - // Query is supported in the path generation only with a hardcoded value. - // TODO: Not sure about cookie auth form - // If implementing api key in query parameter use the ^isKeyInHeader property - - val apiKeyAuthHeaderFactoryBuilder = { - paramName: String, apiKeyPrefix: String?, apiKey: String? -> { - mapOf(paramName to - if (apiKeyPrefix != null) { - "$apiKeyPrefix $apiKey" - } else { - apiKey!! - } - ) - } - } - - } - + // Where a header factory requires parameters a client will need to bind these + // TODO Generate appropriate header factories based on settings + // TODO: Oauth not implemented yet - comment out below as OAuth does not exist + // Api Key auth supports query header and cookie. + // Query is supported in the path generation only with a hardcoded value. + // TODO: Not sure about cookie auth form + // If implementing api key in query parameter use the ^isKeyInHeader property + + val apiKeyAuthHeaderFactoryBuilder = { + paramName: String, apiKeyPrefix: String?, apiKey: String? -> { + mapOf(paramName to + if (apiKeyPrefix != null) { + "$apiKeyPrefix $apiKey" + } else { + apiKey!! + } + ) + } + } + } /** * {@inheritDoc} diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt index bca19d5c690..00a755dffab 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index ea6bc0a04f8..59a54c9f229 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt index 17e3942b9e6..5e70ee84f76 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt index 502297c92b0..2905d7f0b9e 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt index 54bbd138c48..1933772b63d 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt index 5115585d1a4..a2c50e00899 100644 --- a/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-kotlinx-datetime/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt index bd33ca92746..90b297dad16 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnnotation.kt @@ -33,7 +33,6 @@ import com.google.gson.annotations.SerializedName * @param id */ - data class ApiAnnotation ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt index 3d523a450ea..98d3b07ddca 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPet.kt @@ -36,7 +36,6 @@ import java.io.IOException * */ - data class ApiAnyOfUserOrPet(var actualInstance: Any? = null) { class CustomTypeAdapterFactory : TypeAdapterFactory { diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt index 1ec7549f45c..9093672b580 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiAnyOfUserOrPetOrArrayString.kt @@ -36,7 +36,6 @@ import java.io.IOException * */ - data class ApiAnyOfUserOrPetOrArrayString(var actualInstance: Any? = null) { class CustomTypeAdapterFactory : TypeAdapterFactory { diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt index 018bb458a12..d6840b92b04 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiApiResponse.kt @@ -35,7 +35,6 @@ import com.google.gson.annotations.SerializedName * @param message */ - data class ApiApiResponse ( @SerializedName("code") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt index 4d2ab888bb3..fd14f496757 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiCategory.kt @@ -34,7 +34,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class ApiCategory ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt index af39fc31cfc..c07b84a5b4e 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiOrder.kt @@ -38,7 +38,6 @@ import com.google.gson.annotations.SerializedName * @param complete */ - data class ApiOrder ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt index 35871da8730..d6301b1e5a4 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiPet.kt @@ -40,7 +40,6 @@ import com.google.gson.annotations.SerializedName * @param status pet status in the store */ - data class ApiPet ( @SerializedName("name") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt index 8f4b05dcd09..7ff3663ffdf 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiTag.kt @@ -34,7 +34,6 @@ import com.google.gson.annotations.SerializedName * @param name */ - data class ApiTag ( @SerializedName("id") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt index d47f6636a72..e66b2cb1b18 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUser.kt @@ -40,7 +40,6 @@ import com.google.gson.annotations.SerializedName * @param userStatus User Status */ - data class ApiUser ( @SerializedName("username") diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt index 372906b0e56..2971b4e12e8 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPet.kt @@ -36,7 +36,6 @@ import java.io.IOException * */ - data class ApiUserOrPet(var actualInstance: Any? = null) { class CustomTypeAdapterFactory : TypeAdapterFactory { diff --git a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt index 009b3bef523..5fed6974d35 100644 --- a/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt +++ b/samples/client/petstore/kotlin-model-prefix-type-mappings/src/main/kotlin/org/openapitools/client/models/ApiUserOrPetOrArrayString.kt @@ -36,7 +36,6 @@ import java.io.IOException * */ - data class ApiUserOrPetOrArrayString(var actualInstance: Any? = null) { class CustomTypeAdapterFactory : TypeAdapterFactory { diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt index 4f64b7bdf56..5413494ec97 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index f0c2ca6dee3..a2459901b5a 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt index 7113fcaee15..e90fb9cab5c 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt index 9b8aa326815..d8be0c50f7d 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt index 93cdeaee6dc..1fae566358d 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt index 9fc531984e9..363619f6cf9 100644 --- a/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-modelMutable/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt index db0be0cf30d..03e32cf68d5 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ @JsonClass(generateAdapter = true) - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index 60fb214fc00..4f11e46f5f9 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ @JsonClass(generateAdapter = true) - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt index df61b819dd1..cb8995c6b28 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ @JsonClass(generateAdapter = true) - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt index de5f7897c59..9c1b743fd85 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ @JsonClass(generateAdapter = true) - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt index b02ad29b970..d128764b7c6 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ @JsonClass(generateAdapter = true) - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt index c7884e6d276..0adbe331df8 100644 --- a/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-moshi-codegen/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ @JsonClass(generateAdapter = true) - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt index ec709473d75..de9efca1013 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt @@ -169,7 +169,6 @@ open class PetApi : ApiClient { override fun deserialize(decoder: Decoder) = FindPetsByStatusResponse(serializer.deserialize(decoder)) } } - /** * Finds Pets by tags * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. @@ -212,7 +211,6 @@ open class PetApi : ApiClient { override fun deserialize(decoder: Decoder) = FindPetsByTagsResponse(serializer.deserialize(decoder)) } } - /** * Find pet by ID * Returns a single pet diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt index 83a909297ee..ce282a670da 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt @@ -114,7 +114,6 @@ open class StoreApi : ApiClient { override fun deserialize(decoder: Decoder) = GetInventoryResponse(serializer.deserialize(decoder)) } } - /** * Find purchase order by ID * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt index 9bc832793cb..02326f33be6 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.encoding.* * @param name */ @Serializable - data class Category ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt index df786952b42..e2c8306f0fc 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import kotlinx.serialization.encoding.* * @param message */ @Serializable - data class ModelApiResponse ( @SerialName(value = "code") val code: kotlin.Int? = null, diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt index e763dafa539..42682d5b19d 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import kotlinx.serialization.encoding.* * @param complete */ @Serializable - data class Order ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt index cd3c3adaec2..6dbb3b965e6 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.encoding.* * @param status pet status in the store */ @Serializable - data class Pet ( @SerialName(value = "name") @Required val name: kotlin.String, diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt index 46af3323fd2..045fdee9c40 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.encoding.* * @param name */ @Serializable - data class Tag ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt index 18a1d52df68..515b24d1395 100644 --- a/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-multiplatform-kotlinx-datetime/src/commonMain/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.encoding.* * @param userStatus User Status */ @Serializable - data class User ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt index ec709473d75..de9efca1013 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/PetApi.kt @@ -169,7 +169,6 @@ open class PetApi : ApiClient { override fun deserialize(decoder: Decoder) = FindPetsByStatusResponse(serializer.deserialize(decoder)) } } - /** * Finds Pets by tags * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. @@ -212,7 +211,6 @@ open class PetApi : ApiClient { override fun deserialize(decoder: Decoder) = FindPetsByTagsResponse(serializer.deserialize(decoder)) } } - /** * Find pet by ID * Returns a single pet diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt index 83a909297ee..ce282a670da 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/apis/StoreApi.kt @@ -114,7 +114,6 @@ open class StoreApi : ApiClient { override fun deserialize(decoder: Decoder) = GetInventoryResponse(serializer.deserialize(decoder)) } } - /** * Find purchase order by ID * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt index 9bc832793cb..02326f33be6 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.encoding.* * @param name */ @Serializable - data class Category ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt index df786952b42..e2c8306f0fc 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import kotlinx.serialization.encoding.* * @param message */ @Serializable - data class ModelApiResponse ( @SerialName(value = "code") val code: kotlin.Int? = null, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt index e763dafa539..42682d5b19d 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import kotlinx.serialization.encoding.* * @param complete */ @Serializable - data class Order ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt index cd3c3adaec2..6dbb3b965e6 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.encoding.* * @param status pet status in the store */ @Serializable - data class Pet ( @SerialName(value = "name") @Required val name: kotlin.String, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt index 46af3323fd2..045fdee9c40 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import kotlinx.serialization.encoding.* * @param name */ @Serializable - data class Tag ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt index 18a1d52df68..515b24d1395 100644 --- a/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-multiplatform/src/commonMain/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import kotlinx.serialization.encoding.* * @param userStatus User Status */ @Serializable - data class User ( @SerialName(value = "id") val id: kotlin.Long? = null, diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt index 2f296143a65..d34ca396287 100644 --- a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt +++ b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/Environment.kt @@ -25,7 +25,6 @@ import com.squareup.moshi.JsonClass * @param dummy */ - data class Environment ( @Json(name = "dummy") diff --git a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt index 7bda8570622..c9c81bf9bbf 100644 --- a/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt +++ b/samples/client/petstore/kotlin-name-parameter-mappings/src/main/kotlin/org/openapitools/client/models/PropertyNameMapping.kt @@ -28,7 +28,6 @@ import com.squareup.moshi.JsonClass * @param typeWithUnderscore */ - data class PropertyNameMapping ( @Json(name = "http_debug_operation") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt index 73a0bfdf252..c0efec85eb7 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - internal data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index feb4ba413e2..58f39c261f8 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - internal data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt index 982adb551e3..3983fc040a0 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - internal data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt index 9d38f849e0f..0eec0d8160d 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - internal data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt index 7b8cc143688..7226eeb34b2 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - internal data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt index 84f66428177..cd3d77be706 100644 --- a/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-nonpublic/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - internal data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt index cde43a83f0c..d6ea3d731ac 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a4bef25364d..424d0654bf2 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import java.io.Serializable * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt index a51d95c1776..0f47ce987f9 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import java.io.Serializable * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt index b231b7819f2..7b7fae274c7 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt index 3618e8680eb..03064559fab 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt index cabb3df832c..c972d0587f9 100644 --- a/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-nullable/src/main/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt index d855082fa40..ca64de7837a 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import java.io.Serializable * @param name */ - data class Category ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index bf611b66b93..76554cbdde8 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param message */ - data class ModelApiResponse ( @get:JsonProperty("code") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt index 8918e30e9f8..d3c574c27ff 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import java.io.Serializable * @param complete */ - data class Order ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt index e991db289fb..a9baced579c 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import java.io.Serializable * @param status pet status in the store */ - data class Pet ( @get:JsonProperty("name") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt index fe5730a01d3..29d739b128a 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import java.io.Serializable * @param name */ - data class Tag ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt index 204111b9446..6cd4487ba53 100644 --- a/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-retrofit2-jackson/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import java.io.Serializable * @param userStatus User Status */ - data class User ( @get:JsonProperty("id") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt index ff6bdfb61ad..9ccda4a7330 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -28,7 +28,6 @@ import java.io.Serializable * @param name */ @KSerializable - data class Category ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index f262e9a7e03..bf8cfd3410d 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -29,7 +29,6 @@ import java.io.Serializable * @param message */ @KSerializable - data class ModelApiResponse ( @SerialName(value = "code") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt index 774a303b3dd..9a92e715cd9 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -32,7 +32,6 @@ import java.io.Serializable * @param complete */ @KSerializable - data class Order ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt index bb4c31e2c96..12417eeff00 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -34,7 +34,6 @@ import java.io.Serializable * @param status pet status in the store */ @KSerializable - data class Pet ( @SerialName(value = "name") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt index 1f533975b2b..465964f19c5 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -28,7 +28,6 @@ import java.io.Serializable * @param name */ @KSerializable - data class Tag ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt index f803bc7ff69..c01121c2460 100644 --- a/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-retrofit2-kotlinx_serialization/src/main/kotlin/org/openapitools/client/models/User.kt @@ -34,7 +34,6 @@ import java.io.Serializable * @param userStatus User Status */ @KSerializable - data class User ( @SerialName(value = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt index bca19d5c690..00a755dffab 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index ea6bc0a04f8..59a54c9f229 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt index ecd257a433a..e3dc8fbabd5 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt index 502297c92b0..2905d7f0b9e 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt index 54bbd138c48..1933772b63d 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt index 5115585d1a4..a2c50e00899 100644 --- a/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-retrofit2-rx3/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt index bca19d5c690..00a755dffab 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index ea6bc0a04f8..59a54c9f229 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt index ecd257a433a..e3dc8fbabd5 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt index 502297c92b0..2905d7f0b9e 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt index 54bbd138c48..1933772b63d 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt index 5115585d1a4..a2c50e00899 100644 --- a/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-retrofit2/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt index cde43a83f0c..d6ea3d731ac 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a4bef25364d..424d0654bf2 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import java.io.Serializable * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt index 3d17352dbcc..53d5d9ef942 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import java.io.Serializable * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt index 9679a58490b..e75498e2ef9 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param status pet status in the store */ - data class Pet ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt index 3618e8680eb..03064559fab 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt index cabb3df832c..c972d0587f9 100644 --- a/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-string/src/main/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt index bca19d5c690..00a755dffab 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index ea6bc0a04f8..59a54c9f229 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -27,7 +27,6 @@ import com.squareup.moshi.JsonClass * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt index 2612191cb21..3967ee220af 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -30,7 +30,6 @@ import com.squareup.moshi.JsonClass * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt index 502297c92b0..2905d7f0b9e 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt index 54bbd138c48..1933772b63d 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -26,7 +26,6 @@ import com.squareup.moshi.JsonClass * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt index 5115585d1a4..a2c50e00899 100644 --- a/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin-threetenbp/src/main/kotlin/org/openapitools/client/models/User.kt @@ -32,7 +32,6 @@ import com.squareup.moshi.JsonClass * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt index cde43a83f0c..d6ea3d731ac 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Category.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Category ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt index a4bef25364d..424d0654bf2 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/ModelApiResponse.kt @@ -28,7 +28,6 @@ import java.io.Serializable * @param message */ - data class ModelApiResponse ( @Json(name = "code") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt index a51d95c1776..0f47ce987f9 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Order.kt @@ -31,7 +31,6 @@ import java.io.Serializable * @param complete */ - data class Order ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt index b231b7819f2..7b7fae274c7 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Pet.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param status pet status in the store */ - data class Pet ( @Json(name = "name") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt index 3618e8680eb..03064559fab 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/Tag.kt @@ -27,7 +27,6 @@ import java.io.Serializable * @param name */ - data class Tag ( @Json(name = "id") diff --git a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt index cabb3df832c..c972d0587f9 100644 --- a/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt +++ b/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/models/User.kt @@ -33,7 +33,6 @@ import java.io.Serializable * @param userStatus User Status */ - data class User ( @Json(name = "id") diff --git a/samples/client/petstore/lua/petstore/model/api_response.lua b/samples/client/petstore/lua/petstore/model/api_response.lua index a35211a807e..f780f4a6603 100644 --- a/samples/client/petstore/lua/petstore/model/api_response.lua +++ b/samples/client/petstore/lua/petstore/model/api_response.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- api_response class local api_response = {} local api_response_mt = { diff --git a/samples/client/petstore/lua/petstore/model/category.lua b/samples/client/petstore/lua/petstore/model/category.lua index 95e1d3d4501..a8a627f1c2d 100644 --- a/samples/client/petstore/lua/petstore/model/category.lua +++ b/samples/client/petstore/lua/petstore/model/category.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- category class local category = {} local category_mt = { diff --git a/samples/client/petstore/lua/petstore/model/order.lua b/samples/client/petstore/lua/petstore/model/order.lua index 207f154926e..b4cb69ea0bf 100644 --- a/samples/client/petstore/lua/petstore/model/order.lua +++ b/samples/client/petstore/lua/petstore/model/order.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- order class local order = {} local order_mt = { diff --git a/samples/client/petstore/lua/petstore/model/pet.lua b/samples/client/petstore/lua/petstore/model/pet.lua index 41edb1f9a29..13195c30635 100644 --- a/samples/client/petstore/lua/petstore/model/pet.lua +++ b/samples/client/petstore/lua/petstore/model/pet.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- pet class local pet = {} local pet_mt = { diff --git a/samples/client/petstore/lua/petstore/model/tag.lua b/samples/client/petstore/lua/petstore/model/tag.lua index 046fa31f4bf..a37cd9ccabe 100644 --- a/samples/client/petstore/lua/petstore/model/tag.lua +++ b/samples/client/petstore/lua/petstore/model/tag.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- tag class local tag = {} local tag_mt = { diff --git a/samples/client/petstore/lua/petstore/model/user.lua b/samples/client/petstore/lua/petstore/model/user.lua index 16f98468571..1f99d138adf 100644 --- a/samples/client/petstore/lua/petstore/model/user.lua +++ b/samples/client/petstore/lua/petstore/model/user.lua @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech ]] - -- user class local user = {} local user_mt = { diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h index 1b1309c4876..839eced9fcd 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h @@ -15,7 +15,6 @@ */ - @interface SWGPetApi: NSObject extern NSString* kSWGPetApiErrorDomain; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h index 935845f7215..02514c5dfe9 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h @@ -15,7 +15,6 @@ */ - @interface SWGStoreApi: NSObject extern NSString* kSWGStoreApiErrorDomain; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h index 98a3a1756d5..b7d1599faf6 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h @@ -15,7 +15,6 @@ */ - @interface SWGUserApi: NSObject extern NSString* kSWGUserApiErrorDomain; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/JSONValueTransformer+ISO8601.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/JSONValueTransformer+ISO8601.h index 5179ca2e99b..8757c929676 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/JSONValueTransformer+ISO8601.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/JSONValueTransformer+ISO8601.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @interface JSONValueTransformer (ISO8601) @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApi.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApi.h index 6c0396f0cac..2d85a24aa9a 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApi.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApi.h @@ -14,7 +14,6 @@ * Do not edit the class manually. */ - @protocol SWGApi @property(readonly, nonatomic, strong) SWGApiClient *apiClient; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h index 761865f4693..f92477912ad 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h @@ -15,7 +15,6 @@ * Do not edit the class manually. */ - /** * A key for `NSError` user info dictionaries. * diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h index f6b12de5c5c..db24f58cd35 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h @@ -14,7 +14,6 @@ * Do not edit the class manually. */ - static NSString * const kSWGAPIVersion = @"1.0.0"; @protocol SWGConfiguration diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGDefaultConfiguration.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGDefaultConfiguration.h index e141e0d092d..2e95dd471f7 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGDefaultConfiguration.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGDefaultConfiguration.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @class SWGApiClient; @interface SWGDefaultConfiguration : NSObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGJSONRequestSerializer.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGJSONRequestSerializer.h index 943ab132313..e6d302baa95 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGJSONRequestSerializer.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGJSONRequestSerializer.h @@ -13,6 +13,5 @@ * Do not edit the class manually. */ - @interface SWGJSONRequestSerializer : AFJSONRequestSerializer @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGLogger.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGLogger.h index 23f57acd7b8..92d4addffc4 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGLogger.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGLogger.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - #ifndef SWGDebugLogResponse #define SWGDebugLogResponse(response, responseObject,request, error) [[SWGLogger sharedLogger] logResponse:response responseObject:responseObject request:request error:error]; #endif diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGObject.h index 7d7112c5976..fe654c40f81 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGObject.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @interface SWGObject : JSONModel @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGQueryParamCollection.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGQueryParamCollection.h index 4bd35d86f35..8e0fd2e0e79 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGQueryParamCollection.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGQueryParamCollection.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - @interface SWGQueryParamCollection : NSObject @property(nonatomic, readonly) NSArray* values; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGResponseDeserializer.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGResponseDeserializer.h index 68f83704f49..f23926d4ce5 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGResponseDeserializer.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGResponseDeserializer.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * A key for deserialization ErrorDomain */ diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGSanitizer.h b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGSanitizer.h index 83853bec8cf..f02e544fdbc 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGSanitizer.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGSanitizer.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - extern NSString * SWGPercentEscapedStringFromString(NSString *string); extern NSString * const kSWGApplicationJSONType; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategory.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategory.h index 31eb9e6b31c..db6bb543a70 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategory.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategory.h @@ -16,7 +16,6 @@ - @protocol SWGCategory @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObject.h index 8bcb655d0fb..c2bb3d4c823 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObject.h @@ -15,7 +15,6 @@ - NS_ASSUME_NONNULL_BEGIN @interface SWGCategoryManagedObject : NSManagedObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObjectBuilder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObjectBuilder.h index 18863d14baf..ba3f68cf371 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObjectBuilder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGCategoryManagedObjectBuilder.h @@ -17,7 +17,6 @@ * Do not edit the class manually. */ - @interface SWGCategoryManagedObjectBuilder : NSObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrder.h index 5ea7a94cfcb..bfc33f9872b 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrder.h @@ -16,7 +16,6 @@ - @protocol SWGOrder @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObject.h index 05f83ca11fd..8a393fcb669 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObject.h @@ -15,7 +15,6 @@ - NS_ASSUME_NONNULL_BEGIN @interface SWGOrderManagedObject : NSManagedObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObjectBuilder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObjectBuilder.h index f67159446bc..f860c13c0a1 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObjectBuilder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGOrderManagedObjectBuilder.h @@ -17,7 +17,6 @@ * Do not edit the class manually. */ - @interface SWGOrderManagedObjectBuilder : NSObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPet.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPet.h index 4b372919326..e3a90f6346e 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPet.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPet.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - #import "SWGCategory.h" #import "SWGTag.h" @protocol SWGCategory; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObject.h index 6ad378e95f7..91924696a3c 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObject.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - #import "SWGCategoryManagedObject.h" #import "SWGTagManagedObject.h" diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObjectBuilder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObjectBuilder.h index 112ba8bbff4..96fab2ad023 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObjectBuilder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGPetManagedObjectBuilder.h @@ -19,7 +19,6 @@ * Do not edit the class manually. */ - @interface SWGPetManagedObjectBuilder : NSObject @property (nonatomic, strong) SWGCategoryManagedObjectBuilder * categoryBuilder; diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTag.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTag.h index cdcedfd916b..e71a6919ade 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTag.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTag.h @@ -16,7 +16,6 @@ - @protocol SWGTag @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObject.h index a646e643d70..15cce23e39c 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObject.h @@ -15,7 +15,6 @@ - NS_ASSUME_NONNULL_BEGIN @interface SWGTagManagedObject : NSManagedObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObjectBuilder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObjectBuilder.h index fe1abf098e0..4fa4bbf1aa4 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObjectBuilder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGTagManagedObjectBuilder.h @@ -17,7 +17,6 @@ * Do not edit the class manually. */ - @interface SWGTagManagedObjectBuilder : NSObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUser.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUser.h index 7786883ed29..5d0b3cb349f 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUser.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUser.h @@ -16,7 +16,6 @@ - @protocol SWGUser @end diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObject.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObject.h index 89f0f4938d8..bd93830ebf6 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObject.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObject.h @@ -15,7 +15,6 @@ - NS_ASSUME_NONNULL_BEGIN @interface SWGUserManagedObject : NSManagedObject diff --git a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObjectBuilder.h b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObjectBuilder.h index de1c284cde2..9bb6e01242c 100644 --- a/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObjectBuilder.h +++ b/samples/client/petstore/objc/core-data/SwaggerClient/Model/SWGUserManagedObjectBuilder.h @@ -17,7 +17,6 @@ * Do not edit the class manually. */ - @interface SWGUserManagedObjectBuilder : NSObject diff --git a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h index 1b1309c4876..839eced9fcd 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h @@ -15,7 +15,6 @@ */ - @interface SWGPetApi: NSObject extern NSString* kSWGPetApiErrorDomain; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h index 935845f7215..02514c5dfe9 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h @@ -15,7 +15,6 @@ */ - @interface SWGStoreApi: NSObject extern NSString* kSWGStoreApiErrorDomain; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h index 98a3a1756d5..b7d1599faf6 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h @@ -15,7 +15,6 @@ */ - @interface SWGUserApi: NSObject extern NSString* kSWGUserApiErrorDomain; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/JSONValueTransformer+ISO8601.h b/samples/client/petstore/objc/default/SwaggerClient/Core/JSONValueTransformer+ISO8601.h index 5179ca2e99b..8757c929676 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/JSONValueTransformer+ISO8601.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/JSONValueTransformer+ISO8601.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @interface JSONValueTransformer (ISO8601) @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApi.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApi.h index 6c0396f0cac..2d85a24aa9a 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApi.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApi.h @@ -14,7 +14,6 @@ * Do not edit the class manually. */ - @protocol SWGApi @property(readonly, nonatomic, strong) SWGApiClient *apiClient; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h index 761865f4693..f92477912ad 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h @@ -15,7 +15,6 @@ * Do not edit the class manually. */ - /** * A key for `NSError` user info dictionaries. * diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h index f6b12de5c5c..db24f58cd35 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h @@ -14,7 +14,6 @@ * Do not edit the class manually. */ - static NSString * const kSWGAPIVersion = @"1.0.0"; @protocol SWGConfiguration diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGDefaultConfiguration.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGDefaultConfiguration.h index e141e0d092d..2e95dd471f7 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGDefaultConfiguration.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGDefaultConfiguration.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @class SWGApiClient; @interface SWGDefaultConfiguration : NSObject diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONRequestSerializer.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONRequestSerializer.h index 943ab132313..e6d302baa95 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONRequestSerializer.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONRequestSerializer.h @@ -13,6 +13,5 @@ * Do not edit the class manually. */ - @interface SWGJSONRequestSerializer : AFJSONRequestSerializer @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGLogger.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGLogger.h index 23f57acd7b8..92d4addffc4 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGLogger.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGLogger.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - #ifndef SWGDebugLogResponse #define SWGDebugLogResponse(response, responseObject,request, error) [[SWGLogger sharedLogger] logResponse:response responseObject:responseObject request:request error:error]; #endif diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGObject.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGObject.h index 7d7112c5976..fe654c40f81 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGObject.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGObject.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - @interface SWGObject : JSONModel @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGQueryParamCollection.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGQueryParamCollection.h index 4bd35d86f35..8e0fd2e0e79 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGQueryParamCollection.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGQueryParamCollection.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - @interface SWGQueryParamCollection : NSObject @property(nonatomic, readonly) NSArray* values; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGResponseDeserializer.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGResponseDeserializer.h index 68f83704f49..f23926d4ce5 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGResponseDeserializer.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGResponseDeserializer.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * A key for deserialization ErrorDomain */ diff --git a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGSanitizer.h b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGSanitizer.h index 83853bec8cf..f02e544fdbc 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Core/SWGSanitizer.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Core/SWGSanitizer.h @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - extern NSString * SWGPercentEscapedStringFromString(NSString *string); extern NSString * const kSWGApplicationJSONType; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGCategory.h b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGCategory.h index 31eb9e6b31c..db6bb543a70 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGCategory.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGCategory.h @@ -16,7 +16,6 @@ - @protocol SWGCategory @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGOrder.h b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGOrder.h index 5ea7a94cfcb..bfc33f9872b 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGOrder.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGOrder.h @@ -16,7 +16,6 @@ - @protocol SWGOrder @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGPet.h b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGPet.h index 4b372919326..e3a90f6346e 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGPet.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGPet.h @@ -13,7 +13,6 @@ * Do not edit the class manually. */ - #import "SWGCategory.h" #import "SWGTag.h" @protocol SWGCategory; diff --git a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGTag.h b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGTag.h index cdcedfd916b..e71a6919ade 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGTag.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGTag.h @@ -16,7 +16,6 @@ - @protocol SWGTag @end diff --git a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGUser.h b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGUser.h index 7786883ed29..5d0b3cb349f 100644 --- a/samples/client/petstore/objc/default/SwaggerClient/Model/SWGUser.h +++ b/samples/client/petstore/objc/default/SwaggerClient/Model/SWGUser.h @@ -16,7 +16,6 @@ - @protocol SWGUser @end diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AdditionalPropertiesClass.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AdditionalPropertiesClass.pm index fe3e6e9bf8d..7f9ffe643a5 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AdditionalPropertiesClass.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AdditionalPropertiesClass.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'AdditionalPropertiesClass', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Adult.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Adult.pm index fea05beae61..36854565537 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Adult.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Adult.pm @@ -239,7 +239,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'A representation of an adult', class => 'Adult', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AllOfWithSingleRef.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AllOfWithSingleRef.pm index b032d5c460d..3a571563d0b 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AllOfWithSingleRef.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/AllOfWithSingleRef.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'AllOfWithSingleRef', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Animal.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Animal.pm index 610421d0af5..29498c28651 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Animal.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Animal.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Animal', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ApiResponse.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ApiResponse.pm index ad8dd55099e..a895b69a51f 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ApiResponse.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ApiResponse.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ApiResponse', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfArrayOfNumberOnly.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfArrayOfNumberOnly.pm index 8d5200bafb7..2e17a387a88 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfArrayOfNumberOnly.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfArrayOfNumberOnly.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ArrayOfArrayOfNumberOnly', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfNumberOnly.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfNumberOnly.pm index 1248abfb955..429a411e072 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfNumberOnly.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayOfNumberOnly.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ArrayOfNumberOnly', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayTest.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayTest.pm index bd080ca5181..faa956ffb5a 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayTest.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ArrayTest.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ArrayTest', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Capitalization.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Capitalization.pm index a7e92a6bbd2..ab110e05aaa 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Capitalization.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Capitalization.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Capitalization', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Cat.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Cat.pm index dfaa6adbb85..2f20ea79542 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Cat.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Cat.pm @@ -225,7 +225,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Cat', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Category.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Category.pm index 3d6dfcc8b74..4ed25a973da 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Category.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Category.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Category', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Child.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Child.pm index db41a61b5c4..663524923db 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Child.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Child.pm @@ -225,7 +225,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'A representation of a child', class => 'Child', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ChildWithNullable.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ChildWithNullable.pm index cc553f3c22f..d0152912402 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ChildWithNullable.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ChildWithNullable.pm @@ -225,7 +225,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ChildWithNullable', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ClassModel.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ClassModel.pm index e980490b08b..b771b281473 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ClassModel.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ClassModel.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Model for testing model with \"_class\" property', class => 'ClassModel', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Client.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Client.pm index 2dd2ef04455..d3d5b9c3417 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Client.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Client.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Client', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/DeprecatedModel.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/DeprecatedModel.pm index 89952e95b95..78a4dff390f 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/DeprecatedModel.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/DeprecatedModel.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'DeprecatedModel', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Dog.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Dog.pm index 42559cbc14d..6d7c28e1559 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Dog.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Dog.pm @@ -225,7 +225,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Dog', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumArrays.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumArrays.pm index 76b8491df20..9d1bd445d01 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumArrays.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumArrays.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'EnumArrays', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumClass.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumClass.pm index c9f89c7f9ba..3e7ce435f08 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumClass.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumClass.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'EnumClass', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumTest.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumTest.pm index a6c47f94ad0..6cd9dd23362 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumTest.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/EnumTest.pm @@ -216,7 +216,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'EnumTest', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FakeBigDecimalMap200Response.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FakeBigDecimalMap200Response.pm index 9168a546778..d9d4b36826a 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FakeBigDecimalMap200Response.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FakeBigDecimalMap200Response.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'FakeBigDecimalMap200Response', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/File.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/File.pm index eed979a03ad..866d0a20cb3 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/File.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/File.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Must be named `File` for test.', class => 'File', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FileSchemaTestClass.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FileSchemaTestClass.pm index 51a3e8c5632..5bd3fd22fe8 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FileSchemaTestClass.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FileSchemaTestClass.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'FileSchemaTestClass', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Foo.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Foo.pm index 455bc1d4951..488f5e89057 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Foo.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Foo.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Foo', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FooGetDefaultResponse.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FooGetDefaultResponse.pm index ff23c2e1f1b..ad878537313 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FooGetDefaultResponse.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FooGetDefaultResponse.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'FooGetDefaultResponse', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FormatTest.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FormatTest.pm index 667b31ba9cb..d23be068239 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FormatTest.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/FormatTest.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'FormatTest', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HasOnlyReadOnly.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HasOnlyReadOnly.pm index 39d0391e759..57ba88550fa 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HasOnlyReadOnly.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HasOnlyReadOnly.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'HasOnlyReadOnly', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HealthCheckResult.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HealthCheckResult.pm index 000598c457c..b35b0c8fec4 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HealthCheckResult.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/HealthCheckResult.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.', class => 'HealthCheckResult', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Human.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Human.pm index adf33739e97..39bd6c00ad3 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Human.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Human.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Human', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/List.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/List.pm index c7b5da6e285..666f5f7e806 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/List.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/List.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'List', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MapTest.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MapTest.pm index 23f774ba885..306bae470c9 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MapTest.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MapTest.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'MapTest', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MixedPropertiesAndAdditionalPropertiesClass.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MixedPropertiesAndAdditionalPropertiesClass.pm index 94dd3db9c7d..ee77773ac9d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MixedPropertiesAndAdditionalPropertiesClass.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/MixedPropertiesAndAdditionalPropertiesClass.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'MixedPropertiesAndAdditionalPropertiesClass', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Model200Response.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Model200Response.pm index 4cd7e3ce5d8..360a45735d8 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Model200Response.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Model200Response.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Model for testing model name starting with number', class => 'Model200Response', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ModelReturn.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ModelReturn.pm index fc7ab101d0f..aefafa7f33c 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ModelReturn.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ModelReturn.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Model for testing reserved words', class => 'ModelReturn', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Name.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Name.pm index 3a028d3558a..b8589d01a4c 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Name.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Name.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => 'Model for testing model name same as property name', class => 'Name', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NullableClass.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NullableClass.pm index 88ef76300dc..37980785d44 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NullableClass.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NullableClass.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'NullableClass', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NumberOnly.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NumberOnly.pm index a9183ffc6af..45d1f4a7f4d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NumberOnly.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/NumberOnly.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'NumberOnly', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ObjectWithDeprecatedFields.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ObjectWithDeprecatedFields.pm index 61918ae1d1d..a8863cfcc4d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ObjectWithDeprecatedFields.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ObjectWithDeprecatedFields.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ObjectWithDeprecatedFields', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Order.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Order.pm index 73168f90b7f..7bee44cd74a 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Order.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Order.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Order', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterComposite.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterComposite.pm index cc57dd41494..fa10c0e977f 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterComposite.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterComposite.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterComposite', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnum.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnum.pm index 9d430abd72f..0fa9267215a 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnum.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnum.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterEnum', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumDefaultValue.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumDefaultValue.pm index 014481ffc7c..04cad60731d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumDefaultValue.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumDefaultValue.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterEnumDefaultValue', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumInteger.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumInteger.pm index 78eb9b0d6f0..cb342d9037d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumInteger.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumInteger.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterEnumInteger', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumIntegerDefaultValue.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumIntegerDefaultValue.pm index 929d7d1e82a..1f2c860bb3e 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumIntegerDefaultValue.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterEnumIntegerDefaultValue.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterEnumIntegerDefaultValue', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterObjectWithEnumProperty.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterObjectWithEnumProperty.pm index e714d6f1f52..cc439cb7b5c 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterObjectWithEnumProperty.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/OuterObjectWithEnumProperty.pm @@ -213,7 +213,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'OuterObjectWithEnumProperty', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ParentWithNullable.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ParentWithNullable.pm index 41e0c7927f2..94b7f67db0b 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ParentWithNullable.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ParentWithNullable.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ParentWithNullable', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Person.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Person.pm index bd6c7e98f9a..03a5ceb3685 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Person.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Person.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Person', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Pet.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Pet.pm index cb9ffa59e70..323acd2b88c 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Pet.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Pet.pm @@ -214,7 +214,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Pet', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ReadOnlyFirst.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ReadOnlyFirst.pm index 59e15a1cb5b..984ed174f83 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ReadOnlyFirst.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/ReadOnlyFirst.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'ReadOnlyFirst', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SingleRefType.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SingleRefType.pm index 66f108a0d73..5f38288e00d 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SingleRefType.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SingleRefType.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'SingleRefType', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SpecialModelName.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SpecialModelName.pm index b09955a26fa..81535cbb76c 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SpecialModelName.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/SpecialModelName.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'SpecialModelName', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Tag.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Tag.pm index 35466afbc42..779cd225e49 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Tag.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/Tag.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'Tag', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/TestInlineFreeformAdditionalPropertiesRequest.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/TestInlineFreeformAdditionalPropertiesRequest.pm index 6e0263b2639..0f80c8c59c6 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/TestInlineFreeformAdditionalPropertiesRequest.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/TestInlineFreeformAdditionalPropertiesRequest.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'TestInlineFreeformAdditionalPropertiesRequest', required => [], # TODO diff --git a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/User.pm b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/User.pm index 788dc121428..15322f9a640 100644 --- a/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/User.pm +++ b/samples/client/petstore/perl/lib/WWW/OpenAPIClient/Object/User.pm @@ -212,7 +212,6 @@ sub _deserialize { } } - __PACKAGE__->class_documentation({description => '', class => 'User', required => [], # TODO diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md index 11da5763dcc..ea19ef22f98 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md @@ -48,7 +48,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/AnotherFakeApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/AnotherFakeApi.md index ef6fa331bd8..74bf808f8c6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/AnotherFakeApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/AnotherFakeApi.md @@ -24,7 +24,6 @@ To test special tags and operation ID starting with number require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/DefaultApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/DefaultApi.md index d603956cfaf..7d6896f1da9 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/DefaultApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/DefaultApi.md @@ -22,7 +22,6 @@ fooGet(): \OpenAPI\Client\Model\FooGetDefaultResponse require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\DefaultApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeApi.md index 9f4cab79f2a..bef6a5b58a2 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeApi.md @@ -46,7 +46,6 @@ for Java apache and Java native, test toUrlQueryString for maps with BegDecimal require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -97,7 +96,6 @@ test endpoint with enum parameter require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -155,7 +153,6 @@ Health check endpoint require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -207,7 +204,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -267,7 +263,6 @@ Test serialization of outer boolean types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -323,7 +318,6 @@ Test serialization of object with outer number type require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -379,7 +373,6 @@ Test serialization of outer number types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -435,7 +428,6 @@ Test serialization of outer string types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -491,7 +483,6 @@ Test serialization of enum (int) properties with examples require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -547,7 +538,6 @@ test referenced additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -602,7 +592,6 @@ For this test, the body has to be a binary file. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -657,7 +646,6 @@ For this test, the body for this request must reference a schema named `File`. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -710,7 +698,6 @@ testBodyWithQueryParams($query, $user) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -767,7 +754,6 @@ To test \"client\" model require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -828,7 +814,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -910,7 +895,6 @@ To test enum parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -984,7 +968,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer (JWT) authorization: bearer_test $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1055,7 +1038,6 @@ test inline additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1110,7 +1092,6 @@ test inline free-form additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1165,7 +1146,6 @@ test json serialization of form data require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1222,7 +1202,6 @@ test nullable parent property require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1277,7 +1256,6 @@ To test the collection format in query parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1344,7 +1322,6 @@ test referenced string map require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md index 7519d7924b4..80fd38aca40 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md @@ -29,7 +29,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key_query', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\FakeClassnameTags123Api( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/PetApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/PetApi.md index 03a95d599d9..28ac2462d29 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/PetApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/PetApi.md @@ -50,7 +50,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -117,7 +116,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -178,7 +176,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -238,7 +235,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -300,7 +296,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -375,7 +370,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -442,7 +436,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -505,7 +498,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -569,7 +561,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/StoreApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/StoreApi.md index f704ceffbdf..adff6401e59 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/StoreApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/StoreApi.md @@ -27,7 +27,6 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or non require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -87,7 +86,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -141,7 +139,6 @@ For valid response try integer IDs with value <= 5 or > 10. Other values will ge require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -197,7 +194,6 @@ Place an order for a pet require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/UserApi.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/UserApi.md index c5ff23c66a9..80a8e5278c4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/UserApi.md +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/docs/Api/UserApi.md @@ -31,7 +31,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -141,7 +139,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -196,7 +193,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -251,7 +247,6 @@ Get user by user name require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -307,7 +302,6 @@ Logs user into the system require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -365,7 +359,6 @@ Logs out current logged in user session require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -417,7 +410,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/AnotherFakeApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/AnotherFakeApi.php index 55bc4ec79a3..bef6685702a 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/AnotherFakeApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/AnotherFakeApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/DefaultApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/DefaultApi.php index a90d1ac121d..f28837d0883 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/DefaultApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/DefaultApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeApi.php index 4a9b3f6fe3c..d5c048fb684 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeClassnameTags123Api.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeClassnameTags123Api.php index 43bbeb89f9f..e633a1f1429 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeClassnameTags123Api.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/FakeClassnameTags123Api.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/PetApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/PetApi.php index 1ea07b45aaf..3f1221768ef 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/PetApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/PetApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/StoreApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/StoreApi.php index 4611652dc90..17a6578ffc5 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/StoreApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/StoreApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/UserApi.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/UserApi.php index 32a7e42eed6..c803317bfd6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/UserApi.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Api/UserApi.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ApiException.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ApiException.php index 384c4d42133..671f27f66e7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ApiException.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ApiException.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Configuration.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Configuration.php index 14d6f2844cc..2b325b183c3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Configuration.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Configuration.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/HeaderSelector.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/HeaderSelector.php index 01a389a3000..e09479ccb1e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/HeaderSelector.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/HeaderSelector.php @@ -17,7 +17,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php index 0561dbb4ebd..81398377e6d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AdditionalPropertiesClass.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php index 2a478ca4c5a..b732df7313f 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/AllOfWithSingleRef.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php index b77bd802eab..039c73a83b0 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Animal.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php index 48cb10581d9..eb11be4ea2c 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ApiResponse.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php index dc18f4345d9..67c17318ac1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfArrayOfNumberOnly.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php index 00b8205a820..22db22ed5fa 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayOfNumberOnly.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php index f6181b7fc1e..ed190ad18ca 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ArrayTest.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php index c2c493ae20b..d69f7aca9a1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Capitalization.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php index f3b0027e4cc..a4af1013b6e 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Cat.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php index f69e62385c2..a454082cb68 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Category.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php index 2d61b0a979f..731b9df955b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ChildWithNullable.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php index 536491586a9..394db2b2103 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ClassModel.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php index 52513c40432..78ef9a716b1 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Client.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php index f71c8a05c97..d33ec39b934 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/DeprecatedObject.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php index da8b81a552e..f575fb18bfa 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Dog.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php index d41d5092fc2..4d562a91724 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumArrays.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumClass.php index 8fbdf92d3f7..3f5c577b2e9 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumClass.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php index a8d6ba03614..d1d4fc72739 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumTest.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumWithNameAndDescription.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumWithNameAndDescription.php index 56eaedadb9b..d231b61c90d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumWithNameAndDescription.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/EnumWithNameAndDescription.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php index 986eca8e73b..f678f2de0de 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FakeBigDecimalMap200Response.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php index 1d00d7a6661..3df60feae16 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/File.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php index 47d369793cf..569e69244e6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FileSchemaTestClass.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php index 559c604eeda..fd8f0a0c119 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Foo.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php index 4ebe8d8e0a1..a025899c594 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FooGetDefaultResponse.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php index a17e4c18f97..e3a781d10a3 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/FormatTest.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php index 6f0c3ae87af..02aad958031 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HasOnlyReadOnly.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php index c5adc3061f4..77c899dca3b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/HealthCheckResult.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php index 8f988b90078..c22557aeb55 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MapTest.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php index 6dd7fb7e8f4..8a445032e7c 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php index c5f129fca98..3c02a2d18ed 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Model200Response.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php index be5e39ab6fc..ee1c8933d1b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelInterface.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php index 2c9cdcd3aed..f455f12d924 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelList.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php index d04e0841d81..30b4dfe217b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ModelReturn.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php index 20503361c7f..7cbc7bb1cc7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Name.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php index 2b612d7b146..b8f3570393b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NullableClass.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php index 6c0e2c39b16..5f790c17910 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/NumberOnly.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php index 5ab54920aef..322a7fcc146 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ObjectWithDeprecatedFields.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php index d43c8b5333e..06204b8a05d 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Order.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php index f4a06b8cdff..f801bda8029 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterComposite.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnum.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnum.php index c5c005a344a..4206b7d5e96 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnum.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnum.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumDefaultValue.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumDefaultValue.php index 1c50757b72d..524484aa3fa 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumDefaultValue.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumDefaultValue.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumInteger.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumInteger.php index 46570e4de23..5d7d3660620 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumInteger.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumInteger.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumIntegerDefaultValue.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumIntegerDefaultValue.php index 5bf3c0dcbf6..7649ccd8387 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumIntegerDefaultValue.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterEnumIntegerDefaultValue.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php index dfe4ee5ba5d..46ad6a413e4 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/OuterObjectWithEnumProperty.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php index 289c1f4f6e1..b864633b293 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ParentWithNullable.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php index e47db257307..9d52b390754 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Pet.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php index f32c05950f6..b5913890911 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/ReadOnlyFirst.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SingleRefType.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SingleRefType.php index d8c2100a795..8772c928bae 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SingleRefType.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SingleRefType.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php index 1cc759d3205..79cf819dab6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/SpecialModelName.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php index fc6083edc07..c3899f75cb6 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/Tag.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php index 50cf3172289..c0df0091ef7 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php index 8475fd4a9f1..ff8b9adb85b 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/Model/User.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ObjectSerializer.php b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ObjectSerializer.php index 6ac3f4d194f..e826324245c 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ObjectSerializer.php +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/src/ObjectSerializer.php @@ -18,7 +18,6 @@ * @generated Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/README.md b/samples/client/petstore/php/OpenAPIClient-php/README.md index b888c82f50f..ec6fd7dcd0a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/README.md +++ b/samples/client/petstore/php/OpenAPIClient-php/README.md @@ -49,7 +49,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/AnotherFakeApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/AnotherFakeApi.md index ef6fa331bd8..74bf808f8c6 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/AnotherFakeApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/AnotherFakeApi.md @@ -24,7 +24,6 @@ To test special tags and operation ID starting with number require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/DefaultApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/DefaultApi.md index d603956cfaf..7d6896f1da9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/DefaultApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/DefaultApi.md @@ -22,7 +22,6 @@ fooGet(): \OpenAPI\Client\Model\FooGetDefaultResponse require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\DefaultApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md index 87e2653832d..d32e96a71e4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md @@ -46,7 +46,6 @@ for Java apache and Java native, test toUrlQueryString for maps with BegDecimal require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -97,7 +96,6 @@ test endpoint with enum parameter require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -155,7 +153,6 @@ Health check endpoint require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -207,7 +204,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -267,7 +263,6 @@ Test serialization of outer boolean types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -323,7 +318,6 @@ Test serialization of object with outer number type require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -379,7 +373,6 @@ Test serialization of outer number types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -435,7 +428,6 @@ Test serialization of outer string types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -491,7 +483,6 @@ Test serialization of enum (int) properties with examples require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -545,7 +536,6 @@ parameter name mapping test require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -608,7 +598,6 @@ test referenced additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -663,7 +652,6 @@ For this test, the body has to be a binary file. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -718,7 +706,6 @@ For this test, the body for this request must reference a schema named `File`. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -771,7 +758,6 @@ testBodyWithQueryParams($query, $user) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -828,7 +814,6 @@ To test \"client\" model require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -889,7 +874,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -971,7 +955,6 @@ To test enum parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1045,7 +1028,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer (JWT) authorization: bearer_test $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1116,7 +1098,6 @@ test inline additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1171,7 +1152,6 @@ test inline free-form additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1226,7 +1206,6 @@ test json serialization of form data require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1283,7 +1262,6 @@ To test the collection format in query parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -1350,7 +1328,6 @@ test referenced string map require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md index 7519d7924b4..80fd38aca40 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeClassnameTags123Api.md @@ -29,7 +29,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key_query', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\FakeClassnameTags123Api( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/PetApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/PetApi.md index 527942413c6..b4696c9cdaf 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/PetApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/PetApi.md @@ -50,7 +50,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -117,7 +116,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -178,7 +176,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -238,7 +235,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -300,7 +296,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -375,7 +370,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -442,7 +436,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -505,7 +498,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -569,7 +561,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/StoreApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/StoreApi.md index f704ceffbdf..adff6401e59 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/StoreApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/StoreApi.md @@ -27,7 +27,6 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or non require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -87,7 +86,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -141,7 +139,6 @@ For valid response try integer IDs with value <= 5 or > 10. Other values will ge require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -197,7 +194,6 @@ Place an order for a pet require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md index c5ff23c66a9..80a8e5278c4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/UserApi.md @@ -31,7 +31,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -86,7 +85,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -141,7 +139,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -196,7 +193,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -251,7 +247,6 @@ Get user by user name require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -307,7 +302,6 @@ Logs user into the system require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -365,7 +359,6 @@ Logs out current logged in user session require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. @@ -417,7 +410,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/AnotherFakeApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/AnotherFakeApi.php index eb53a66b502..65ed7c01451 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/AnotherFakeApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/AnotherFakeApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/DefaultApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/DefaultApi.php index 061cb57f2a0..84cedb82f90 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/DefaultApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/DefaultApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeApi.php index 20b4b8dd539..94ff499e9f1 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeClassnameTags123Api.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeClassnameTags123Api.php index bf936fa62c1..3d9b203ddb2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeClassnameTags123Api.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/FakeClassnameTags123Api.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/PetApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/PetApi.php index 3167606788c..02e4031bae9 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/PetApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/PetApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/StoreApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/StoreApi.php index 427bb2413df..c01856d02bd 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/StoreApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/StoreApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php index 29e97f260ea..d3c5fc82000 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Api/UserApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/ApiException.php b/samples/client/petstore/php/OpenAPIClient-php/lib/ApiException.php index 46eea9dd3d0..1e5dd216925 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/ApiException.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/ApiException.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Configuration.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Configuration.php index ac5e3390e8c..2d935f34471 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Configuration.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Configuration.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/HeaderSelector.php b/samples/client/petstore/php/OpenAPIClient-php/lib/HeaderSelector.php index 4879098bcb0..d8ab0cb5985 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/HeaderSelector.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/HeaderSelector.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php index e3500ff1cf0..69452bd33a3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AdditionalPropertiesClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php index ef0ffcda46b..f60d605ee20 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/AllOfWithSingleRef.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php index fe50ec66263..59e990122a3 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Animal.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php index 55cd4192241..201d08fb1d0 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ApiResponse.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php index 77d6b78867d..c26c7d20409 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php index 27007833c70..69b97550fb7 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayOfNumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php index 4e7e74bc039..e1a3292f1da 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ArrayTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php index 438021d14f7..bce21260984 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Capitalization.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php index 4c14811a2b8..c14222b6794 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Cat.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php index 4d895e8d3e3..21317c7cce1 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Category.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php index 991bbab17ef..30af23be313 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ClassModel.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php index aa37d7ddb33..04c0b5485a5 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Client.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php index daf335fa212..c21cb57fdcd 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/DeprecatedObject.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php index 9eec0250c1c..ee6a2bac6e2 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Dog.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php index b8001ce7430..ab49b411972 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumArrays.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumClass.php index 178c20a513c..3d4863e2bee 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php index 6f8b64eb83a..80a22ca0436 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumWithNameAndDescription.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumWithNameAndDescription.php index 1c73ea9b161..d14b252f793 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumWithNameAndDescription.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/EnumWithNameAndDescription.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php index efcdb4e1e73..26f9b0017a4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FakeBigDecimalMap200Response.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php index 0e0f3162709..c5520ffa193 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/File.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php index 45197e300a3..21e63207133 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FileSchemaTestClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php index 2e79ec11c8a..3cbb1b9217a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Foo.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php index aff931cc00a..d65352c94b1 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FooGetDefaultResponse.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php index 8ce9b17cc39..86edc7b3d65 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/FormatTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php index 9dbba53e3cc..b66903b1269 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HasOnlyReadOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php index 917f2bfc2ba..f629b7f28cb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/HealthCheckResult.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php index 3f950722bc2..ec86e76323d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MapTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index 24636d2fe6f..037c0d893bb 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php index d43c8e70b2a..ff9f1d9a590 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Model200Response.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelInterface.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelInterface.php index c82d55ac875..c66f776beb4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelInterface.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelInterface.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php index c05f844e13f..5e3a70176ee 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelList.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php index fc4eb6ff4ca..546cdfbca9d 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ModelReturn.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php index 8fb93461ec7..eaeaacf4bb4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Name.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php index 05372f75e73..f28eba8df78 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NullableClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php index f8ee52fdc36..f353ceec3ea 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/NumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php index 2c5586b12d5..1cb09b93144 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ObjectWithDeprecatedFields.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php index 577d823d0a7..2102ac0907f 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Order.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php index d10f040797d..189ccd94c33 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterComposite.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnum.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnum.php index d5f08c0c773..51e0b69ee26 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnum.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnum.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumDefaultValue.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumDefaultValue.php index 9aaae417b0a..a075d657ac0 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumDefaultValue.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumDefaultValue.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumInteger.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumInteger.php index efb5192891a..96f99203bd4 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumInteger.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumInteger.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumIntegerDefaultValue.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumIntegerDefaultValue.php index 554a23c1212..0135401dc5e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumIntegerDefaultValue.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterEnumIntegerDefaultValue.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php index d50bc148113..7a0ebfcb74e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/OuterObjectWithEnumProperty.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php index c3a5e825812..9a3e290cdd7 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Pet.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php index 1622053c886..c703efaea05 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/PropertyNameMapping.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php index ac94e248922..065a452a291 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/ReadOnlyFirst.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SingleRefType.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SingleRefType.php index e7aa8bd83b8..fdb6b352f97 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SingleRefType.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SingleRefType.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php index 05adae909d0..c390b119246 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/SpecialModelName.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php index 6c2bd6f1ed0..7b167d3734e 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/Tag.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php index 1c1e2d51f7a..7459b55ca52 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php index d3be1293fbc..1efaa8b6222 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/Model/User.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php b/samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php index f4641306ddf..0134720bc72 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php +++ b/samples/client/petstore/php/OpenAPIClient-php/lib/ObjectSerializer.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/README.md b/samples/client/petstore/php/psr-18/README.md index ab9cd09386d..3e67f997d85 100644 --- a/samples/client/petstore/php/psr-18/README.md +++ b/samples/client/petstore/php/psr-18/README.md @@ -60,7 +60,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/AnotherFakeApi.md b/samples/client/petstore/php/psr-18/docs/Api/AnotherFakeApi.md index 42a2243039b..6979374ef12 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/AnotherFakeApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/AnotherFakeApi.md @@ -24,7 +24,6 @@ To test special tags and operation ID starting with number require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/DefaultApi.md b/samples/client/petstore/php/psr-18/docs/Api/DefaultApi.md index b56d4df36e5..13b87aa1000 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/DefaultApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/DefaultApi.md @@ -22,7 +22,6 @@ fooGet(): \OpenAPI\Client\Model\FooGetDefaultResponse require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\DefaultApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md b/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md index a63a2afacf0..810c5dac03b 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md @@ -46,7 +46,6 @@ for Java apache and Java native, test toUrlQueryString for maps with BegDecimal require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -97,7 +96,6 @@ test endpoint with enum parameter require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -155,7 +153,6 @@ Health check endpoint require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -207,7 +204,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -267,7 +263,6 @@ Test serialization of outer boolean types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -323,7 +318,6 @@ Test serialization of object with outer number type require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -379,7 +373,6 @@ Test serialization of outer number types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -435,7 +428,6 @@ Test serialization of outer string types require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -491,7 +483,6 @@ Test serialization of enum (int) properties with examples require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -545,7 +536,6 @@ parameter name mapping test require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -608,7 +598,6 @@ test referenced additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -663,7 +652,6 @@ For this test, the body has to be a binary file. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -718,7 +706,6 @@ For this test, the body for this request must reference a schema named `File`. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -771,7 +758,6 @@ testBodyWithQueryParams($query, $user) require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -828,7 +814,6 @@ To test \"client\" model require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -889,7 +874,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration() ->setUsername('YOUR_USERNAME') ->setPassword('YOUR_PASSWORD'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -971,7 +955,6 @@ To test enum parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1045,7 +1028,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer (JWT) authorization: bearer_test $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1113,7 +1095,6 @@ test inline additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1168,7 +1149,6 @@ test inline free-form additionalProperties require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1223,7 +1203,6 @@ test json serialization of form data require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1280,7 +1259,6 @@ To test the collection format in query parameters require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -1347,7 +1325,6 @@ test referenced string map require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\FakeApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/FakeClassnameTags123Api.md b/samples/client/petstore/php/psr-18/docs/Api/FakeClassnameTags123Api.md index 48b2139c35f..9d9600d1177 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/FakeClassnameTags123Api.md +++ b/samples/client/petstore/php/psr-18/docs/Api/FakeClassnameTags123Api.md @@ -29,7 +29,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key_query', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\FakeClassnameTags123Api( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/PetApi.md b/samples/client/petstore/php/psr-18/docs/Api/PetApi.md index 568f6c4c6e9..efa41561218 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/PetApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/PetApi.md @@ -35,7 +35,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -94,7 +93,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -155,7 +153,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -215,7 +212,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -277,7 +273,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -337,7 +332,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -396,7 +390,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -459,7 +452,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -523,7 +515,6 @@ require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: petstore_auth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); - $apiInstance = new OpenAPI\Client\Api\PetApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/StoreApi.md b/samples/client/petstore/php/psr-18/docs/Api/StoreApi.md index b5036ae1b63..d3198edbf2d 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/StoreApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/StoreApi.md @@ -27,7 +27,6 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or non require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -87,7 +86,6 @@ $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('ap // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -141,7 +139,6 @@ For valid response try integer IDs with value <= 5 or > 10. Other values will ge require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -197,7 +194,6 @@ Place an order for a pet require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\StoreApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/docs/Api/UserApi.md b/samples/client/petstore/php/psr-18/docs/Api/UserApi.md index 29ff9f51661..9c89edcc5d5 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/UserApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/UserApi.md @@ -31,7 +31,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -86,7 +85,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -141,7 +139,6 @@ Creates list of users with given input array require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -196,7 +193,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -251,7 +247,6 @@ Get user by user name require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -307,7 +302,6 @@ Logs user into the system require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -365,7 +359,6 @@ Logs out current logged in user session require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface @@ -417,7 +410,6 @@ This can only be done by the logged in user. require_once(__DIR__ . '/vendor/autoload.php'); - $apiInstance = new OpenAPI\Client\Api\UserApi( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface diff --git a/samples/client/petstore/php/psr-18/lib/Api/AnotherFakeApi.php b/samples/client/petstore/php/psr-18/lib/Api/AnotherFakeApi.php index 342749361e0..49269af2edc 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/AnotherFakeApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/AnotherFakeApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/DefaultApi.php b/samples/client/petstore/php/psr-18/lib/Api/DefaultApi.php index c232052431a..a7618521573 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/DefaultApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/DefaultApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/FakeApi.php b/samples/client/petstore/php/psr-18/lib/Api/FakeApi.php index 89d1a1aada2..4546346f88e 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/FakeApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/FakeApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/FakeClassnameTags123Api.php b/samples/client/petstore/php/psr-18/lib/Api/FakeClassnameTags123Api.php index cfb8709a228..5946988d79d 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/FakeClassnameTags123Api.php +++ b/samples/client/petstore/php/psr-18/lib/Api/FakeClassnameTags123Api.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/PetApi.php b/samples/client/petstore/php/psr-18/lib/Api/PetApi.php index 9a759f822b4..ec6eb0f3fd4 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/PetApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/PetApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/StoreApi.php b/samples/client/petstore/php/psr-18/lib/Api/StoreApi.php index 37cbcf6d886..5fbc35cadc2 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/StoreApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/StoreApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Api/UserApi.php b/samples/client/petstore/php/psr-18/lib/Api/UserApi.php index 1840b5f5921..529ef45e6d7 100644 --- a/samples/client/petstore/php/psr-18/lib/Api/UserApi.php +++ b/samples/client/petstore/php/psr-18/lib/Api/UserApi.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/ApiException.php b/samples/client/petstore/php/psr-18/lib/ApiException.php index d9b58be8dfd..5e6b81f4b9c 100644 --- a/samples/client/petstore/php/psr-18/lib/ApiException.php +++ b/samples/client/petstore/php/psr-18/lib/ApiException.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Configuration.php b/samples/client/petstore/php/psr-18/lib/Configuration.php index ac5e3390e8c..2d935f34471 100644 --- a/samples/client/petstore/php/psr-18/lib/Configuration.php +++ b/samples/client/petstore/php/psr-18/lib/Configuration.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/DebugPlugin.php b/samples/client/petstore/php/psr-18/lib/DebugPlugin.php index d8f9a563719..e562f2e4041 100644 --- a/samples/client/petstore/php/psr-18/lib/DebugPlugin.php +++ b/samples/client/petstore/php/psr-18/lib/DebugPlugin.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/HeaderSelector.php b/samples/client/petstore/php/psr-18/lib/HeaderSelector.php index 4879098bcb0..d8ab0cb5985 100644 --- a/samples/client/petstore/php/psr-18/lib/HeaderSelector.php +++ b/samples/client/petstore/php/psr-18/lib/HeaderSelector.php @@ -18,7 +18,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php b/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php index e3500ff1cf0..69452bd33a3 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/AdditionalPropertiesClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php b/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php index ef0ffcda46b..f60d605ee20 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php +++ b/samples/client/petstore/php/psr-18/lib/Model/AllOfWithSingleRef.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Animal.php b/samples/client/petstore/php/psr-18/lib/Model/Animal.php index fe50ec66263..59e990122a3 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Animal.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Animal.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php b/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php index 55cd4192241..201d08fb1d0 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ApiResponse.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php index 77d6b78867d..c26c7d20409 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php index 27007833c70..69b97550fb7 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayOfNumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php b/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php index 4e7e74bc039..e1a3292f1da 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ArrayTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php b/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php index 438021d14f7..bce21260984 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Capitalization.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Cat.php b/samples/client/petstore/php/psr-18/lib/Model/Cat.php index 4c14811a2b8..c14222b6794 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Cat.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Cat.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Category.php b/samples/client/petstore/php/psr-18/lib/Model/Category.php index 4d895e8d3e3..21317c7cce1 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Category.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Category.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php b/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php index 991bbab17ef..30af23be313 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ClassModel.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Client.php b/samples/client/petstore/php/psr-18/lib/Model/Client.php index aa37d7ddb33..04c0b5485a5 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Client.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Client.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php b/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php index daf335fa212..c21cb57fdcd 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php +++ b/samples/client/petstore/php/psr-18/lib/Model/DeprecatedObject.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Dog.php b/samples/client/petstore/php/psr-18/lib/Model/Dog.php index 9eec0250c1c..ee6a2bac6e2 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Dog.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Dog.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php b/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php index b8001ce7430..ab49b411972 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumArrays.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumClass.php b/samples/client/petstore/php/psr-18/lib/Model/EnumClass.php index 178c20a513c..3d4863e2bee 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php b/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php index 6f8b64eb83a..80a22ca0436 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/EnumWithNameAndDescription.php b/samples/client/petstore/php/psr-18/lib/Model/EnumWithNameAndDescription.php index 1c73ea9b161..d14b252f793 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/EnumWithNameAndDescription.php +++ b/samples/client/petstore/php/psr-18/lib/Model/EnumWithNameAndDescription.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php b/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php index efcdb4e1e73..26f9b0017a4 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FakeBigDecimalMap200Response.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/File.php b/samples/client/petstore/php/psr-18/lib/Model/File.php index 0e0f3162709..c5520ffa193 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/File.php +++ b/samples/client/petstore/php/psr-18/lib/Model/File.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php b/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php index 45197e300a3..21e63207133 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FileSchemaTestClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Foo.php b/samples/client/petstore/php/psr-18/lib/Model/Foo.php index 2e79ec11c8a..3cbb1b9217a 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Foo.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Foo.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php b/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php index aff931cc00a..d65352c94b1 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FooGetDefaultResponse.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php b/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php index 8ce9b17cc39..86edc7b3d65 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/FormatTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php b/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php index 9dbba53e3cc..b66903b1269 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/HasOnlyReadOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php b/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php index 917f2bfc2ba..f629b7f28cb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php +++ b/samples/client/petstore/php/psr-18/lib/Model/HealthCheckResult.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/MapTest.php b/samples/client/petstore/php/psr-18/lib/Model/MapTest.php index 3f950722bc2..ec86e76323d 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/MapTest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/MapTest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index 24636d2fe6f..037c0d893bb 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php b/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php index d43c8e70b2a..ff9f1d9a590 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Model200Response.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ModelInterface.php b/samples/client/petstore/php/psr-18/lib/Model/ModelInterface.php index c82d55ac875..c66f776beb4 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ModelInterface.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ModelInterface.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ModelList.php b/samples/client/petstore/php/psr-18/lib/Model/ModelList.php index c05f844e13f..5e3a70176ee 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ModelList.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ModelList.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php b/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php index fc4eb6ff4ca..546cdfbca9d 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ModelReturn.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Name.php b/samples/client/petstore/php/psr-18/lib/Model/Name.php index 8fb93461ec7..eaeaacf4bb4 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Name.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Name.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php b/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php index 05372f75e73..f28eba8df78 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php +++ b/samples/client/petstore/php/psr-18/lib/Model/NullableClass.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php b/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php index f8ee52fdc36..f353ceec3ea 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php +++ b/samples/client/petstore/php/psr-18/lib/Model/NumberOnly.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php b/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php index 2c5586b12d5..1cb09b93144 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ObjectWithDeprecatedFields.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Order.php b/samples/client/petstore/php/psr-18/lib/Model/Order.php index 577d823d0a7..2102ac0907f 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Order.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Order.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php b/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php index d10f040797d..189ccd94c33 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterComposite.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterEnum.php b/samples/client/petstore/php/psr-18/lib/Model/OuterEnum.php index d5f08c0c773..51e0b69ee26 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterEnum.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterEnum.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumDefaultValue.php b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumDefaultValue.php index 9aaae417b0a..a075d657ac0 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumDefaultValue.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumDefaultValue.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumInteger.php b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumInteger.php index efb5192891a..96f99203bd4 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumInteger.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumInteger.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumIntegerDefaultValue.php b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumIntegerDefaultValue.php index 554a23c1212..0135401dc5e 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterEnumIntegerDefaultValue.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterEnumIntegerDefaultValue.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php b/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php index d50bc148113..7a0ebfcb74e 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php +++ b/samples/client/petstore/php/psr-18/lib/Model/OuterObjectWithEnumProperty.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Pet.php b/samples/client/petstore/php/psr-18/lib/Model/Pet.php index c3a5e825812..9a3e290cdd7 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Pet.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Pet.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php b/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php index 1622053c886..c703efaea05 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php +++ b/samples/client/petstore/php/psr-18/lib/Model/PropertyNameMapping.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php b/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php index ac94e248922..065a452a291 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php +++ b/samples/client/petstore/php/psr-18/lib/Model/ReadOnlyFirst.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/SingleRefType.php b/samples/client/petstore/php/psr-18/lib/Model/SingleRefType.php index e7aa8bd83b8..fdb6b352f97 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/SingleRefType.php +++ b/samples/client/petstore/php/psr-18/lib/Model/SingleRefType.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php b/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php index 05adae909d0..c390b119246 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php +++ b/samples/client/petstore/php/psr-18/lib/Model/SpecialModelName.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/Tag.php b/samples/client/petstore/php/psr-18/lib/Model/Tag.php index 6c2bd6f1ed0..7b167d3734e 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/Tag.php +++ b/samples/client/petstore/php/psr-18/lib/Model/Tag.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php b/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php index 1c1e2d51f7a..7459b55ca52 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php +++ b/samples/client/petstore/php/psr-18/lib/Model/TestInlineFreeformAdditionalPropertiesRequest.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/Model/User.php b/samples/client/petstore/php/psr-18/lib/Model/User.php index d3be1293fbc..1efaa8b6222 100644 --- a/samples/client/petstore/php/psr-18/lib/Model/User.php +++ b/samples/client/petstore/php/psr-18/lib/Model/User.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/php/psr-18/lib/ObjectSerializer.php b/samples/client/petstore/php/psr-18/lib/ObjectSerializer.php index f4641306ddf..0134720bc72 100644 --- a/samples/client/petstore/php/psr-18/lib/ObjectSerializer.php +++ b/samples/client/petstore/php/psr-18/lib/ObjectSerializer.php @@ -19,7 +19,6 @@ * Generated by: https://openapi-generator.tech * Generator version: 7.10.0-SNAPSHOT */ - /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech diff --git a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnum.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnum.ps1 index 0f7cd366d1a..d30c5d46043 100644 --- a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnum.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnum.ps1 @@ -23,4 +23,3 @@ enum OuterEnum { # enum value: "delivered" delivered } - diff --git a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumDefaultValue.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumDefaultValue.ps1 index 2469d1e291d..187ae6e5564 100644 --- a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumDefaultValue.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumDefaultValue.ps1 @@ -23,4 +23,3 @@ enum OuterEnumDefaultValue { # enum value: "delivered" delivered } - diff --git a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumInteger.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumInteger.ps1 index 70f68d06e29..ba3f9b71f06 100644 --- a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumInteger.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumInteger.ps1 @@ -23,4 +23,3 @@ enum OuterEnumInteger { # enum value: "2" NUMBER_2 } - diff --git a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumIntegerDefaultValue.ps1 b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumIntegerDefaultValue.ps1 index ae57281c975..3458e282149 100644 --- a/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumIntegerDefaultValue.ps1 +++ b/samples/client/petstore/powershell/src/PSPetstore/Model/OuterEnumIntegerDefaultValue.ps1 @@ -23,4 +23,3 @@ enum OuterEnumIntegerDefaultValue { # enum value: "2" NUMBER_2 } - diff --git a/samples/client/petstore/ruby-autoload/docs/AdditionalPropertiesClass.md b/samples/client/petstore/ruby-autoload/docs/AdditionalPropertiesClass.md index 4e1cdc869f5..90ed515e212 100644 --- a/samples/client/petstore/ruby-autoload/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-autoload/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ instance = Petstore::AdditionalPropertiesClass.new( map_of_map_property: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/AllOfWithSingleRef.md b/samples/client/petstore/ruby-autoload/docs/AllOfWithSingleRef.md index 3c14ac91c4a..3584c4edba4 100644 --- a/samples/client/petstore/ruby-autoload/docs/AllOfWithSingleRef.md +++ b/samples/client/petstore/ruby-autoload/docs/AllOfWithSingleRef.md @@ -17,4 +17,3 @@ instance = Petstore::AllOfWithSingleRef.new( single_ref_type: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Animal.md b/samples/client/petstore/ruby-autoload/docs/Animal.md index 286ce80cb21..e58a9fc4b90 100644 --- a/samples/client/petstore/ruby-autoload/docs/Animal.md +++ b/samples/client/petstore/ruby-autoload/docs/Animal.md @@ -17,4 +17,3 @@ instance = Petstore::Animal.new( color: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ApiResponse.md b/samples/client/petstore/ruby-autoload/docs/ApiResponse.md index be28c4fbb5a..a00ec9a1c89 100644 --- a/samples/client/petstore/ruby-autoload/docs/ApiResponse.md +++ b/samples/client/petstore/ruby-autoload/docs/ApiResponse.md @@ -19,4 +19,3 @@ instance = Petstore::ApiResponse.new( message: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/ruby-autoload/docs/ArrayOfArrayOfNumberOnly.md index eb5b3f43bcd..c13e9e4563e 100644 --- a/samples/client/petstore/ruby-autoload/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-autoload/docs/ArrayOfArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfArrayOfNumberOnly.new( array_array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ArrayOfNumberOnly.md b/samples/client/petstore/ruby-autoload/docs/ArrayOfNumberOnly.md index 18b6c0f6904..9b3051a9d55 100644 --- a/samples/client/petstore/ruby-autoload/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-autoload/docs/ArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfNumberOnly.new( array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ArrayTest.md b/samples/client/petstore/ruby-autoload/docs/ArrayTest.md index 8ee02d169ea..dd297301162 100644 --- a/samples/client/petstore/ruby-autoload/docs/ArrayTest.md +++ b/samples/client/petstore/ruby-autoload/docs/ArrayTest.md @@ -19,4 +19,3 @@ instance = Petstore::ArrayTest.new( array_array_of_model: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Capitalization.md b/samples/client/petstore/ruby-autoload/docs/Capitalization.md index a34377e7976..7e2575d4135 100644 --- a/samples/client/petstore/ruby-autoload/docs/Capitalization.md +++ b/samples/client/petstore/ruby-autoload/docs/Capitalization.md @@ -25,4 +25,3 @@ instance = Petstore::Capitalization.new( att_name: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Cat.md b/samples/client/petstore/ruby-autoload/docs/Cat.md index 67168c77660..cf12a085e9f 100644 --- a/samples/client/petstore/ruby-autoload/docs/Cat.md +++ b/samples/client/petstore/ruby-autoload/docs/Cat.md @@ -15,4 +15,3 @@ instance = Petstore::Cat.new( declawed: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Category.md b/samples/client/petstore/ruby-autoload/docs/Category.md index f92706fd24d..eaf9fec5d4a 100644 --- a/samples/client/petstore/ruby-autoload/docs/Category.md +++ b/samples/client/petstore/ruby-autoload/docs/Category.md @@ -17,4 +17,3 @@ instance = Petstore::Category.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ChildWithNullable.md b/samples/client/petstore/ruby-autoload/docs/ChildWithNullable.md index 3e6ffffc4d3..11573805f86 100644 --- a/samples/client/petstore/ruby-autoload/docs/ChildWithNullable.md +++ b/samples/client/petstore/ruby-autoload/docs/ChildWithNullable.md @@ -15,4 +15,3 @@ instance = Petstore::ChildWithNullable.new( other_property: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ClassModel.md b/samples/client/petstore/ruby-autoload/docs/ClassModel.md index e88b4c0c7b4..64271d8fef4 100644 --- a/samples/client/petstore/ruby-autoload/docs/ClassModel.md +++ b/samples/client/petstore/ruby-autoload/docs/ClassModel.md @@ -15,4 +15,3 @@ instance = Petstore::ClassModel.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Client.md b/samples/client/petstore/ruby-autoload/docs/Client.md index 17778a6b0f2..c04f9baeaf8 100644 --- a/samples/client/petstore/ruby-autoload/docs/Client.md +++ b/samples/client/petstore/ruby-autoload/docs/Client.md @@ -15,4 +15,3 @@ instance = Petstore::Client.new( client: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/DeprecatedObject.md b/samples/client/petstore/ruby-autoload/docs/DeprecatedObject.md index 143be46c411..bfaea6f73b4 100644 --- a/samples/client/petstore/ruby-autoload/docs/DeprecatedObject.md +++ b/samples/client/petstore/ruby-autoload/docs/DeprecatedObject.md @@ -15,4 +15,3 @@ instance = Petstore::DeprecatedObject.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Dog.md b/samples/client/petstore/ruby-autoload/docs/Dog.md index 2649c58c005..7a5c60746fc 100644 --- a/samples/client/petstore/ruby-autoload/docs/Dog.md +++ b/samples/client/petstore/ruby-autoload/docs/Dog.md @@ -15,4 +15,3 @@ instance = Petstore::Dog.new( breed: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/EnumArrays.md b/samples/client/petstore/ruby-autoload/docs/EnumArrays.md index cd3d076ad97..044240f6f68 100644 --- a/samples/client/petstore/ruby-autoload/docs/EnumArrays.md +++ b/samples/client/petstore/ruby-autoload/docs/EnumArrays.md @@ -17,4 +17,3 @@ instance = Petstore::EnumArrays.new( array_enum: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/EnumClass.md b/samples/client/petstore/ruby-autoload/docs/EnumClass.md index 099e6e47ec8..3f539ca669d 100644 --- a/samples/client/petstore/ruby-autoload/docs/EnumClass.md +++ b/samples/client/petstore/ruby-autoload/docs/EnumClass.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::EnumClass.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/EnumTest.md b/samples/client/petstore/ruby-autoload/docs/EnumTest.md index fad21de8ae1..2b54c6a1b1e 100644 --- a/samples/client/petstore/ruby-autoload/docs/EnumTest.md +++ b/samples/client/petstore/ruby-autoload/docs/EnumTest.md @@ -29,4 +29,3 @@ instance = Petstore::EnumTest.new( outer_enum_integer_default_value: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/ruby-autoload/docs/FakeBigDecimalMap200Response.md index f564c4385e8..1f3811a99bc 100644 --- a/samples/client/petstore/ruby-autoload/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/ruby-autoload/docs/FakeBigDecimalMap200Response.md @@ -17,4 +17,3 @@ instance = Petstore::FakeBigDecimalMap200Response.new( some_map: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/File.md b/samples/client/petstore/ruby-autoload/docs/File.md index 5cbc1297909..1f65d0cb0fd 100644 --- a/samples/client/petstore/ruby-autoload/docs/File.md +++ b/samples/client/petstore/ruby-autoload/docs/File.md @@ -15,4 +15,3 @@ instance = Petstore::File.new( source_uri: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/FileSchemaTestClass.md b/samples/client/petstore/ruby-autoload/docs/FileSchemaTestClass.md index d9dbef2348e..d6e73193058 100644 --- a/samples/client/petstore/ruby-autoload/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/ruby-autoload/docs/FileSchemaTestClass.md @@ -17,4 +17,3 @@ instance = Petstore::FileSchemaTestClass.new( files: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Foo.md b/samples/client/petstore/ruby-autoload/docs/Foo.md index 3a826f6ae70..faafe060642 100644 --- a/samples/client/petstore/ruby-autoload/docs/Foo.md +++ b/samples/client/petstore/ruby-autoload/docs/Foo.md @@ -15,4 +15,3 @@ instance = Petstore::Foo.new( bar: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/FooGetDefaultResponse.md b/samples/client/petstore/ruby-autoload/docs/FooGetDefaultResponse.md index 915e059d924..401a2d5dc27 100644 --- a/samples/client/petstore/ruby-autoload/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/ruby-autoload/docs/FooGetDefaultResponse.md @@ -15,4 +15,3 @@ instance = Petstore::FooGetDefaultResponse.new( string: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/FormatTest.md b/samples/client/petstore/ruby-autoload/docs/FormatTest.md index a790ce44835..24e4d6f1995 100644 --- a/samples/client/petstore/ruby-autoload/docs/FormatTest.md +++ b/samples/client/petstore/ruby-autoload/docs/FormatTest.md @@ -45,4 +45,3 @@ instance = Petstore::FormatTest.new( pattern_with_digits_and_delimiter: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/HasOnlyReadOnly.md b/samples/client/petstore/ruby-autoload/docs/HasOnlyReadOnly.md index 6d8dbfd0ad6..9f2f436f010 100644 --- a/samples/client/petstore/ruby-autoload/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/ruby-autoload/docs/HasOnlyReadOnly.md @@ -17,4 +17,3 @@ instance = Petstore::HasOnlyReadOnly.new( foo: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/HealthCheckResult.md b/samples/client/petstore/ruby-autoload/docs/HealthCheckResult.md index 5695ceb488e..33827536e5a 100644 --- a/samples/client/petstore/ruby-autoload/docs/HealthCheckResult.md +++ b/samples/client/petstore/ruby-autoload/docs/HealthCheckResult.md @@ -15,4 +15,3 @@ instance = Petstore::HealthCheckResult.new( nullable_message: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/List.md b/samples/client/petstore/ruby-autoload/docs/List.md index 42467415e72..bb9fbfdd9fd 100644 --- a/samples/client/petstore/ruby-autoload/docs/List.md +++ b/samples/client/petstore/ruby-autoload/docs/List.md @@ -15,4 +15,3 @@ instance = Petstore::List.new( _123_list: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/MapTest.md b/samples/client/petstore/ruby-autoload/docs/MapTest.md index 58bc1327247..9bc874f644c 100644 --- a/samples/client/petstore/ruby-autoload/docs/MapTest.md +++ b/samples/client/petstore/ruby-autoload/docs/MapTest.md @@ -21,4 +21,3 @@ instance = Petstore::MapTest.new( indirect_map: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/ruby-autoload/docs/MixedPropertiesAndAdditionalPropertiesClass.md index c7d57c85ddd..c8e69f36d42 100644 --- a/samples/client/petstore/ruby-autoload/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-autoload/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -19,4 +19,3 @@ instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new( map: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Model200Response.md b/samples/client/petstore/ruby-autoload/docs/Model200Response.md index 2eee7ded759..7cfa65aa7c9 100644 --- a/samples/client/petstore/ruby-autoload/docs/Model200Response.md +++ b/samples/client/petstore/ruby-autoload/docs/Model200Response.md @@ -17,4 +17,3 @@ instance = Petstore::Model200Response.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ModelReturn.md b/samples/client/petstore/ruby-autoload/docs/ModelReturn.md index bbcb5307f4b..37a5e5a0c8b 100644 --- a/samples/client/petstore/ruby-autoload/docs/ModelReturn.md +++ b/samples/client/petstore/ruby-autoload/docs/ModelReturn.md @@ -15,4 +15,3 @@ instance = Petstore::ModelReturn.new( _return: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Name.md b/samples/client/petstore/ruby-autoload/docs/Name.md index 9ff05587cbd..a91968fcd30 100644 --- a/samples/client/petstore/ruby-autoload/docs/Name.md +++ b/samples/client/petstore/ruby-autoload/docs/Name.md @@ -21,4 +21,3 @@ instance = Petstore::Name.new( _123_number: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/NullableClass.md b/samples/client/petstore/ruby-autoload/docs/NullableClass.md index 761bfd80732..df2aefc1b8a 100644 --- a/samples/client/petstore/ruby-autoload/docs/NullableClass.md +++ b/samples/client/petstore/ruby-autoload/docs/NullableClass.md @@ -37,4 +37,3 @@ instance = Petstore::NullableClass.new( object_items_nullable: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/NumberOnly.md b/samples/client/petstore/ruby-autoload/docs/NumberOnly.md index 540e736c8a5..2d2fba92c21 100644 --- a/samples/client/petstore/ruby-autoload/docs/NumberOnly.md +++ b/samples/client/petstore/ruby-autoload/docs/NumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::NumberOnly.new( just_number: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/ruby-autoload/docs/ObjectWithDeprecatedFields.md index 6658759209b..95957818b78 100644 --- a/samples/client/petstore/ruby-autoload/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/ruby-autoload/docs/ObjectWithDeprecatedFields.md @@ -21,4 +21,3 @@ instance = Petstore::ObjectWithDeprecatedFields.new( bars: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Order.md b/samples/client/petstore/ruby-autoload/docs/Order.md index a3fd5513806..9ffc4b32307 100644 --- a/samples/client/petstore/ruby-autoload/docs/Order.md +++ b/samples/client/petstore/ruby-autoload/docs/Order.md @@ -25,4 +25,3 @@ instance = Petstore::Order.new( complete: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterComposite.md b/samples/client/petstore/ruby-autoload/docs/OuterComposite.md index 03f9386e5f1..f1308265d7a 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterComposite.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterComposite.md @@ -19,4 +19,3 @@ instance = Petstore::OuterComposite.new( my_boolean: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterEnum.md b/samples/client/petstore/ruby-autoload/docs/OuterEnum.md index 9c81b44ae77..9a48108fc7a 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterEnum.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterEnum.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnum.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterEnumDefaultValue.md b/samples/client/petstore/ruby-autoload/docs/OuterEnumDefaultValue.md index be1f48a846f..348c3738a41 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterEnumInteger.md b/samples/client/petstore/ruby-autoload/docs/OuterEnumInteger.md index 80f46c1e0d0..c45063111fa 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterEnumInteger.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumInteger.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/ruby-autoload/docs/OuterEnumIntegerDefaultValue.md index 38fbfd638ac..1ffa188c051 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumIntegerDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/OuterObjectWithEnumProperty.md b/samples/client/petstore/ruby-autoload/docs/OuterObjectWithEnumProperty.md index dfd9de4596e..2588d07025c 100644 --- a/samples/client/petstore/ruby-autoload/docs/OuterObjectWithEnumProperty.md +++ b/samples/client/petstore/ruby-autoload/docs/OuterObjectWithEnumProperty.md @@ -15,4 +15,3 @@ instance = Petstore::OuterObjectWithEnumProperty.new( value: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ParentWithNullable.md b/samples/client/petstore/ruby-autoload/docs/ParentWithNullable.md index 0c77bf999dc..8b766109f24 100644 --- a/samples/client/petstore/ruby-autoload/docs/ParentWithNullable.md +++ b/samples/client/petstore/ruby-autoload/docs/ParentWithNullable.md @@ -17,4 +17,3 @@ instance = Petstore::ParentWithNullable.new( nullable_property: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Pet.md b/samples/client/petstore/ruby-autoload/docs/Pet.md index 13f34d7d167..78dda076209 100644 --- a/samples/client/petstore/ruby-autoload/docs/Pet.md +++ b/samples/client/petstore/ruby-autoload/docs/Pet.md @@ -25,4 +25,3 @@ instance = Petstore::Pet.new( status: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/ReadOnlyFirst.md b/samples/client/petstore/ruby-autoload/docs/ReadOnlyFirst.md index bed355e261c..d3ff74c7545 100644 --- a/samples/client/petstore/ruby-autoload/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/ruby-autoload/docs/ReadOnlyFirst.md @@ -17,4 +17,3 @@ instance = Petstore::ReadOnlyFirst.new( baz: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/SingleRefType.md b/samples/client/petstore/ruby-autoload/docs/SingleRefType.md index 1f997e7bf8d..6240cca7111 100644 --- a/samples/client/petstore/ruby-autoload/docs/SingleRefType.md +++ b/samples/client/petstore/ruby-autoload/docs/SingleRefType.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::SingleRefType.new() ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/SpecialModelName.md b/samples/client/petstore/ruby-autoload/docs/SpecialModelName.md index 6a5169191d3..e072868445c 100644 --- a/samples/client/petstore/ruby-autoload/docs/SpecialModelName.md +++ b/samples/client/petstore/ruby-autoload/docs/SpecialModelName.md @@ -15,4 +15,3 @@ instance = Petstore::SpecialModelName.new( special_property_name: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/Tag.md b/samples/client/petstore/ruby-autoload/docs/Tag.md index f29ee058b01..197129df058 100644 --- a/samples/client/petstore/ruby-autoload/docs/Tag.md +++ b/samples/client/petstore/ruby-autoload/docs/Tag.md @@ -17,4 +17,3 @@ instance = Petstore::Tag.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/ruby-autoload/docs/TestInlineFreeformAdditionalPropertiesRequest.md index c976800c181..4a12a9dba00 100644 --- a/samples/client/petstore/ruby-autoload/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/ruby-autoload/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -15,4 +15,3 @@ instance = Petstore::TestInlineFreeformAdditionalPropertiesRequest.new( some_property: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/docs/User.md b/samples/client/petstore/ruby-autoload/docs/User.md index 1dab27adba2..dd7c1671859 100644 --- a/samples/client/petstore/ruby-autoload/docs/User.md +++ b/samples/client/petstore/ruby-autoload/docs/User.md @@ -29,4 +29,3 @@ instance = Petstore::User.new( user_status: null ) ``` - diff --git a/samples/client/petstore/ruby-autoload/lib/petstore.rb b/samples/client/petstore/ruby-autoload/lib/petstore.rb index 1df8bd876b3..96ddffeec87 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/another_fake_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/another_fake_api.rb index 2cd28463257..b0b3001ed55 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/another_fake_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/another_fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/default_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/default_api.rb index 69b648b1f92..fd81f0e8169 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/default_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/default_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_api.rb index 6cd08765cc9..7208e54188f 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_classname_tags123_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_classname_tags123_api.rb index defb5d7dc94..80dbc48cb0a 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_classname_tags123_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/fake_classname_tags123_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/pet_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/pet_api.rb index bfe5db16a7f..f8cb98322e5 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/pet_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/pet_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/store_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/store_api.rb index 87261710ee0..dab65a32ca0 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/store_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/store_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api/user_api.rb index b0352738964..4b134741b71 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api/user_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api_client.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api_client.rb index 9dccaa5b271..75d1f79f651 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api_client.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ module Petstore tempfile end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/api_error.rb b/samples/client/petstore/ruby-autoload/lib/petstore/api_error.rb index 03b8f10b4f0..90e1aa0ea22 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/api_error.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/configuration.rb b/samples/client/petstore/ruby-autoload/lib/petstore/configuration.rb index a21cb27d2c0..16464814d20 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/configuration.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore @@ -151,7 +150,6 @@ module Petstore # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96 attr_accessor :params_encoding - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/additional_properties_class.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/additional_properties_class.rb index 08181524c0a..c272a95715e 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/additional_properties_class.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/all_of_with_single_ref.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/all_of_with_single_ref.rb index c8a82eaacc1..f849064886b 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/all_of_with_single_ref.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/all_of_with_single_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/animal.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/animal.rb index e0f55e9637d..d2572402445 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/animal.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/animal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/api_response.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/api_response.rb index 54e3d135122..fba838ec89d 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/api_response.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/api_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_array_of_number_only.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_array_of_number_only.rb index e45247f6ea2..51264f41e45 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_array_of_number_only.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_number_only.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_number_only.rb index 55934845105..48064064fbd 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_number_only.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_test.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_test.rb index a88e01c3bdc..0995478313d 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/array_test.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/array_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/capitalization.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/capitalization.rb index 82692d85039..056e8e5fe97 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/capitalization.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/capitalization.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/cat.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/cat.rb index 64c6938b0aa..9e6bbcc362c 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/cat.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/cat.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/category.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/category.rb index e44364ee02e..b65bb4d3a3a 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/category.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/child_with_nullable.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/child_with_nullable.rb index 6c2899b24ed..cdae47501e2 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/child_with_nullable.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/child_with_nullable.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -241,7 +240,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/class_model.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/class_model.rb index 7c209246e3b..4f16d4da00a 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/class_model.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/class_model.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/client.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/client.rb index de0685d0b04..237af3e41df 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/client.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/deprecated_object.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/deprecated_object.rb index f2e7f9ecf08..a3d055b8e6f 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/deprecated_object.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/deprecated_object.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/dog.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/dog.rb index 6b463d10e2a..48bc263d35f 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/dog.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/dog.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_arrays.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_arrays.rb index 9b6e43025b5..384df658efc 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_arrays.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_arrays.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_class.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_class.rb index a7b08629698..8b842fc79cd 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_class.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if EnumClass.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #EnumClass" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_test.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_test.rb index 6313d9b94be..a2941e29df5 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_test.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/enum_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/fake_big_decimal_map200_response.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/fake_big_decimal_map200_response.rb index db2e36a025b..13764e427d1 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/fake_big_decimal_map200_response.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/fake_big_decimal_map200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/file.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/file.rb index 8edc5de06b6..c69536d2318 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/file.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/file.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/file_schema_test_class.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/file_schema_test_class.rb index e99905069f8..d1224225bb0 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/file_schema_test_class.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/file_schema_test_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/foo.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/foo.rb index 5bb64a98933..7fd66140346 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/foo.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/foo.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/foo_get_default_response.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/foo_get_default_response.rb index dd618bd66f3..ce96c3e73b7 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/foo_get_default_response.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/foo_get_default_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/format_test.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/format_test.rb index 7f85817a5b9..f6f37139653 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/format_test.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/format_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/has_only_read_only.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/has_only_read_only.rb index 9b61c9ce75e..1c6bdf4a7db 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/has_only_read_only.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/has_only_read_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/health_check_result.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/health_check_result.rb index 43d4bf247e8..6808e8bd875 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/health_check_result.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/health_check_result.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/list.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/list.rb index 7e00018ae11..0fa355d72ad 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/list.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/list.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/map_test.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/map_test.rb index 139752730bd..51714a23a49 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/map_test.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/map_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/mixed_properties_and_additional_properties_class.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/mixed_properties_and_additional_properties_class.rb index b7703c11d63..8130296d405 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/mixed_properties_and_additional_properties_class.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/mixed_properties_and_additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/model200_response.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/model200_response.rb index b0f31909918..843358f0cb9 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/model200_response.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/model200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/model_return.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/model_return.rb index a1b2791519b..74c53e8453e 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/model_return.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/model_return.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/name.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/name.rb index 05739286c7c..ecb7b668ac4 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/name.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/nullable_class.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/nullable_class.rb index 2c04a3c31ea..69d27bd530a 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/nullable_class.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/nullable_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/number_only.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/number_only.rb index d03d015a9c5..8a91a3a9037 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/number_only.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/object_with_deprecated_fields.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/object_with_deprecated_fields.rb index c02ef6bd20c..2e638884475 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/object_with_deprecated_fields.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/object_with_deprecated_fields.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/order.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/order.rb index e116c53034b..11bee206b83 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/order.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/order.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_composite.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_composite.rb index a4a970788aa..bcf50fa09d3 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_composite.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_composite.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum.rb index 38254bd77b6..e9859f39c9e 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnum" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_default_value.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_default_value.rb index 74e0dbd8433..ed092c06034 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_default_value.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer.rb index aafc9d66979..dcdd8de6411 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumInteger.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumInteger" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer_default_value.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer_default_value.rb index 08e22c09051..fb5899a81d9 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer_default_value.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_enum_integer_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumIntegerDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumIntegerDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_object_with_enum_property.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_object_with_enum_property.rb index 107c1ead012..15b15c7154e 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_object_with_enum_property.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/outer_object_with_enum_property.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/parent_with_nullable.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/parent_with_nullable.rb index f4ded8f1490..612a5a0a5c7 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/parent_with_nullable.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/parent_with_nullable.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -257,7 +256,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/pet.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/pet.rb index f3e6eb07f60..fc59b5e0901 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/pet.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/read_only_first.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/read_only_first.rb index 1cf4d334b36..c022a40d188 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/read_only_first.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/read_only_first.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/single_ref_type.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/single_ref_type.rb index be843145285..b234793a9f2 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/single_ref_type.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/single_ref_type.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if SingleRefType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SingleRefType" end - end -end + endend diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/special_model_name.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/special_model_name.rb index e4f2aca8c20..6c9428aa5fb 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/special_model_name.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/special_model_name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/tag.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/tag.rb index 9fb4a02e32a..6bb530ee1e1 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/tag.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/test_inline_freeform_additional_properties_request.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/test_inline_freeform_additional_properties_request.rb index a50b9543581..e4175513a6a 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/test_inline_freeform_additional_properties_request.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/test_inline_freeform_additional_properties_request.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/models/user.rb b/samples/client/petstore/ruby-autoload/lib/petstore/models/user.rb index 05bb872a984..b60474f3b86 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/models/user.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/models/user.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-autoload/lib/petstore/version.rb b/samples/client/petstore/ruby-autoload/lib/petstore/version.rb index 1e9e2dbfd9e..b7ac1a5e784 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore/version.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-autoload/petstore.gemspec b/samples/client/petstore/ruby-autoload/petstore.gemspec index d0b9c9d056e..02d3dca2b4a 100644 --- a/samples/client/petstore/ruby-autoload/petstore.gemspec +++ b/samples/client/petstore/ruby-autoload/petstore.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/petstore/ruby-autoload/spec/spec_helper.rb b/samples/client/petstore/ruby-autoload/spec/spec_helper.rb index bef56f59327..9f275730ffb 100644 --- a/samples/client/petstore/ruby-autoload/spec/spec_helper.rb +++ b/samples/client/petstore/ruby-autoload/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/petstore/ruby-faraday/docs/AdditionalPropertiesClass.md b/samples/client/petstore/ruby-faraday/docs/AdditionalPropertiesClass.md index 4e1cdc869f5..90ed515e212 100644 --- a/samples/client/petstore/ruby-faraday/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-faraday/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ instance = Petstore::AdditionalPropertiesClass.new( map_of_map_property: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/AllOfWithSingleRef.md b/samples/client/petstore/ruby-faraday/docs/AllOfWithSingleRef.md index 3c14ac91c4a..3584c4edba4 100644 --- a/samples/client/petstore/ruby-faraday/docs/AllOfWithSingleRef.md +++ b/samples/client/petstore/ruby-faraday/docs/AllOfWithSingleRef.md @@ -17,4 +17,3 @@ instance = Petstore::AllOfWithSingleRef.new( single_ref_type: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Animal.md b/samples/client/petstore/ruby-faraday/docs/Animal.md index 286ce80cb21..e58a9fc4b90 100644 --- a/samples/client/petstore/ruby-faraday/docs/Animal.md +++ b/samples/client/petstore/ruby-faraday/docs/Animal.md @@ -17,4 +17,3 @@ instance = Petstore::Animal.new( color: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ApiResponse.md b/samples/client/petstore/ruby-faraday/docs/ApiResponse.md index be28c4fbb5a..a00ec9a1c89 100644 --- a/samples/client/petstore/ruby-faraday/docs/ApiResponse.md +++ b/samples/client/petstore/ruby-faraday/docs/ApiResponse.md @@ -19,4 +19,3 @@ instance = Petstore::ApiResponse.new( message: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/ruby-faraday/docs/ArrayOfArrayOfNumberOnly.md index eb5b3f43bcd..c13e9e4563e 100644 --- a/samples/client/petstore/ruby-faraday/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-faraday/docs/ArrayOfArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfArrayOfNumberOnly.new( array_array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ArrayOfNumberOnly.md b/samples/client/petstore/ruby-faraday/docs/ArrayOfNumberOnly.md index 18b6c0f6904..9b3051a9d55 100644 --- a/samples/client/petstore/ruby-faraday/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-faraday/docs/ArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfNumberOnly.new( array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ArrayTest.md b/samples/client/petstore/ruby-faraday/docs/ArrayTest.md index 8ee02d169ea..dd297301162 100644 --- a/samples/client/petstore/ruby-faraday/docs/ArrayTest.md +++ b/samples/client/petstore/ruby-faraday/docs/ArrayTest.md @@ -19,4 +19,3 @@ instance = Petstore::ArrayTest.new( array_array_of_model: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Capitalization.md b/samples/client/petstore/ruby-faraday/docs/Capitalization.md index a34377e7976..7e2575d4135 100644 --- a/samples/client/petstore/ruby-faraday/docs/Capitalization.md +++ b/samples/client/petstore/ruby-faraday/docs/Capitalization.md @@ -25,4 +25,3 @@ instance = Petstore::Capitalization.new( att_name: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Cat.md b/samples/client/petstore/ruby-faraday/docs/Cat.md index 67168c77660..cf12a085e9f 100644 --- a/samples/client/petstore/ruby-faraday/docs/Cat.md +++ b/samples/client/petstore/ruby-faraday/docs/Cat.md @@ -15,4 +15,3 @@ instance = Petstore::Cat.new( declawed: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Category.md b/samples/client/petstore/ruby-faraday/docs/Category.md index f92706fd24d..eaf9fec5d4a 100644 --- a/samples/client/petstore/ruby-faraday/docs/Category.md +++ b/samples/client/petstore/ruby-faraday/docs/Category.md @@ -17,4 +17,3 @@ instance = Petstore::Category.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ChildWithNullable.md b/samples/client/petstore/ruby-faraday/docs/ChildWithNullable.md index 3e6ffffc4d3..11573805f86 100644 --- a/samples/client/petstore/ruby-faraday/docs/ChildWithNullable.md +++ b/samples/client/petstore/ruby-faraday/docs/ChildWithNullable.md @@ -15,4 +15,3 @@ instance = Petstore::ChildWithNullable.new( other_property: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ClassModel.md b/samples/client/petstore/ruby-faraday/docs/ClassModel.md index e88b4c0c7b4..64271d8fef4 100644 --- a/samples/client/petstore/ruby-faraday/docs/ClassModel.md +++ b/samples/client/petstore/ruby-faraday/docs/ClassModel.md @@ -15,4 +15,3 @@ instance = Petstore::ClassModel.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Client.md b/samples/client/petstore/ruby-faraday/docs/Client.md index 17778a6b0f2..c04f9baeaf8 100644 --- a/samples/client/petstore/ruby-faraday/docs/Client.md +++ b/samples/client/petstore/ruby-faraday/docs/Client.md @@ -15,4 +15,3 @@ instance = Petstore::Client.new( client: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/DeprecatedObject.md b/samples/client/petstore/ruby-faraday/docs/DeprecatedObject.md index 143be46c411..bfaea6f73b4 100644 --- a/samples/client/petstore/ruby-faraday/docs/DeprecatedObject.md +++ b/samples/client/petstore/ruby-faraday/docs/DeprecatedObject.md @@ -15,4 +15,3 @@ instance = Petstore::DeprecatedObject.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Dog.md b/samples/client/petstore/ruby-faraday/docs/Dog.md index 2649c58c005..7a5c60746fc 100644 --- a/samples/client/petstore/ruby-faraday/docs/Dog.md +++ b/samples/client/petstore/ruby-faraday/docs/Dog.md @@ -15,4 +15,3 @@ instance = Petstore::Dog.new( breed: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/EnumArrays.md b/samples/client/petstore/ruby-faraday/docs/EnumArrays.md index cd3d076ad97..044240f6f68 100644 --- a/samples/client/petstore/ruby-faraday/docs/EnumArrays.md +++ b/samples/client/petstore/ruby-faraday/docs/EnumArrays.md @@ -17,4 +17,3 @@ instance = Petstore::EnumArrays.new( array_enum: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/EnumClass.md b/samples/client/petstore/ruby-faraday/docs/EnumClass.md index 099e6e47ec8..3f539ca669d 100644 --- a/samples/client/petstore/ruby-faraday/docs/EnumClass.md +++ b/samples/client/petstore/ruby-faraday/docs/EnumClass.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::EnumClass.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/EnumTest.md b/samples/client/petstore/ruby-faraday/docs/EnumTest.md index fad21de8ae1..2b54c6a1b1e 100644 --- a/samples/client/petstore/ruby-faraday/docs/EnumTest.md +++ b/samples/client/petstore/ruby-faraday/docs/EnumTest.md @@ -29,4 +29,3 @@ instance = Petstore::EnumTest.new( outer_enum_integer_default_value: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/ruby-faraday/docs/FakeBigDecimalMap200Response.md index f564c4385e8..1f3811a99bc 100644 --- a/samples/client/petstore/ruby-faraday/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/ruby-faraday/docs/FakeBigDecimalMap200Response.md @@ -17,4 +17,3 @@ instance = Petstore::FakeBigDecimalMap200Response.new( some_map: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/File.md b/samples/client/petstore/ruby-faraday/docs/File.md index 5cbc1297909..1f65d0cb0fd 100644 --- a/samples/client/petstore/ruby-faraday/docs/File.md +++ b/samples/client/petstore/ruby-faraday/docs/File.md @@ -15,4 +15,3 @@ instance = Petstore::File.new( source_uri: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/FileSchemaTestClass.md b/samples/client/petstore/ruby-faraday/docs/FileSchemaTestClass.md index d9dbef2348e..d6e73193058 100644 --- a/samples/client/petstore/ruby-faraday/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/ruby-faraday/docs/FileSchemaTestClass.md @@ -17,4 +17,3 @@ instance = Petstore::FileSchemaTestClass.new( files: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Foo.md b/samples/client/petstore/ruby-faraday/docs/Foo.md index 3a826f6ae70..faafe060642 100644 --- a/samples/client/petstore/ruby-faraday/docs/Foo.md +++ b/samples/client/petstore/ruby-faraday/docs/Foo.md @@ -15,4 +15,3 @@ instance = Petstore::Foo.new( bar: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/FooGetDefaultResponse.md b/samples/client/petstore/ruby-faraday/docs/FooGetDefaultResponse.md index 915e059d924..401a2d5dc27 100644 --- a/samples/client/petstore/ruby-faraday/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/ruby-faraday/docs/FooGetDefaultResponse.md @@ -15,4 +15,3 @@ instance = Petstore::FooGetDefaultResponse.new( string: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/FormatTest.md b/samples/client/petstore/ruby-faraday/docs/FormatTest.md index a790ce44835..24e4d6f1995 100644 --- a/samples/client/petstore/ruby-faraday/docs/FormatTest.md +++ b/samples/client/petstore/ruby-faraday/docs/FormatTest.md @@ -45,4 +45,3 @@ instance = Petstore::FormatTest.new( pattern_with_digits_and_delimiter: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/HasOnlyReadOnly.md b/samples/client/petstore/ruby-faraday/docs/HasOnlyReadOnly.md index 6d8dbfd0ad6..9f2f436f010 100644 --- a/samples/client/petstore/ruby-faraday/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/ruby-faraday/docs/HasOnlyReadOnly.md @@ -17,4 +17,3 @@ instance = Petstore::HasOnlyReadOnly.new( foo: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/HealthCheckResult.md b/samples/client/petstore/ruby-faraday/docs/HealthCheckResult.md index 5695ceb488e..33827536e5a 100644 --- a/samples/client/petstore/ruby-faraday/docs/HealthCheckResult.md +++ b/samples/client/petstore/ruby-faraday/docs/HealthCheckResult.md @@ -15,4 +15,3 @@ instance = Petstore::HealthCheckResult.new( nullable_message: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/List.md b/samples/client/petstore/ruby-faraday/docs/List.md index 42467415e72..bb9fbfdd9fd 100644 --- a/samples/client/petstore/ruby-faraday/docs/List.md +++ b/samples/client/petstore/ruby-faraday/docs/List.md @@ -15,4 +15,3 @@ instance = Petstore::List.new( _123_list: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/MapTest.md b/samples/client/petstore/ruby-faraday/docs/MapTest.md index 58bc1327247..9bc874f644c 100644 --- a/samples/client/petstore/ruby-faraday/docs/MapTest.md +++ b/samples/client/petstore/ruby-faraday/docs/MapTest.md @@ -21,4 +21,3 @@ instance = Petstore::MapTest.new( indirect_map: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/ruby-faraday/docs/MixedPropertiesAndAdditionalPropertiesClass.md index c7d57c85ddd..c8e69f36d42 100644 --- a/samples/client/petstore/ruby-faraday/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-faraday/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -19,4 +19,3 @@ instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new( map: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Model200Response.md b/samples/client/petstore/ruby-faraday/docs/Model200Response.md index 2eee7ded759..7cfa65aa7c9 100644 --- a/samples/client/petstore/ruby-faraday/docs/Model200Response.md +++ b/samples/client/petstore/ruby-faraday/docs/Model200Response.md @@ -17,4 +17,3 @@ instance = Petstore::Model200Response.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ModelReturn.md b/samples/client/petstore/ruby-faraday/docs/ModelReturn.md index bbcb5307f4b..37a5e5a0c8b 100644 --- a/samples/client/petstore/ruby-faraday/docs/ModelReturn.md +++ b/samples/client/petstore/ruby-faraday/docs/ModelReturn.md @@ -15,4 +15,3 @@ instance = Petstore::ModelReturn.new( _return: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Name.md b/samples/client/petstore/ruby-faraday/docs/Name.md index 9ff05587cbd..a91968fcd30 100644 --- a/samples/client/petstore/ruby-faraday/docs/Name.md +++ b/samples/client/petstore/ruby-faraday/docs/Name.md @@ -21,4 +21,3 @@ instance = Petstore::Name.new( _123_number: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/NullableClass.md b/samples/client/petstore/ruby-faraday/docs/NullableClass.md index 761bfd80732..df2aefc1b8a 100644 --- a/samples/client/petstore/ruby-faraday/docs/NullableClass.md +++ b/samples/client/petstore/ruby-faraday/docs/NullableClass.md @@ -37,4 +37,3 @@ instance = Petstore::NullableClass.new( object_items_nullable: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/NumberOnly.md b/samples/client/petstore/ruby-faraday/docs/NumberOnly.md index 540e736c8a5..2d2fba92c21 100644 --- a/samples/client/petstore/ruby-faraday/docs/NumberOnly.md +++ b/samples/client/petstore/ruby-faraday/docs/NumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::NumberOnly.new( just_number: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/ruby-faraday/docs/ObjectWithDeprecatedFields.md index 6658759209b..95957818b78 100644 --- a/samples/client/petstore/ruby-faraday/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/ruby-faraday/docs/ObjectWithDeprecatedFields.md @@ -21,4 +21,3 @@ instance = Petstore::ObjectWithDeprecatedFields.new( bars: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Order.md b/samples/client/petstore/ruby-faraday/docs/Order.md index a3fd5513806..9ffc4b32307 100644 --- a/samples/client/petstore/ruby-faraday/docs/Order.md +++ b/samples/client/petstore/ruby-faraday/docs/Order.md @@ -25,4 +25,3 @@ instance = Petstore::Order.new( complete: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterComposite.md b/samples/client/petstore/ruby-faraday/docs/OuterComposite.md index 03f9386e5f1..f1308265d7a 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterComposite.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterComposite.md @@ -19,4 +19,3 @@ instance = Petstore::OuterComposite.new( my_boolean: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterEnum.md b/samples/client/petstore/ruby-faraday/docs/OuterEnum.md index 9c81b44ae77..9a48108fc7a 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterEnum.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterEnum.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnum.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterEnumDefaultValue.md b/samples/client/petstore/ruby-faraday/docs/OuterEnumDefaultValue.md index be1f48a846f..348c3738a41 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterEnumInteger.md b/samples/client/petstore/ruby-faraday/docs/OuterEnumInteger.md index 80f46c1e0d0..c45063111fa 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterEnumInteger.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumInteger.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/ruby-faraday/docs/OuterEnumIntegerDefaultValue.md index 38fbfd638ac..1ffa188c051 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumIntegerDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/OuterObjectWithEnumProperty.md b/samples/client/petstore/ruby-faraday/docs/OuterObjectWithEnumProperty.md index dfd9de4596e..2588d07025c 100644 --- a/samples/client/petstore/ruby-faraday/docs/OuterObjectWithEnumProperty.md +++ b/samples/client/petstore/ruby-faraday/docs/OuterObjectWithEnumProperty.md @@ -15,4 +15,3 @@ instance = Petstore::OuterObjectWithEnumProperty.new( value: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ParentWithNullable.md b/samples/client/petstore/ruby-faraday/docs/ParentWithNullable.md index 0c77bf999dc..8b766109f24 100644 --- a/samples/client/petstore/ruby-faraday/docs/ParentWithNullable.md +++ b/samples/client/petstore/ruby-faraday/docs/ParentWithNullable.md @@ -17,4 +17,3 @@ instance = Petstore::ParentWithNullable.new( nullable_property: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Pet.md b/samples/client/petstore/ruby-faraday/docs/Pet.md index 13f34d7d167..78dda076209 100644 --- a/samples/client/petstore/ruby-faraday/docs/Pet.md +++ b/samples/client/petstore/ruby-faraday/docs/Pet.md @@ -25,4 +25,3 @@ instance = Petstore::Pet.new( status: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/ReadOnlyFirst.md b/samples/client/petstore/ruby-faraday/docs/ReadOnlyFirst.md index bed355e261c..d3ff74c7545 100644 --- a/samples/client/petstore/ruby-faraday/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/ruby-faraday/docs/ReadOnlyFirst.md @@ -17,4 +17,3 @@ instance = Petstore::ReadOnlyFirst.new( baz: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/SingleRefType.md b/samples/client/petstore/ruby-faraday/docs/SingleRefType.md index 1f997e7bf8d..6240cca7111 100644 --- a/samples/client/petstore/ruby-faraday/docs/SingleRefType.md +++ b/samples/client/petstore/ruby-faraday/docs/SingleRefType.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::SingleRefType.new() ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/SpecialModelName.md b/samples/client/petstore/ruby-faraday/docs/SpecialModelName.md index 6a5169191d3..e072868445c 100644 --- a/samples/client/petstore/ruby-faraday/docs/SpecialModelName.md +++ b/samples/client/petstore/ruby-faraday/docs/SpecialModelName.md @@ -15,4 +15,3 @@ instance = Petstore::SpecialModelName.new( special_property_name: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/Tag.md b/samples/client/petstore/ruby-faraday/docs/Tag.md index f29ee058b01..197129df058 100644 --- a/samples/client/petstore/ruby-faraday/docs/Tag.md +++ b/samples/client/petstore/ruby-faraday/docs/Tag.md @@ -17,4 +17,3 @@ instance = Petstore::Tag.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/ruby-faraday/docs/TestInlineFreeformAdditionalPropertiesRequest.md index c976800c181..4a12a9dba00 100644 --- a/samples/client/petstore/ruby-faraday/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/ruby-faraday/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -15,4 +15,3 @@ instance = Petstore::TestInlineFreeformAdditionalPropertiesRequest.new( some_property: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/docs/User.md b/samples/client/petstore/ruby-faraday/docs/User.md index 1dab27adba2..dd7c1671859 100644 --- a/samples/client/petstore/ruby-faraday/docs/User.md +++ b/samples/client/petstore/ruby-faraday/docs/User.md @@ -29,4 +29,3 @@ instance = Petstore::User.new( user_status: null ) ``` - diff --git a/samples/client/petstore/ruby-faraday/lib/petstore.rb b/samples/client/petstore/ruby-faraday/lib/petstore.rb index 0f86582b33a..933f72fbc42 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/another_fake_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/another_fake_api.rb index 2cd28463257..b0b3001ed55 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/another_fake_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/another_fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/default_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/default_api.rb index 69b648b1f92..fd81f0e8169 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/default_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/default_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_api.rb index 6cd08765cc9..7208e54188f 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_classname_tags123_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_classname_tags123_api.rb index defb5d7dc94..80dbc48cb0a 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_classname_tags123_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/fake_classname_tags123_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/pet_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/pet_api.rb index 6925a879e4c..bfd1942d3e2 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/pet_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/pet_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/store_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/store_api.rb index 30dceabe993..0e3d34fdf01 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/store_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/store_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb index 059d0d45b0b..8d85a39bce5 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api/user_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api_client.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api_client.rb index 3547949fb27..cfb9d54fef1 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api_client.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -245,7 +244,6 @@ module Petstore end end end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/api_error.rb b/samples/client/petstore/ruby-faraday/lib/petstore/api_error.rb index 03b8f10b4f0..90e1aa0ea22 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/api_error.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/configuration.rb b/samples/client/petstore/ruby-faraday/lib/petstore/configuration.rb index a1104fc4f20..b423ea3050f 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/configuration.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore @@ -150,7 +149,6 @@ module Petstore # https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders attr_accessor :params_encoder - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/additional_properties_class.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/additional_properties_class.rb index 08181524c0a..c272a95715e 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/additional_properties_class.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/all_of_with_single_ref.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/all_of_with_single_ref.rb index c8a82eaacc1..f849064886b 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/all_of_with_single_ref.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/all_of_with_single_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/animal.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/animal.rb index e0f55e9637d..d2572402445 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/animal.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/animal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/api_response.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/api_response.rb index 54e3d135122..fba838ec89d 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/api_response.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/api_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_array_of_number_only.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_array_of_number_only.rb index e45247f6ea2..51264f41e45 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_array_of_number_only.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_number_only.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_number_only.rb index 55934845105..48064064fbd 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_number_only.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_test.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_test.rb index a88e01c3bdc..0995478313d 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/array_test.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/array_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/capitalization.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/capitalization.rb index 82692d85039..056e8e5fe97 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/capitalization.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/capitalization.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/cat.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/cat.rb index 64c6938b0aa..9e6bbcc362c 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/cat.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/cat.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/category.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/category.rb index e44364ee02e..b65bb4d3a3a 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/category.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/child_with_nullable.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/child_with_nullable.rb index 6c2899b24ed..cdae47501e2 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/child_with_nullable.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/child_with_nullable.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -241,7 +240,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/class_model.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/class_model.rb index 7c209246e3b..4f16d4da00a 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/class_model.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/class_model.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/client.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/client.rb index de0685d0b04..237af3e41df 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/client.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/deprecated_object.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/deprecated_object.rb index f2e7f9ecf08..a3d055b8e6f 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/deprecated_object.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/deprecated_object.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/dog.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/dog.rb index 6b463d10e2a..48bc263d35f 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/dog.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/dog.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_arrays.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_arrays.rb index 9b6e43025b5..384df658efc 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_arrays.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_arrays.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_class.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_class.rb index a7b08629698..8b842fc79cd 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_class.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if EnumClass.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #EnumClass" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_test.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_test.rb index 6313d9b94be..a2941e29df5 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_test.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/enum_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/fake_big_decimal_map200_response.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/fake_big_decimal_map200_response.rb index db2e36a025b..13764e427d1 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/fake_big_decimal_map200_response.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/fake_big_decimal_map200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/file.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/file.rb index 8edc5de06b6..c69536d2318 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/file.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/file.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/file_schema_test_class.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/file_schema_test_class.rb index e99905069f8..d1224225bb0 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/file_schema_test_class.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/file_schema_test_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/foo.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/foo.rb index 5bb64a98933..7fd66140346 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/foo.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/foo.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/foo_get_default_response.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/foo_get_default_response.rb index dd618bd66f3..ce96c3e73b7 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/foo_get_default_response.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/foo_get_default_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/format_test.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/format_test.rb index 7f85817a5b9..f6f37139653 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/format_test.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/format_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/has_only_read_only.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/has_only_read_only.rb index 9b61c9ce75e..1c6bdf4a7db 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/has_only_read_only.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/has_only_read_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/health_check_result.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/health_check_result.rb index 43d4bf247e8..6808e8bd875 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/health_check_result.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/health_check_result.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/list.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/list.rb index 7e00018ae11..0fa355d72ad 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/list.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/list.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/map_test.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/map_test.rb index 139752730bd..51714a23a49 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/map_test.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/map_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/mixed_properties_and_additional_properties_class.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/mixed_properties_and_additional_properties_class.rb index b7703c11d63..8130296d405 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/mixed_properties_and_additional_properties_class.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/mixed_properties_and_additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/model200_response.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/model200_response.rb index b0f31909918..843358f0cb9 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/model200_response.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/model200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/model_return.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/model_return.rb index a1b2791519b..74c53e8453e 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/model_return.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/model_return.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/name.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/name.rb index 05739286c7c..ecb7b668ac4 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/name.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/nullable_class.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/nullable_class.rb index 2c04a3c31ea..69d27bd530a 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/nullable_class.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/nullable_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/number_only.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/number_only.rb index d03d015a9c5..8a91a3a9037 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/number_only.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/object_with_deprecated_fields.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/object_with_deprecated_fields.rb index c02ef6bd20c..2e638884475 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/object_with_deprecated_fields.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/object_with_deprecated_fields.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/order.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/order.rb index e116c53034b..11bee206b83 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/order.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/order.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_composite.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_composite.rb index a4a970788aa..bcf50fa09d3 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_composite.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_composite.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum.rb index 38254bd77b6..e9859f39c9e 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnum" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_default_value.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_default_value.rb index 74e0dbd8433..ed092c06034 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_default_value.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer.rb index aafc9d66979..dcdd8de6411 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumInteger.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumInteger" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer_default_value.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer_default_value.rb index 08e22c09051..fb5899a81d9 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer_default_value.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_enum_integer_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumIntegerDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumIntegerDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_object_with_enum_property.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_object_with_enum_property.rb index 107c1ead012..15b15c7154e 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_object_with_enum_property.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/outer_object_with_enum_property.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/parent_with_nullable.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/parent_with_nullable.rb index f4ded8f1490..612a5a0a5c7 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/parent_with_nullable.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/parent_with_nullable.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -257,7 +256,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/pet.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/pet.rb index f3e6eb07f60..fc59b5e0901 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/pet.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/read_only_first.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/read_only_first.rb index 1cf4d334b36..c022a40d188 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/read_only_first.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/read_only_first.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/single_ref_type.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/single_ref_type.rb index be843145285..b234793a9f2 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/single_ref_type.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/single_ref_type.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if SingleRefType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SingleRefType" end - end -end + endend diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/special_model_name.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/special_model_name.rb index e4f2aca8c20..6c9428aa5fb 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/special_model_name.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/special_model_name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/tag.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/tag.rb index 9fb4a02e32a..6bb530ee1e1 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/tag.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/test_inline_freeform_additional_properties_request.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/test_inline_freeform_additional_properties_request.rb index a50b9543581..e4175513a6a 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/test_inline_freeform_additional_properties_request.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/test_inline_freeform_additional_properties_request.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/models/user.rb b/samples/client/petstore/ruby-faraday/lib/petstore/models/user.rb index 05bb872a984..b60474f3b86 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/models/user.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/models/user.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-faraday/lib/petstore/version.rb b/samples/client/petstore/ruby-faraday/lib/petstore/version.rb index 1e9e2dbfd9e..b7ac1a5e784 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore/version.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-faraday/petstore.gemspec b/samples/client/petstore/ruby-faraday/petstore.gemspec index 75cae399884..d1e0efb96fe 100644 --- a/samples/client/petstore/ruby-faraday/petstore.gemspec +++ b/samples/client/petstore/ruby-faraday/petstore.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/petstore/ruby-faraday/spec/spec_helper.rb b/samples/client/petstore/ruby-faraday/spec/spec_helper.rb index bef56f59327..9f275730ffb 100644 --- a/samples/client/petstore/ruby-faraday/spec/spec_helper.rb +++ b/samples/client/petstore/ruby-faraday/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/petstore/ruby-httpx/docs/AdditionalPropertiesClass.md b/samples/client/petstore/ruby-httpx/docs/AdditionalPropertiesClass.md index 4e1cdc869f5..90ed515e212 100644 --- a/samples/client/petstore/ruby-httpx/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-httpx/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ instance = Petstore::AdditionalPropertiesClass.new( map_of_map_property: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/AllOfWithSingleRef.md b/samples/client/petstore/ruby-httpx/docs/AllOfWithSingleRef.md index 3c14ac91c4a..3584c4edba4 100644 --- a/samples/client/petstore/ruby-httpx/docs/AllOfWithSingleRef.md +++ b/samples/client/petstore/ruby-httpx/docs/AllOfWithSingleRef.md @@ -17,4 +17,3 @@ instance = Petstore::AllOfWithSingleRef.new( single_ref_type: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Animal.md b/samples/client/petstore/ruby-httpx/docs/Animal.md index 286ce80cb21..e58a9fc4b90 100644 --- a/samples/client/petstore/ruby-httpx/docs/Animal.md +++ b/samples/client/petstore/ruby-httpx/docs/Animal.md @@ -17,4 +17,3 @@ instance = Petstore::Animal.new( color: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ApiResponse.md b/samples/client/petstore/ruby-httpx/docs/ApiResponse.md index be28c4fbb5a..a00ec9a1c89 100644 --- a/samples/client/petstore/ruby-httpx/docs/ApiResponse.md +++ b/samples/client/petstore/ruby-httpx/docs/ApiResponse.md @@ -19,4 +19,3 @@ instance = Petstore::ApiResponse.new( message: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/ruby-httpx/docs/ArrayOfArrayOfNumberOnly.md index eb5b3f43bcd..c13e9e4563e 100644 --- a/samples/client/petstore/ruby-httpx/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-httpx/docs/ArrayOfArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfArrayOfNumberOnly.new( array_array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ArrayOfNumberOnly.md b/samples/client/petstore/ruby-httpx/docs/ArrayOfNumberOnly.md index 18b6c0f6904..9b3051a9d55 100644 --- a/samples/client/petstore/ruby-httpx/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby-httpx/docs/ArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfNumberOnly.new( array_number: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ArrayTest.md b/samples/client/petstore/ruby-httpx/docs/ArrayTest.md index 8ee02d169ea..dd297301162 100644 --- a/samples/client/petstore/ruby-httpx/docs/ArrayTest.md +++ b/samples/client/petstore/ruby-httpx/docs/ArrayTest.md @@ -19,4 +19,3 @@ instance = Petstore::ArrayTest.new( array_array_of_model: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Capitalization.md b/samples/client/petstore/ruby-httpx/docs/Capitalization.md index a34377e7976..7e2575d4135 100644 --- a/samples/client/petstore/ruby-httpx/docs/Capitalization.md +++ b/samples/client/petstore/ruby-httpx/docs/Capitalization.md @@ -25,4 +25,3 @@ instance = Petstore::Capitalization.new( att_name: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Cat.md b/samples/client/petstore/ruby-httpx/docs/Cat.md index 67168c77660..cf12a085e9f 100644 --- a/samples/client/petstore/ruby-httpx/docs/Cat.md +++ b/samples/client/petstore/ruby-httpx/docs/Cat.md @@ -15,4 +15,3 @@ instance = Petstore::Cat.new( declawed: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Category.md b/samples/client/petstore/ruby-httpx/docs/Category.md index f92706fd24d..eaf9fec5d4a 100644 --- a/samples/client/petstore/ruby-httpx/docs/Category.md +++ b/samples/client/petstore/ruby-httpx/docs/Category.md @@ -17,4 +17,3 @@ instance = Petstore::Category.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ClassModel.md b/samples/client/petstore/ruby-httpx/docs/ClassModel.md index e88b4c0c7b4..64271d8fef4 100644 --- a/samples/client/petstore/ruby-httpx/docs/ClassModel.md +++ b/samples/client/petstore/ruby-httpx/docs/ClassModel.md @@ -15,4 +15,3 @@ instance = Petstore::ClassModel.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Client.md b/samples/client/petstore/ruby-httpx/docs/Client.md index 17778a6b0f2..c04f9baeaf8 100644 --- a/samples/client/petstore/ruby-httpx/docs/Client.md +++ b/samples/client/petstore/ruby-httpx/docs/Client.md @@ -15,4 +15,3 @@ instance = Petstore::Client.new( client: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Cow.md b/samples/client/petstore/ruby-httpx/docs/Cow.md index 6fa7084b8a4..a693e09b178 100644 --- a/samples/client/petstore/ruby-httpx/docs/Cow.md +++ b/samples/client/petstore/ruby-httpx/docs/Cow.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::Cow.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/DeprecatedObject.md b/samples/client/petstore/ruby-httpx/docs/DeprecatedObject.md index 143be46c411..bfaea6f73b4 100644 --- a/samples/client/petstore/ruby-httpx/docs/DeprecatedObject.md +++ b/samples/client/petstore/ruby-httpx/docs/DeprecatedObject.md @@ -15,4 +15,3 @@ instance = Petstore::DeprecatedObject.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Dog.md b/samples/client/petstore/ruby-httpx/docs/Dog.md index 2649c58c005..7a5c60746fc 100644 --- a/samples/client/petstore/ruby-httpx/docs/Dog.md +++ b/samples/client/petstore/ruby-httpx/docs/Dog.md @@ -15,4 +15,3 @@ instance = Petstore::Dog.new( breed: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/EnumArrays.md b/samples/client/petstore/ruby-httpx/docs/EnumArrays.md index cd3d076ad97..044240f6f68 100644 --- a/samples/client/petstore/ruby-httpx/docs/EnumArrays.md +++ b/samples/client/petstore/ruby-httpx/docs/EnumArrays.md @@ -17,4 +17,3 @@ instance = Petstore::EnumArrays.new( array_enum: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/EnumClass.md b/samples/client/petstore/ruby-httpx/docs/EnumClass.md index 099e6e47ec8..3f539ca669d 100644 --- a/samples/client/petstore/ruby-httpx/docs/EnumClass.md +++ b/samples/client/petstore/ruby-httpx/docs/EnumClass.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::EnumClass.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/EnumTest.md b/samples/client/petstore/ruby-httpx/docs/EnumTest.md index fad21de8ae1..2b54c6a1b1e 100644 --- a/samples/client/petstore/ruby-httpx/docs/EnumTest.md +++ b/samples/client/petstore/ruby-httpx/docs/EnumTest.md @@ -29,4 +29,3 @@ instance = Petstore::EnumTest.new( outer_enum_integer_default_value: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/ruby-httpx/docs/FakeBigDecimalMap200Response.md index f564c4385e8..1f3811a99bc 100644 --- a/samples/client/petstore/ruby-httpx/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/ruby-httpx/docs/FakeBigDecimalMap200Response.md @@ -17,4 +17,3 @@ instance = Petstore::FakeBigDecimalMap200Response.new( some_map: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/File.md b/samples/client/petstore/ruby-httpx/docs/File.md index 5cbc1297909..1f65d0cb0fd 100644 --- a/samples/client/petstore/ruby-httpx/docs/File.md +++ b/samples/client/petstore/ruby-httpx/docs/File.md @@ -15,4 +15,3 @@ instance = Petstore::File.new( source_uri: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/FileSchemaTestClass.md b/samples/client/petstore/ruby-httpx/docs/FileSchemaTestClass.md index d9dbef2348e..d6e73193058 100644 --- a/samples/client/petstore/ruby-httpx/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/ruby-httpx/docs/FileSchemaTestClass.md @@ -17,4 +17,3 @@ instance = Petstore::FileSchemaTestClass.new( files: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Foo.md b/samples/client/petstore/ruby-httpx/docs/Foo.md index 3a826f6ae70..faafe060642 100644 --- a/samples/client/petstore/ruby-httpx/docs/Foo.md +++ b/samples/client/petstore/ruby-httpx/docs/Foo.md @@ -15,4 +15,3 @@ instance = Petstore::Foo.new( bar: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/FooGetDefaultResponse.md b/samples/client/petstore/ruby-httpx/docs/FooGetDefaultResponse.md index 915e059d924..401a2d5dc27 100644 --- a/samples/client/petstore/ruby-httpx/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/ruby-httpx/docs/FooGetDefaultResponse.md @@ -15,4 +15,3 @@ instance = Petstore::FooGetDefaultResponse.new( string: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/FormatTest.md b/samples/client/petstore/ruby-httpx/docs/FormatTest.md index a790ce44835..24e4d6f1995 100644 --- a/samples/client/petstore/ruby-httpx/docs/FormatTest.md +++ b/samples/client/petstore/ruby-httpx/docs/FormatTest.md @@ -45,4 +45,3 @@ instance = Petstore::FormatTest.new( pattern_with_digits_and_delimiter: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/HasOnlyReadOnly.md b/samples/client/petstore/ruby-httpx/docs/HasOnlyReadOnly.md index 6d8dbfd0ad6..9f2f436f010 100644 --- a/samples/client/petstore/ruby-httpx/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/ruby-httpx/docs/HasOnlyReadOnly.md @@ -17,4 +17,3 @@ instance = Petstore::HasOnlyReadOnly.new( foo: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/HealthCheckResult.md b/samples/client/petstore/ruby-httpx/docs/HealthCheckResult.md index 5695ceb488e..33827536e5a 100644 --- a/samples/client/petstore/ruby-httpx/docs/HealthCheckResult.md +++ b/samples/client/petstore/ruby-httpx/docs/HealthCheckResult.md @@ -15,4 +15,3 @@ instance = Petstore::HealthCheckResult.new( nullable_message: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/List.md b/samples/client/petstore/ruby-httpx/docs/List.md index 42467415e72..bb9fbfdd9fd 100644 --- a/samples/client/petstore/ruby-httpx/docs/List.md +++ b/samples/client/petstore/ruby-httpx/docs/List.md @@ -15,4 +15,3 @@ instance = Petstore::List.new( _123_list: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/MamalWithEnum.md b/samples/client/petstore/ruby-httpx/docs/MamalWithEnum.md index 37b9252a2c8..aef3f618e32 100644 --- a/samples/client/petstore/ruby-httpx/docs/MamalWithEnum.md +++ b/samples/client/petstore/ruby-httpx/docs/MamalWithEnum.md @@ -44,4 +44,3 @@ Petstore::MamalWithEnum.build(data_that_doesnt_match) - `Cow` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby-httpx/docs/Mammal.md b/samples/client/petstore/ruby-httpx/docs/Mammal.md index 399834f63d3..7e900813d5c 100644 --- a/samples/client/petstore/ruby-httpx/docs/Mammal.md +++ b/samples/client/petstore/ruby-httpx/docs/Mammal.md @@ -60,4 +60,3 @@ Petstore::Mammal.build(data_that_doesnt_match) - `Whale` - `Zebra` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby-httpx/docs/MammalAnyof.md b/samples/client/petstore/ruby-httpx/docs/MammalAnyof.md index bd21a482f1a..11ce471c802 100644 --- a/samples/client/petstore/ruby-httpx/docs/MammalAnyof.md +++ b/samples/client/petstore/ruby-httpx/docs/MammalAnyof.md @@ -21,4 +21,3 @@ instance = Petstore::MammalAnyof.new( type: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/MammalWithoutDiscriminator.md b/samples/client/petstore/ruby-httpx/docs/MammalWithoutDiscriminator.md index d6849503044..6d7462e72eb 100644 --- a/samples/client/petstore/ruby-httpx/docs/MammalWithoutDiscriminator.md +++ b/samples/client/petstore/ruby-httpx/docs/MammalWithoutDiscriminator.md @@ -46,4 +46,3 @@ Petstore::MammalWithoutDiscriminator.build(data_that_doesnt_match) - `Whale` - `Zebra` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby-httpx/docs/MapTest.md b/samples/client/petstore/ruby-httpx/docs/MapTest.md index 58bc1327247..9bc874f644c 100644 --- a/samples/client/petstore/ruby-httpx/docs/MapTest.md +++ b/samples/client/petstore/ruby-httpx/docs/MapTest.md @@ -21,4 +21,3 @@ instance = Petstore::MapTest.new( indirect_map: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/ruby-httpx/docs/MixedPropertiesAndAdditionalPropertiesClass.md index c7d57c85ddd..c8e69f36d42 100644 --- a/samples/client/petstore/ruby-httpx/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby-httpx/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -19,4 +19,3 @@ instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new( map: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Model200Response.md b/samples/client/petstore/ruby-httpx/docs/Model200Response.md index 2eee7ded759..7cfa65aa7c9 100644 --- a/samples/client/petstore/ruby-httpx/docs/Model200Response.md +++ b/samples/client/petstore/ruby-httpx/docs/Model200Response.md @@ -17,4 +17,3 @@ instance = Petstore::Model200Response.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ModelReturn.md b/samples/client/petstore/ruby-httpx/docs/ModelReturn.md index bbcb5307f4b..37a5e5a0c8b 100644 --- a/samples/client/petstore/ruby-httpx/docs/ModelReturn.md +++ b/samples/client/petstore/ruby-httpx/docs/ModelReturn.md @@ -15,4 +15,3 @@ instance = Petstore::ModelReturn.new( _return: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Name.md b/samples/client/petstore/ruby-httpx/docs/Name.md index 9ff05587cbd..a91968fcd30 100644 --- a/samples/client/petstore/ruby-httpx/docs/Name.md +++ b/samples/client/petstore/ruby-httpx/docs/Name.md @@ -21,4 +21,3 @@ instance = Petstore::Name.new( _123_number: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/NullableClass.md b/samples/client/petstore/ruby-httpx/docs/NullableClass.md index 761bfd80732..df2aefc1b8a 100644 --- a/samples/client/petstore/ruby-httpx/docs/NullableClass.md +++ b/samples/client/petstore/ruby-httpx/docs/NullableClass.md @@ -37,4 +37,3 @@ instance = Petstore::NullableClass.new( object_items_nullable: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/NumberOnly.md b/samples/client/petstore/ruby-httpx/docs/NumberOnly.md index 540e736c8a5..2d2fba92c21 100644 --- a/samples/client/petstore/ruby-httpx/docs/NumberOnly.md +++ b/samples/client/petstore/ruby-httpx/docs/NumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::NumberOnly.new( just_number: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/ruby-httpx/docs/ObjectWithDeprecatedFields.md index 6658759209b..95957818b78 100644 --- a/samples/client/petstore/ruby-httpx/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/ruby-httpx/docs/ObjectWithDeprecatedFields.md @@ -21,4 +21,3 @@ instance = Petstore::ObjectWithDeprecatedFields.new( bars: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Order.md b/samples/client/petstore/ruby-httpx/docs/Order.md index a3fd5513806..9ffc4b32307 100644 --- a/samples/client/petstore/ruby-httpx/docs/Order.md +++ b/samples/client/petstore/ruby-httpx/docs/Order.md @@ -25,4 +25,3 @@ instance = Petstore::Order.new( complete: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterComposite.md b/samples/client/petstore/ruby-httpx/docs/OuterComposite.md index 03f9386e5f1..f1308265d7a 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterComposite.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterComposite.md @@ -19,4 +19,3 @@ instance = Petstore::OuterComposite.new( my_boolean: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterEnum.md b/samples/client/petstore/ruby-httpx/docs/OuterEnum.md index 9c81b44ae77..9a48108fc7a 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterEnum.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterEnum.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnum.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterEnumDefaultValue.md b/samples/client/petstore/ruby-httpx/docs/OuterEnumDefaultValue.md index be1f48a846f..348c3738a41 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterEnumInteger.md b/samples/client/petstore/ruby-httpx/docs/OuterEnumInteger.md index 80f46c1e0d0..c45063111fa 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterEnumInteger.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumInteger.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/ruby-httpx/docs/OuterEnumIntegerDefaultValue.md index 38fbfd638ac..1ffa188c051 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumIntegerDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/OuterObjectWithEnumProperty.md b/samples/client/petstore/ruby-httpx/docs/OuterObjectWithEnumProperty.md index dfd9de4596e..2588d07025c 100644 --- a/samples/client/petstore/ruby-httpx/docs/OuterObjectWithEnumProperty.md +++ b/samples/client/petstore/ruby-httpx/docs/OuterObjectWithEnumProperty.md @@ -15,4 +15,3 @@ instance = Petstore::OuterObjectWithEnumProperty.new( value: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Pet.md b/samples/client/petstore/ruby-httpx/docs/Pet.md index 13f34d7d167..78dda076209 100644 --- a/samples/client/petstore/ruby-httpx/docs/Pet.md +++ b/samples/client/petstore/ruby-httpx/docs/Pet.md @@ -25,4 +25,3 @@ instance = Petstore::Pet.new( status: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/PropertyNameMapping.md b/samples/client/petstore/ruby-httpx/docs/PropertyNameMapping.md index 91cd04c8687..adcab8865e0 100644 --- a/samples/client/petstore/ruby-httpx/docs/PropertyNameMapping.md +++ b/samples/client/petstore/ruby-httpx/docs/PropertyNameMapping.md @@ -21,4 +21,3 @@ instance = Petstore::PropertyNameMapping.new( type_: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/ReadOnlyFirst.md b/samples/client/petstore/ruby-httpx/docs/ReadOnlyFirst.md index bed355e261c..d3ff74c7545 100644 --- a/samples/client/petstore/ruby-httpx/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/ruby-httpx/docs/ReadOnlyFirst.md @@ -17,4 +17,3 @@ instance = Petstore::ReadOnlyFirst.new( baz: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/SingleRefType.md b/samples/client/petstore/ruby-httpx/docs/SingleRefType.md index 1f997e7bf8d..6240cca7111 100644 --- a/samples/client/petstore/ruby-httpx/docs/SingleRefType.md +++ b/samples/client/petstore/ruby-httpx/docs/SingleRefType.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::SingleRefType.new() ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/SpecialModelName.md b/samples/client/petstore/ruby-httpx/docs/SpecialModelName.md index 6a5169191d3..e072868445c 100644 --- a/samples/client/petstore/ruby-httpx/docs/SpecialModelName.md +++ b/samples/client/petstore/ruby-httpx/docs/SpecialModelName.md @@ -15,4 +15,3 @@ instance = Petstore::SpecialModelName.new( special_property_name: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Tag.md b/samples/client/petstore/ruby-httpx/docs/Tag.md index f29ee058b01..197129df058 100644 --- a/samples/client/petstore/ruby-httpx/docs/Tag.md +++ b/samples/client/petstore/ruby-httpx/docs/Tag.md @@ -17,4 +17,3 @@ instance = Petstore::Tag.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/ruby-httpx/docs/TestInlineFreeformAdditionalPropertiesRequest.md index c976800c181..4a12a9dba00 100644 --- a/samples/client/petstore/ruby-httpx/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/ruby-httpx/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -15,4 +15,3 @@ instance = Petstore::TestInlineFreeformAdditionalPropertiesRequest.new( some_property: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/User.md b/samples/client/petstore/ruby-httpx/docs/User.md index 1dab27adba2..dd7c1671859 100644 --- a/samples/client/petstore/ruby-httpx/docs/User.md +++ b/samples/client/petstore/ruby-httpx/docs/User.md @@ -29,4 +29,3 @@ instance = Petstore::User.new( user_status: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Whale.md b/samples/client/petstore/ruby-httpx/docs/Whale.md index 6cee971d867..917a32cacc6 100644 --- a/samples/client/petstore/ruby-httpx/docs/Whale.md +++ b/samples/client/petstore/ruby-httpx/docs/Whale.md @@ -19,4 +19,3 @@ instance = Petstore::Whale.new( classname: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/docs/Zebra.md b/samples/client/petstore/ruby-httpx/docs/Zebra.md index 24848fc8718..a7a9476e008 100644 --- a/samples/client/petstore/ruby-httpx/docs/Zebra.md +++ b/samples/client/petstore/ruby-httpx/docs/Zebra.md @@ -17,4 +17,3 @@ instance = Petstore::Zebra.new( classname: null ) ``` - diff --git a/samples/client/petstore/ruby-httpx/lib/petstore.rb b/samples/client/petstore/ruby-httpx/lib/petstore.rb index 9e223c8506f..4df0b4386a4 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/another_fake_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/another_fake_api.rb index 2cd28463257..b0b3001ed55 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/another_fake_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/another_fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/default_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/default_api.rb index 69b648b1f92..fd81f0e8169 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/default_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/default_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_api.rb index c8462a70a1c..e6ebf176e58 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_classname_tags123_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_classname_tags123_api.rb index defb5d7dc94..80dbc48cb0a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_classname_tags123_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/fake_classname_tags123_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/pet_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/pet_api.rb index 6925a879e4c..bfd1942d3e2 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/pet_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/pet_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/store_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/store_api.rb index 30dceabe993..0e3d34fdf01 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/store_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/store_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api/user_api.rb index 059d0d45b0b..8d85a39bce5 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api/user_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api_client.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api_client.rb index 6db9ea69727..f99c450127c 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api_client.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -178,7 +177,6 @@ module Petstore @session = session end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/api_error.rb b/samples/client/petstore/ruby-httpx/lib/petstore/api_error.rb index 03b8f10b4f0..90e1aa0ea22 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/api_error.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/configuration.rb b/samples/client/petstore/ruby-httpx/lib/petstore/configuration.rb index 9f3197b4ea5..91abfb39291 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/configuration.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore @@ -121,7 +120,6 @@ module Petstore # @return [Hash{Symbol => Object}, nil] attr_accessor :proxy - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/additional_properties_class.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/additional_properties_class.rb index 08181524c0a..c272a95715e 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/additional_properties_class.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/all_of_with_single_ref.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/all_of_with_single_ref.rb index c8a82eaacc1..f849064886b 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/all_of_with_single_ref.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/all_of_with_single_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/animal.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/animal.rb index e0f55e9637d..d2572402445 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/animal.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/animal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/api_response.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/api_response.rb index 54e3d135122..fba838ec89d 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/api_response.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/api_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_array_of_number_only.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_array_of_number_only.rb index e45247f6ea2..51264f41e45 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_array_of_number_only.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_number_only.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_number_only.rb index 55934845105..48064064fbd 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_number_only.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_test.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_test.rb index a88e01c3bdc..0995478313d 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/array_test.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/array_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/capitalization.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/capitalization.rb index 82692d85039..056e8e5fe97 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/capitalization.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/capitalization.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/cat.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/cat.rb index 64c6938b0aa..9e6bbcc362c 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/cat.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/cat.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/category.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/category.rb index e44364ee02e..b65bb4d3a3a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/category.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/class_model.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/class_model.rb index 7c209246e3b..4f16d4da00a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/class_model.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/class_model.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/client.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/client.rb index de0685d0b04..237af3e41df 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/client.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/cow.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/cow.rb index 4ca7af1adf8..3ddd9799023 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/cow.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/cow.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if Cow.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #Cow" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/deprecated_object.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/deprecated_object.rb index f2e7f9ecf08..a3d055b8e6f 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/deprecated_object.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/deprecated_object.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/dog.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/dog.rb index 6b463d10e2a..48bc263d35f 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/dog.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/dog.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_arrays.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_arrays.rb index 9b6e43025b5..384df658efc 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_arrays.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_arrays.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_class.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_class.rb index a7b08629698..8b842fc79cd 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_class.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if EnumClass.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #EnumClass" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_test.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_test.rb index 6313d9b94be..a2941e29df5 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_test.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/enum_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/fake_big_decimal_map200_response.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/fake_big_decimal_map200_response.rb index db2e36a025b..13764e427d1 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/fake_big_decimal_map200_response.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/fake_big_decimal_map200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/file.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/file.rb index 8edc5de06b6..c69536d2318 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/file.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/file.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/file_schema_test_class.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/file_schema_test_class.rb index e99905069f8..d1224225bb0 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/file_schema_test_class.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/file_schema_test_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/foo.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/foo.rb index 5bb64a98933..7fd66140346 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/foo.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/foo.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/foo_get_default_response.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/foo_get_default_response.rb index dd618bd66f3..ce96c3e73b7 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/foo_get_default_response.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/foo_get_default_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/format_test.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/format_test.rb index 7f85817a5b9..f6f37139653 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/format_test.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/format_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/has_only_read_only.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/has_only_read_only.rb index 9b61c9ce75e..1c6bdf4a7db 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/has_only_read_only.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/has_only_read_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/health_check_result.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/health_check_result.rb index 43d4bf247e8..6808e8bd875 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/health_check_result.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/health_check_result.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/list.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/list.rb index 7e00018ae11..0fa355d72ad 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/list.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/list.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/mamal_with_enum.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/mamal_with_enum.rb index c6b4f6ab35d..3c5d5f2d43a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/mamal_with_enum.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/mamal_with_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal.rb index d2636f63673..3e1e176780d 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -39,5 +38,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_anyof.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_anyof.rb index 7616977dfb0..a6f92952ec6 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_anyof.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_anyof.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_without_discriminator.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_without_discriminator.rb index a7380a7b143..3678d4da0be 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_without_discriminator.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/mammal_without_discriminator.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -101,5 +100,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/map_test.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/map_test.rb index 139752730bd..51714a23a49 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/map_test.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/map_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/mixed_properties_and_additional_properties_class.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/mixed_properties_and_additional_properties_class.rb index b7703c11d63..8130296d405 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/mixed_properties_and_additional_properties_class.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/mixed_properties_and_additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/model200_response.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/model200_response.rb index b0f31909918..843358f0cb9 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/model200_response.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/model200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/model_return.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/model_return.rb index a1b2791519b..74c53e8453e 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/model_return.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/model_return.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/name.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/name.rb index 05739286c7c..ecb7b668ac4 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/name.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/nullable_class.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/nullable_class.rb index 2c04a3c31ea..69d27bd530a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/nullable_class.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/nullable_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/number_only.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/number_only.rb index d03d015a9c5..8a91a3a9037 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/number_only.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/object_with_deprecated_fields.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/object_with_deprecated_fields.rb index c02ef6bd20c..2e638884475 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/object_with_deprecated_fields.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/object_with_deprecated_fields.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/order.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/order.rb index e116c53034b..11bee206b83 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/order.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/order.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_composite.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_composite.rb index a4a970788aa..bcf50fa09d3 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_composite.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_composite.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum.rb index 38254bd77b6..e9859f39c9e 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnum" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_default_value.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_default_value.rb index 74e0dbd8433..ed092c06034 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_default_value.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer.rb index aafc9d66979..dcdd8de6411 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumInteger.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumInteger" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer_default_value.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer_default_value.rb index 08e22c09051..fb5899a81d9 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer_default_value.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_enum_integer_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumIntegerDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumIntegerDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_object_with_enum_property.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_object_with_enum_property.rb index 107c1ead012..15b15c7154e 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_object_with_enum_property.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/outer_object_with_enum_property.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/pet.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/pet.rb index f3e6eb07f60..fc59b5e0901 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/pet.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/property_name_mapping.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/property_name_mapping.rb index ccf09be355d..5bcd9357338 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/property_name_mapping.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/property_name_mapping.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -235,7 +234,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/read_only_first.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/read_only_first.rb index 1cf4d334b36..c022a40d188 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/read_only_first.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/read_only_first.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/single_ref_type.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/single_ref_type.rb index be843145285..b234793a9f2 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/single_ref_type.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/single_ref_type.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if SingleRefType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SingleRefType" end - end -end + endend diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/special_model_name.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/special_model_name.rb index e4f2aca8c20..6c9428aa5fb 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/special_model_name.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/special_model_name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/tag.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/tag.rb index 9fb4a02e32a..6bb530ee1e1 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/tag.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/test_inline_freeform_additional_properties_request.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/test_inline_freeform_additional_properties_request.rb index a50b9543581..e4175513a6a 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/test_inline_freeform_additional_properties_request.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/test_inline_freeform_additional_properties_request.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/user.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/user.rb index 05bb872a984..b60474f3b86 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/user.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/user.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/whale.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/whale.rb index d3e7535db70..cd5d3b40c84 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/whale.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/whale.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -233,7 +232,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/models/zebra.rb b/samples/client/petstore/ruby-httpx/lib/petstore/models/zebra.rb index c35400d20ab..3c8d31aa6f5 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/models/zebra.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/models/zebra.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -258,7 +257,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby-httpx/lib/petstore/version.rb b/samples/client/petstore/ruby-httpx/lib/petstore/version.rb index 1e9e2dbfd9e..b7ac1a5e784 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore/version.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-httpx/petstore.gemspec b/samples/client/petstore/ruby-httpx/petstore.gemspec index 384e59beb73..ab51e02c651 100644 --- a/samples/client/petstore/ruby-httpx/petstore.gemspec +++ b/samples/client/petstore/ruby-httpx/petstore.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/petstore/ruby-httpx/spec/spec_helper.rb b/samples/client/petstore/ruby-httpx/spec/spec_helper.rb index bef56f59327..9f275730ffb 100644 --- a/samples/client/petstore/ruby-httpx/spec/spec_helper.rb +++ b/samples/client/petstore/ruby-httpx/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/petstore/ruby/docs/AdditionalPropertiesClass.md b/samples/client/petstore/ruby/docs/AdditionalPropertiesClass.md index 4e1cdc869f5..90ed515e212 100644 --- a/samples/client/petstore/ruby/docs/AdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby/docs/AdditionalPropertiesClass.md @@ -17,4 +17,3 @@ instance = Petstore::AdditionalPropertiesClass.new( map_of_map_property: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/AllOfWithSingleRef.md b/samples/client/petstore/ruby/docs/AllOfWithSingleRef.md index 3c14ac91c4a..3584c4edba4 100644 --- a/samples/client/petstore/ruby/docs/AllOfWithSingleRef.md +++ b/samples/client/petstore/ruby/docs/AllOfWithSingleRef.md @@ -17,4 +17,3 @@ instance = Petstore::AllOfWithSingleRef.new( single_ref_type: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Animal.md b/samples/client/petstore/ruby/docs/Animal.md index 286ce80cb21..e58a9fc4b90 100644 --- a/samples/client/petstore/ruby/docs/Animal.md +++ b/samples/client/petstore/ruby/docs/Animal.md @@ -17,4 +17,3 @@ instance = Petstore::Animal.new( color: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ApiResponse.md b/samples/client/petstore/ruby/docs/ApiResponse.md index be28c4fbb5a..a00ec9a1c89 100644 --- a/samples/client/petstore/ruby/docs/ApiResponse.md +++ b/samples/client/petstore/ruby/docs/ApiResponse.md @@ -19,4 +19,3 @@ instance = Petstore::ApiResponse.new( message: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/ruby/docs/ArrayOfArrayOfNumberOnly.md index eb5b3f43bcd..c13e9e4563e 100644 --- a/samples/client/petstore/ruby/docs/ArrayOfArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby/docs/ArrayOfArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfArrayOfNumberOnly.new( array_array_number: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ArrayOfNumberOnly.md b/samples/client/petstore/ruby/docs/ArrayOfNumberOnly.md index 18b6c0f6904..9b3051a9d55 100644 --- a/samples/client/petstore/ruby/docs/ArrayOfNumberOnly.md +++ b/samples/client/petstore/ruby/docs/ArrayOfNumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::ArrayOfNumberOnly.new( array_number: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ArrayTest.md b/samples/client/petstore/ruby/docs/ArrayTest.md index 8ee02d169ea..dd297301162 100644 --- a/samples/client/petstore/ruby/docs/ArrayTest.md +++ b/samples/client/petstore/ruby/docs/ArrayTest.md @@ -19,4 +19,3 @@ instance = Petstore::ArrayTest.new( array_array_of_model: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Capitalization.md b/samples/client/petstore/ruby/docs/Capitalization.md index a34377e7976..7e2575d4135 100644 --- a/samples/client/petstore/ruby/docs/Capitalization.md +++ b/samples/client/petstore/ruby/docs/Capitalization.md @@ -25,4 +25,3 @@ instance = Petstore::Capitalization.new( att_name: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Cat.md b/samples/client/petstore/ruby/docs/Cat.md index 67168c77660..cf12a085e9f 100644 --- a/samples/client/petstore/ruby/docs/Cat.md +++ b/samples/client/petstore/ruby/docs/Cat.md @@ -15,4 +15,3 @@ instance = Petstore::Cat.new( declawed: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Category.md b/samples/client/petstore/ruby/docs/Category.md index f92706fd24d..eaf9fec5d4a 100644 --- a/samples/client/petstore/ruby/docs/Category.md +++ b/samples/client/petstore/ruby/docs/Category.md @@ -17,4 +17,3 @@ instance = Petstore::Category.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ClassModel.md b/samples/client/petstore/ruby/docs/ClassModel.md index e88b4c0c7b4..64271d8fef4 100644 --- a/samples/client/petstore/ruby/docs/ClassModel.md +++ b/samples/client/petstore/ruby/docs/ClassModel.md @@ -15,4 +15,3 @@ instance = Petstore::ClassModel.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Client.md b/samples/client/petstore/ruby/docs/Client.md index 17778a6b0f2..c04f9baeaf8 100644 --- a/samples/client/petstore/ruby/docs/Client.md +++ b/samples/client/petstore/ruby/docs/Client.md @@ -15,4 +15,3 @@ instance = Petstore::Client.new( client: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Cow.md b/samples/client/petstore/ruby/docs/Cow.md index 6fa7084b8a4..a693e09b178 100644 --- a/samples/client/petstore/ruby/docs/Cow.md +++ b/samples/client/petstore/ruby/docs/Cow.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::Cow.new() ``` - diff --git a/samples/client/petstore/ruby/docs/DeprecatedObject.md b/samples/client/petstore/ruby/docs/DeprecatedObject.md index 143be46c411..bfaea6f73b4 100644 --- a/samples/client/petstore/ruby/docs/DeprecatedObject.md +++ b/samples/client/petstore/ruby/docs/DeprecatedObject.md @@ -15,4 +15,3 @@ instance = Petstore::DeprecatedObject.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Dog.md b/samples/client/petstore/ruby/docs/Dog.md index 2649c58c005..7a5c60746fc 100644 --- a/samples/client/petstore/ruby/docs/Dog.md +++ b/samples/client/petstore/ruby/docs/Dog.md @@ -15,4 +15,3 @@ instance = Petstore::Dog.new( breed: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/EnumArrays.md b/samples/client/petstore/ruby/docs/EnumArrays.md index cd3d076ad97..044240f6f68 100644 --- a/samples/client/petstore/ruby/docs/EnumArrays.md +++ b/samples/client/petstore/ruby/docs/EnumArrays.md @@ -17,4 +17,3 @@ instance = Petstore::EnumArrays.new( array_enum: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/EnumClass.md b/samples/client/petstore/ruby/docs/EnumClass.md index 099e6e47ec8..3f539ca669d 100644 --- a/samples/client/petstore/ruby/docs/EnumClass.md +++ b/samples/client/petstore/ruby/docs/EnumClass.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::EnumClass.new() ``` - diff --git a/samples/client/petstore/ruby/docs/EnumTest.md b/samples/client/petstore/ruby/docs/EnumTest.md index fad21de8ae1..2b54c6a1b1e 100644 --- a/samples/client/petstore/ruby/docs/EnumTest.md +++ b/samples/client/petstore/ruby/docs/EnumTest.md @@ -29,4 +29,3 @@ instance = Petstore::EnumTest.new( outer_enum_integer_default_value: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/ruby/docs/FakeBigDecimalMap200Response.md index f564c4385e8..1f3811a99bc 100644 --- a/samples/client/petstore/ruby/docs/FakeBigDecimalMap200Response.md +++ b/samples/client/petstore/ruby/docs/FakeBigDecimalMap200Response.md @@ -17,4 +17,3 @@ instance = Petstore::FakeBigDecimalMap200Response.new( some_map: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/File.md b/samples/client/petstore/ruby/docs/File.md index 5cbc1297909..1f65d0cb0fd 100644 --- a/samples/client/petstore/ruby/docs/File.md +++ b/samples/client/petstore/ruby/docs/File.md @@ -15,4 +15,3 @@ instance = Petstore::File.new( source_uri: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/FileSchemaTestClass.md b/samples/client/petstore/ruby/docs/FileSchemaTestClass.md index d9dbef2348e..d6e73193058 100644 --- a/samples/client/petstore/ruby/docs/FileSchemaTestClass.md +++ b/samples/client/petstore/ruby/docs/FileSchemaTestClass.md @@ -17,4 +17,3 @@ instance = Petstore::FileSchemaTestClass.new( files: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Foo.md b/samples/client/petstore/ruby/docs/Foo.md index 3a826f6ae70..faafe060642 100644 --- a/samples/client/petstore/ruby/docs/Foo.md +++ b/samples/client/petstore/ruby/docs/Foo.md @@ -15,4 +15,3 @@ instance = Petstore::Foo.new( bar: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/FooGetDefaultResponse.md b/samples/client/petstore/ruby/docs/FooGetDefaultResponse.md index 915e059d924..401a2d5dc27 100644 --- a/samples/client/petstore/ruby/docs/FooGetDefaultResponse.md +++ b/samples/client/petstore/ruby/docs/FooGetDefaultResponse.md @@ -15,4 +15,3 @@ instance = Petstore::FooGetDefaultResponse.new( string: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/FormatTest.md b/samples/client/petstore/ruby/docs/FormatTest.md index a790ce44835..24e4d6f1995 100644 --- a/samples/client/petstore/ruby/docs/FormatTest.md +++ b/samples/client/petstore/ruby/docs/FormatTest.md @@ -45,4 +45,3 @@ instance = Petstore::FormatTest.new( pattern_with_digits_and_delimiter: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/HasOnlyReadOnly.md b/samples/client/petstore/ruby/docs/HasOnlyReadOnly.md index 6d8dbfd0ad6..9f2f436f010 100644 --- a/samples/client/petstore/ruby/docs/HasOnlyReadOnly.md +++ b/samples/client/petstore/ruby/docs/HasOnlyReadOnly.md @@ -17,4 +17,3 @@ instance = Petstore::HasOnlyReadOnly.new( foo: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/HealthCheckResult.md b/samples/client/petstore/ruby/docs/HealthCheckResult.md index 5695ceb488e..33827536e5a 100644 --- a/samples/client/petstore/ruby/docs/HealthCheckResult.md +++ b/samples/client/petstore/ruby/docs/HealthCheckResult.md @@ -15,4 +15,3 @@ instance = Petstore::HealthCheckResult.new( nullable_message: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/List.md b/samples/client/petstore/ruby/docs/List.md index 42467415e72..bb9fbfdd9fd 100644 --- a/samples/client/petstore/ruby/docs/List.md +++ b/samples/client/petstore/ruby/docs/List.md @@ -15,4 +15,3 @@ instance = Petstore::List.new( _123_list: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/MamalWithEnum.md b/samples/client/petstore/ruby/docs/MamalWithEnum.md index 37b9252a2c8..aef3f618e32 100644 --- a/samples/client/petstore/ruby/docs/MamalWithEnum.md +++ b/samples/client/petstore/ruby/docs/MamalWithEnum.md @@ -44,4 +44,3 @@ Petstore::MamalWithEnum.build(data_that_doesnt_match) - `Cow` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby/docs/Mammal.md b/samples/client/petstore/ruby/docs/Mammal.md index 399834f63d3..7e900813d5c 100644 --- a/samples/client/petstore/ruby/docs/Mammal.md +++ b/samples/client/petstore/ruby/docs/Mammal.md @@ -60,4 +60,3 @@ Petstore::Mammal.build(data_that_doesnt_match) - `Whale` - `Zebra` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby/docs/MammalAnyof.md b/samples/client/petstore/ruby/docs/MammalAnyof.md index bd21a482f1a..11ce471c802 100644 --- a/samples/client/petstore/ruby/docs/MammalAnyof.md +++ b/samples/client/petstore/ruby/docs/MammalAnyof.md @@ -21,4 +21,3 @@ instance = Petstore::MammalAnyof.new( type: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/MammalWithoutDiscriminator.md b/samples/client/petstore/ruby/docs/MammalWithoutDiscriminator.md index d6849503044..6d7462e72eb 100644 --- a/samples/client/petstore/ruby/docs/MammalWithoutDiscriminator.md +++ b/samples/client/petstore/ruby/docs/MammalWithoutDiscriminator.md @@ -46,4 +46,3 @@ Petstore::MammalWithoutDiscriminator.build(data_that_doesnt_match) - `Whale` - `Zebra` - `nil` (if no type matches) - diff --git a/samples/client/petstore/ruby/docs/MapTest.md b/samples/client/petstore/ruby/docs/MapTest.md index 58bc1327247..9bc874f644c 100644 --- a/samples/client/petstore/ruby/docs/MapTest.md +++ b/samples/client/petstore/ruby/docs/MapTest.md @@ -21,4 +21,3 @@ instance = Petstore::MapTest.new( indirect_map: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/ruby/docs/MixedPropertiesAndAdditionalPropertiesClass.md index c7d57c85ddd..c8e69f36d42 100644 --- a/samples/client/petstore/ruby/docs/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/client/petstore/ruby/docs/MixedPropertiesAndAdditionalPropertiesClass.md @@ -19,4 +19,3 @@ instance = Petstore::MixedPropertiesAndAdditionalPropertiesClass.new( map: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Model200Response.md b/samples/client/petstore/ruby/docs/Model200Response.md index 2eee7ded759..7cfa65aa7c9 100644 --- a/samples/client/petstore/ruby/docs/Model200Response.md +++ b/samples/client/petstore/ruby/docs/Model200Response.md @@ -17,4 +17,3 @@ instance = Petstore::Model200Response.new( _class: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ModelReturn.md b/samples/client/petstore/ruby/docs/ModelReturn.md index bbcb5307f4b..37a5e5a0c8b 100644 --- a/samples/client/petstore/ruby/docs/ModelReturn.md +++ b/samples/client/petstore/ruby/docs/ModelReturn.md @@ -15,4 +15,3 @@ instance = Petstore::ModelReturn.new( _return: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Name.md b/samples/client/petstore/ruby/docs/Name.md index 9ff05587cbd..a91968fcd30 100644 --- a/samples/client/petstore/ruby/docs/Name.md +++ b/samples/client/petstore/ruby/docs/Name.md @@ -21,4 +21,3 @@ instance = Petstore::Name.new( _123_number: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/NullableClass.md b/samples/client/petstore/ruby/docs/NullableClass.md index 761bfd80732..df2aefc1b8a 100644 --- a/samples/client/petstore/ruby/docs/NullableClass.md +++ b/samples/client/petstore/ruby/docs/NullableClass.md @@ -37,4 +37,3 @@ instance = Petstore::NullableClass.new( object_items_nullable: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/NumberOnly.md b/samples/client/petstore/ruby/docs/NumberOnly.md index 540e736c8a5..2d2fba92c21 100644 --- a/samples/client/petstore/ruby/docs/NumberOnly.md +++ b/samples/client/petstore/ruby/docs/NumberOnly.md @@ -15,4 +15,3 @@ instance = Petstore::NumberOnly.new( just_number: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/ruby/docs/ObjectWithDeprecatedFields.md index 6658759209b..95957818b78 100644 --- a/samples/client/petstore/ruby/docs/ObjectWithDeprecatedFields.md +++ b/samples/client/petstore/ruby/docs/ObjectWithDeprecatedFields.md @@ -21,4 +21,3 @@ instance = Petstore::ObjectWithDeprecatedFields.new( bars: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Order.md b/samples/client/petstore/ruby/docs/Order.md index a3fd5513806..9ffc4b32307 100644 --- a/samples/client/petstore/ruby/docs/Order.md +++ b/samples/client/petstore/ruby/docs/Order.md @@ -25,4 +25,3 @@ instance = Petstore::Order.new( complete: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/OuterComposite.md b/samples/client/petstore/ruby/docs/OuterComposite.md index 03f9386e5f1..f1308265d7a 100644 --- a/samples/client/petstore/ruby/docs/OuterComposite.md +++ b/samples/client/petstore/ruby/docs/OuterComposite.md @@ -19,4 +19,3 @@ instance = Petstore::OuterComposite.new( my_boolean: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/OuterEnum.md b/samples/client/petstore/ruby/docs/OuterEnum.md index 9c81b44ae77..9a48108fc7a 100644 --- a/samples/client/petstore/ruby/docs/OuterEnum.md +++ b/samples/client/petstore/ruby/docs/OuterEnum.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnum.new() ``` - diff --git a/samples/client/petstore/ruby/docs/OuterEnumDefaultValue.md b/samples/client/petstore/ruby/docs/OuterEnumDefaultValue.md index be1f48a846f..348c3738a41 100644 --- a/samples/client/petstore/ruby/docs/OuterEnumDefaultValue.md +++ b/samples/client/petstore/ruby/docs/OuterEnumDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby/docs/OuterEnumInteger.md b/samples/client/petstore/ruby/docs/OuterEnumInteger.md index 80f46c1e0d0..c45063111fa 100644 --- a/samples/client/petstore/ruby/docs/OuterEnumInteger.md +++ b/samples/client/petstore/ruby/docs/OuterEnumInteger.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumInteger.new() ``` - diff --git a/samples/client/petstore/ruby/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/ruby/docs/OuterEnumIntegerDefaultValue.md index 38fbfd638ac..1ffa188c051 100644 --- a/samples/client/petstore/ruby/docs/OuterEnumIntegerDefaultValue.md +++ b/samples/client/petstore/ruby/docs/OuterEnumIntegerDefaultValue.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::OuterEnumIntegerDefaultValue.new() ``` - diff --git a/samples/client/petstore/ruby/docs/OuterObjectWithEnumProperty.md b/samples/client/petstore/ruby/docs/OuterObjectWithEnumProperty.md index dfd9de4596e..2588d07025c 100644 --- a/samples/client/petstore/ruby/docs/OuterObjectWithEnumProperty.md +++ b/samples/client/petstore/ruby/docs/OuterObjectWithEnumProperty.md @@ -15,4 +15,3 @@ instance = Petstore::OuterObjectWithEnumProperty.new( value: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Pet.md b/samples/client/petstore/ruby/docs/Pet.md index 13f34d7d167..78dda076209 100644 --- a/samples/client/petstore/ruby/docs/Pet.md +++ b/samples/client/petstore/ruby/docs/Pet.md @@ -25,4 +25,3 @@ instance = Petstore::Pet.new( status: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/PropertyNameMapping.md b/samples/client/petstore/ruby/docs/PropertyNameMapping.md index ce425ac8203..a9db3735122 100644 --- a/samples/client/petstore/ruby/docs/PropertyNameMapping.md +++ b/samples/client/petstore/ruby/docs/PropertyNameMapping.md @@ -21,4 +21,3 @@ instance = Petstore::PropertyNameMapping.new( type_with_underscore: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/ReadOnlyFirst.md b/samples/client/petstore/ruby/docs/ReadOnlyFirst.md index bed355e261c..d3ff74c7545 100644 --- a/samples/client/petstore/ruby/docs/ReadOnlyFirst.md +++ b/samples/client/petstore/ruby/docs/ReadOnlyFirst.md @@ -17,4 +17,3 @@ instance = Petstore::ReadOnlyFirst.new( baz: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/SingleRefType.md b/samples/client/petstore/ruby/docs/SingleRefType.md index 1f997e7bf8d..6240cca7111 100644 --- a/samples/client/petstore/ruby/docs/SingleRefType.md +++ b/samples/client/petstore/ruby/docs/SingleRefType.md @@ -12,4 +12,3 @@ require 'petstore' instance = Petstore::SingleRefType.new() ``` - diff --git a/samples/client/petstore/ruby/docs/SpecialModelName.md b/samples/client/petstore/ruby/docs/SpecialModelName.md index 6a5169191d3..e072868445c 100644 --- a/samples/client/petstore/ruby/docs/SpecialModelName.md +++ b/samples/client/petstore/ruby/docs/SpecialModelName.md @@ -15,4 +15,3 @@ instance = Petstore::SpecialModelName.new( special_property_name: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Tag.md b/samples/client/petstore/ruby/docs/Tag.md index f29ee058b01..197129df058 100644 --- a/samples/client/petstore/ruby/docs/Tag.md +++ b/samples/client/petstore/ruby/docs/Tag.md @@ -17,4 +17,3 @@ instance = Petstore::Tag.new( name: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/ruby/docs/TestInlineFreeformAdditionalPropertiesRequest.md index c976800c181..4a12a9dba00 100644 --- a/samples/client/petstore/ruby/docs/TestInlineFreeformAdditionalPropertiesRequest.md +++ b/samples/client/petstore/ruby/docs/TestInlineFreeformAdditionalPropertiesRequest.md @@ -15,4 +15,3 @@ instance = Petstore::TestInlineFreeformAdditionalPropertiesRequest.new( some_property: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/User.md b/samples/client/petstore/ruby/docs/User.md index 1dab27adba2..dd7c1671859 100644 --- a/samples/client/petstore/ruby/docs/User.md +++ b/samples/client/petstore/ruby/docs/User.md @@ -29,4 +29,3 @@ instance = Petstore::User.new( user_status: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Whale.md b/samples/client/petstore/ruby/docs/Whale.md index 6cee971d867..917a32cacc6 100644 --- a/samples/client/petstore/ruby/docs/Whale.md +++ b/samples/client/petstore/ruby/docs/Whale.md @@ -19,4 +19,3 @@ instance = Petstore::Whale.new( classname: null ) ``` - diff --git a/samples/client/petstore/ruby/docs/Zebra.md b/samples/client/petstore/ruby/docs/Zebra.md index 24848fc8718..a7a9476e008 100644 --- a/samples/client/petstore/ruby/docs/Zebra.md +++ b/samples/client/petstore/ruby/docs/Zebra.md @@ -17,4 +17,3 @@ instance = Petstore::Zebra.new( classname: null ) ``` - diff --git a/samples/client/petstore/ruby/lib/petstore.rb b/samples/client/petstore/ruby/lib/petstore.rb index 9e223c8506f..4df0b4386a4 100644 --- a/samples/client/petstore/ruby/lib/petstore.rb +++ b/samples/client/petstore/ruby/lib/petstore.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # Common files diff --git a/samples/client/petstore/ruby/lib/petstore/api/another_fake_api.rb b/samples/client/petstore/ruby/lib/petstore/api/another_fake_api.rb index 2cd28463257..b0b3001ed55 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/another_fake_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/another_fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/default_api.rb b/samples/client/petstore/ruby/lib/petstore/api/default_api.rb index 69b648b1f92..fd81f0e8169 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/default_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/default_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/fake_api.rb b/samples/client/petstore/ruby/lib/petstore/api/fake_api.rb index faa1407e207..0f92c5d912a 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/fake_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/fake_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/fake_classname_tags123_api.rb b/samples/client/petstore/ruby/lib/petstore/api/fake_classname_tags123_api.rb index defb5d7dc94..80dbc48cb0a 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/fake_classname_tags123_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/fake_classname_tags123_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/pet_api.rb b/samples/client/petstore/ruby/lib/petstore/api/pet_api.rb index bfe5db16a7f..f8cb98322e5 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/pet_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/pet_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/store_api.rb b/samples/client/petstore/ruby/lib/petstore/api/store_api.rb index 87261710ee0..dab65a32ca0 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/store_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/store_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api/user_api.rb b/samples/client/petstore/ruby/lib/petstore/api/user_api.rb index b0352738964..4b134741b71 100644 --- a/samples/client/petstore/ruby/lib/petstore/api/user_api.rb +++ b/samples/client/petstore/ruby/lib/petstore/api/user_api.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'cgi' diff --git a/samples/client/petstore/ruby/lib/petstore/api_client.rb b/samples/client/petstore/ruby/lib/petstore/api_client.rb index 9dccaa5b271..75d1f79f651 100644 --- a/samples/client/petstore/ruby/lib/petstore/api_client.rb +++ b/samples/client/petstore/ruby/lib/petstore/api_client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ module Petstore tempfile end - # Check if the given MIME is a JSON MIME. # JSON MIME examples: # application/json diff --git a/samples/client/petstore/ruby/lib/petstore/api_error.rb b/samples/client/petstore/ruby/lib/petstore/api_error.rb index 03b8f10b4f0..90e1aa0ea22 100644 --- a/samples/client/petstore/ruby/lib/petstore/api_error.rb +++ b/samples/client/petstore/ruby/lib/petstore/api_error.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby/lib/petstore/configuration.rb b/samples/client/petstore/ruby/lib/petstore/configuration.rb index 5cff44b03ae..e5b6930d28d 100644 --- a/samples/client/petstore/ruby/lib/petstore/configuration.rb +++ b/samples/client/petstore/ruby/lib/petstore/configuration.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore @@ -151,7 +150,6 @@ module Petstore # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96 attr_accessor :params_encoding - attr_accessor :inject_format attr_accessor :force_ending_format diff --git a/samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb b/samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb index 08181524c0a..c272a95715e 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/all_of_with_single_ref.rb b/samples/client/petstore/ruby/lib/petstore/models/all_of_with_single_ref.rb index c8a82eaacc1..f849064886b 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/all_of_with_single_ref.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/all_of_with_single_ref.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/animal.rb b/samples/client/petstore/ruby/lib/petstore/models/animal.rb index e0f55e9637d..d2572402445 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/animal.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/animal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/api_response.rb b/samples/client/petstore/ruby/lib/petstore/models/api_response.rb index 54e3d135122..fba838ec89d 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/api_response.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/api_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/array_of_array_of_number_only.rb b/samples/client/petstore/ruby/lib/petstore/models/array_of_array_of_number_only.rb index e45247f6ea2..51264f41e45 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/array_of_array_of_number_only.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/array_of_array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/array_of_number_only.rb b/samples/client/petstore/ruby/lib/petstore/models/array_of_number_only.rb index 55934845105..48064064fbd 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/array_of_number_only.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/array_of_number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/array_test.rb b/samples/client/petstore/ruby/lib/petstore/models/array_test.rb index a88e01c3bdc..0995478313d 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/array_test.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/array_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/capitalization.rb b/samples/client/petstore/ruby/lib/petstore/models/capitalization.rb index 82692d85039..056e8e5fe97 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/capitalization.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/capitalization.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/cat.rb b/samples/client/petstore/ruby/lib/petstore/models/cat.rb index 64c6938b0aa..9e6bbcc362c 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/cat.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/cat.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/category.rb b/samples/client/petstore/ruby/lib/petstore/models/category.rb index e44364ee02e..b65bb4d3a3a 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/category.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/category.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/class_model.rb b/samples/client/petstore/ruby/lib/petstore/models/class_model.rb index 7c209246e3b..4f16d4da00a 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/class_model.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/class_model.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/client.rb b/samples/client/petstore/ruby/lib/petstore/models/client.rb index de0685d0b04..237af3e41df 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/client.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/client.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/cow.rb b/samples/client/petstore/ruby/lib/petstore/models/cow.rb index 4ca7af1adf8..3ddd9799023 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/cow.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/cow.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if Cow.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #Cow" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/deprecated_object.rb b/samples/client/petstore/ruby/lib/petstore/models/deprecated_object.rb index f2e7f9ecf08..a3d055b8e6f 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/deprecated_object.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/deprecated_object.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/dog.rb b/samples/client/petstore/ruby/lib/petstore/models/dog.rb index 6b463d10e2a..48bc263d35f 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/dog.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/dog.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/enum_arrays.rb b/samples/client/petstore/ruby/lib/petstore/models/enum_arrays.rb index 9b6e43025b5..384df658efc 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/enum_arrays.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/enum_arrays.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/enum_class.rb b/samples/client/petstore/ruby/lib/petstore/models/enum_class.rb index a7b08629698..8b842fc79cd 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/enum_class.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/enum_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if EnumClass.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #EnumClass" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/enum_test.rb b/samples/client/petstore/ruby/lib/petstore/models/enum_test.rb index 6313d9b94be..a2941e29df5 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/enum_test.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/enum_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/fake_big_decimal_map200_response.rb b/samples/client/petstore/ruby/lib/petstore/models/fake_big_decimal_map200_response.rb index db2e36a025b..13764e427d1 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/fake_big_decimal_map200_response.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/fake_big_decimal_map200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/file.rb b/samples/client/petstore/ruby/lib/petstore/models/file.rb index 8edc5de06b6..c69536d2318 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/file.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/file.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/file_schema_test_class.rb b/samples/client/petstore/ruby/lib/petstore/models/file_schema_test_class.rb index e99905069f8..d1224225bb0 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/file_schema_test_class.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/file_schema_test_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/foo.rb b/samples/client/petstore/ruby/lib/petstore/models/foo.rb index 5bb64a98933..7fd66140346 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/foo.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/foo.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/foo_get_default_response.rb b/samples/client/petstore/ruby/lib/petstore/models/foo_get_default_response.rb index dd618bd66f3..ce96c3e73b7 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/foo_get_default_response.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/foo_get_default_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/format_test.rb b/samples/client/petstore/ruby/lib/petstore/models/format_test.rb index 7f85817a5b9..f6f37139653 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/format_test.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/format_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/has_only_read_only.rb b/samples/client/petstore/ruby/lib/petstore/models/has_only_read_only.rb index 9b61c9ce75e..1c6bdf4a7db 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/has_only_read_only.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/has_only_read_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/health_check_result.rb b/samples/client/petstore/ruby/lib/petstore/models/health_check_result.rb index 43d4bf247e8..6808e8bd875 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/health_check_result.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/health_check_result.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/list.rb b/samples/client/petstore/ruby/lib/petstore/models/list.rb index 7e00018ae11..0fa355d72ad 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/list.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/list.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/mamal_with_enum.rb b/samples/client/petstore/ruby/lib/petstore/models/mamal_with_enum.rb index c6b4f6ab35d..3c5d5f2d43a 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/mamal_with_enum.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/mamal_with_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/mammal.rb b/samples/client/petstore/ruby/lib/petstore/models/mammal.rb index d2636f63673..3e1e176780d 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/mammal.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/mammal.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -39,5 +38,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/mammal_anyof.rb b/samples/client/petstore/ruby/lib/petstore/models/mammal_anyof.rb index 7616977dfb0..a6f92952ec6 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/mammal_anyof.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/mammal_anyof.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/mammal_without_discriminator.rb b/samples/client/petstore/ruby/lib/petstore/models/mammal_without_discriminator.rb index a7380a7b143..3678d4da0be 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/mammal_without_discriminator.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/mammal_without_discriminator.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -101,5 +100,4 @@ module Petstore end end end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/map_test.rb b/samples/client/petstore/ruby/lib/petstore/models/map_test.rb index 139752730bd..51714a23a49 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/map_test.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/map_test.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb b/samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb index b7703c11d63..8130296d405 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/model200_response.rb b/samples/client/petstore/ruby/lib/petstore/models/model200_response.rb index b0f31909918..843358f0cb9 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/model200_response.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/model200_response.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/model_return.rb b/samples/client/petstore/ruby/lib/petstore/models/model_return.rb index a1b2791519b..74c53e8453e 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/model_return.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/model_return.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/name.rb b/samples/client/petstore/ruby/lib/petstore/models/name.rb index 05739286c7c..ecb7b668ac4 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/name.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/nullable_class.rb b/samples/client/petstore/ruby/lib/petstore/models/nullable_class.rb index 2c04a3c31ea..69d27bd530a 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/nullable_class.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/nullable_class.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/number_only.rb b/samples/client/petstore/ruby/lib/petstore/models/number_only.rb index d03d015a9c5..8a91a3a9037 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/number_only.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/number_only.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/object_with_deprecated_fields.rb b/samples/client/petstore/ruby/lib/petstore/models/object_with_deprecated_fields.rb index c02ef6bd20c..2e638884475 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/object_with_deprecated_fields.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/object_with_deprecated_fields.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/order.rb b/samples/client/petstore/ruby/lib/petstore/models/order.rb index e116c53034b..11bee206b83 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/order.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/order.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_composite.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_composite.rb index a4a970788aa..bcf50fa09d3 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_composite.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_composite.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_enum.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_enum.rb index a77c9b9cd47..ec43a02f751 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_enum.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_enum.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnum.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnum" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_default_value.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_default_value.rb index 42e882caf4f..b481d813513 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_default_value.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer.rb index aafc9d66979..dcdd8de6411 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumInteger.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumInteger" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer_default_value.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer_default_value.rb index 08e22c09051..fb5899a81d9 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer_default_value.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_enum_integer_default_value.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ module Petstore return value if OuterEnumIntegerDefaultValue.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #OuterEnumIntegerDefaultValue" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/outer_object_with_enum_property.rb b/samples/client/petstore/ruby/lib/petstore/models/outer_object_with_enum_property.rb index 107c1ead012..15b15c7154e 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/outer_object_with_enum_property.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/outer_object_with_enum_property.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/pet.rb b/samples/client/petstore/ruby/lib/petstore/models/pet.rb index f3e6eb07f60..fc59b5e0901 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/pet.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/pet.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/property_name_mapping.rb b/samples/client/petstore/ruby/lib/petstore/models/property_name_mapping.rb index e87e2f3f382..0852cd26a57 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/property_name_mapping.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/property_name_mapping.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -235,7 +234,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb b/samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb index 1cf4d334b36..c022a40d188 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/single_ref_type.rb b/samples/client/petstore/ruby/lib/petstore/models/single_ref_type.rb index be843145285..b234793a9f2 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/single_ref_type.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/single_ref_type.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ module Petstore return value if SingleRefType.all_vars.include?(value) raise "Invalid ENUM value #{value} for class #SingleRefType" end - end -end + endend diff --git a/samples/client/petstore/ruby/lib/petstore/models/special_model_name.rb b/samples/client/petstore/ruby/lib/petstore/models/special_model_name.rb index e4f2aca8c20..6c9428aa5fb 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/special_model_name.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/special_model_name.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/tag.rb b/samples/client/petstore/ruby/lib/petstore/models/tag.rb index 9fb4a02e32a..6bb530ee1e1 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/tag.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/tag.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/test_inline_freeform_additional_properties_request.rb b/samples/client/petstore/ruby/lib/petstore/models/test_inline_freeform_additional_properties_request.rb index a50b9543581..e4175513a6a 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/test_inline_freeform_additional_properties_request.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/test_inline_freeform_additional_properties_request.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/user.rb b/samples/client/petstore/ruby/lib/petstore/models/user.rb index 05bb872a984..b60474f3b86 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/user.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/user.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/whale.rb b/samples/client/petstore/ruby/lib/petstore/models/whale.rb index d3e7535db70..cd5d3b40c84 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/whale.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/whale.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -233,7 +232,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/models/zebra.rb b/samples/client/petstore/ruby/lib/petstore/models/zebra.rb index c35400d20ab..3c8d31aa6f5 100644 --- a/samples/client/petstore/ruby/lib/petstore/models/zebra.rb +++ b/samples/client/petstore/ruby/lib/petstore/models/zebra.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end require 'date' @@ -258,7 +257,5 @@ module Petstore value end end - end - end diff --git a/samples/client/petstore/ruby/lib/petstore/version.rb b/samples/client/petstore/ruby/lib/petstore/version.rb index 1e9e2dbfd9e..b7ac1a5e784 100644 --- a/samples/client/petstore/ruby/lib/petstore/version.rb +++ b/samples/client/petstore/ruby/lib/petstore/version.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby/petstore.gemspec b/samples/client/petstore/ruby/petstore.gemspec index d0b9c9d056e..02d3dca2b4a 100644 --- a/samples/client/petstore/ruby/petstore.gemspec +++ b/samples/client/petstore/ruby/petstore.gemspec @@ -9,7 +9,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end $:.push File.expand_path("../lib", __FILE__) diff --git a/samples/client/petstore/ruby/spec/spec_helper.rb b/samples/client/petstore/ruby/spec/spec_helper.rb index bef56f59327..9f275730ffb 100644 --- a/samples/client/petstore/ruby/spec/spec_helper.rb +++ b/samples/client/petstore/ruby/spec/spec_helper.rb @@ -7,7 +7,6 @@ The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech Generator version: 7.10.0-SNAPSHOT - =end # load the gem diff --git a/samples/client/petstore/scala-akka/docs/ApiResponse.md b/samples/client/petstore/scala-akka/docs/ApiResponse.md index bd174989f6f..d6422f89682 100644 --- a/samples/client/petstore/scala-akka/docs/ApiResponse.md +++ b/samples/client/petstore/scala-akka/docs/ApiResponse.md @@ -13,4 +13,3 @@ Name | Type | Description | Notes **message** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-akka/docs/Category.md b/samples/client/petstore/scala-akka/docs/Category.md index 6f5421307d5..c941d96b08f 100644 --- a/samples/client/petstore/scala-akka/docs/Category.md +++ b/samples/client/petstore/scala-akka/docs/Category.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes **name** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-akka/docs/Order.md b/samples/client/petstore/scala-akka/docs/Order.md index 2b9b4929753..c91a2ddb52c 100644 --- a/samples/client/petstore/scala-akka/docs/Order.md +++ b/samples/client/petstore/scala-akka/docs/Order.md @@ -21,4 +21,3 @@ Allowed values: [placed, approved, delivered] - diff --git a/samples/client/petstore/scala-akka/docs/Pet.md b/samples/client/petstore/scala-akka/docs/Pet.md index 2c65c5440df..6bc0acf496c 100644 --- a/samples/client/petstore/scala-akka/docs/Pet.md +++ b/samples/client/petstore/scala-akka/docs/Pet.md @@ -21,4 +21,3 @@ Allowed values: [available, pending, sold] - diff --git a/samples/client/petstore/scala-akka/docs/Tag.md b/samples/client/petstore/scala-akka/docs/Tag.md index ae6756ef393..072700198ac 100644 --- a/samples/client/petstore/scala-akka/docs/Tag.md +++ b/samples/client/petstore/scala-akka/docs/Tag.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes **name** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-akka/docs/User.md b/samples/client/petstore/scala-akka/docs/User.md index 44bea4103d0..bacb4bf36ea 100644 --- a/samples/client/petstore/scala-akka/docs/User.md +++ b/samples/client/petstore/scala-akka/docs/User.md @@ -18,4 +18,3 @@ Name | Type | Description | Notes **userStatus** | **Int** | User Status | [optional] - diff --git a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/PetApi.scala b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/PetApi.scala index e562c0edfb3..8b3b16f6538 100644 --- a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/PetApi.scala +++ b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/PetApi.scala @@ -58,9 +58,8 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) - case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) + case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def deletePet(petId: Long, apiKey: Option[String] = None): F[Unit] = { @@ -78,8 +77,7 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def findPetsByStatus(status: Seq[FindPetsByStatusStatusParameterInner]): F[Seq[Pet]] = { @@ -99,9 +97,8 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Seq[Pet]]("Seq[Pet]", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Seq[Pet]]("Seq[Pet]", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def findPetsByTags(tags: Seq[String]): F[Seq[Pet]] = { @@ -121,9 +118,8 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Seq[Pet]]("Seq[Pet]", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Seq[Pet]]("Seq[Pet]", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def getPetById(petId: Long)(implicit auth: _Authorization.ApiKey): F[Pet] = { @@ -140,10 +136,9 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = Some(auth)) { - case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def updatePet(pet: Pet): F[Pet] = { @@ -160,11 +155,10 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Pet]("Pet", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def updatePetWithForm(petId: Long, name: Option[String] = None, status: Option[String] = None): F[Unit] = { @@ -185,9 +179,8 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => Concurrent[F].pure(()) - case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => Concurrent[F].pure(()) + case r if r.status.code == 405 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def uploadFile(petId: Long, additionalMetadata: Option[String] = None, file: Option[File] = None): F[ApiResponse] = { @@ -208,8 +201,7 @@ class PetApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, ApiResponse]("ApiResponse", r) - } + case r if r.status.code == 200 => parseJson[F, ApiResponse]("ApiResponse", r) } } } diff --git a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/StoreApi.scala b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/StoreApi.scala index a0c33365cc0..a261d70ed88 100644 --- a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/StoreApi.scala +++ b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/StoreApi.scala @@ -50,9 +50,8 @@ class StoreApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def getInventory()(implicit auth: _Authorization.ApiKey): F[Map[String, Int]] = { @@ -69,8 +68,7 @@ class StoreApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = Some(auth)) { - case r if r.status.code == 200 => parseJson[F, Map[String, Int]]("Map[String, Int]", r) - } + case r if r.status.code == 200 => parseJson[F, Map[String, Int]]("Map[String, Int]", r) } } override def getOrderById(orderId: Long): F[Order] = { @@ -87,10 +85,9 @@ class StoreApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Order]("Order", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Order]("Order", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def placeOrder(order: Order): F[Order] = { @@ -107,9 +104,8 @@ class StoreApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, Order]("Order", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, Order]("Order", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } } diff --git a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/UserApi.scala b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/UserApi.scala index 749cb93d4b8..70f8e300b27 100644 --- a/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/UserApi.scala +++ b/samples/client/petstore/scala-http4s/src/main/scala/org/openapitools/client/apis/UserApi.scala @@ -55,8 +55,7 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( queryParameters = Nil, requestHeaders = requestHeaders, auth = Some(auth)) { - r => Concurrent[F].pure(()) - } + r => Concurrent[F].pure(()) } } override def createUsersWithArrayInput(user: Seq[User])(implicit auth: _Authorization.ApiKey): F[Unit] = { @@ -72,8 +71,7 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( queryParameters = Nil, requestHeaders = requestHeaders, auth = Some(auth)) { - r => Concurrent[F].pure(()) - } + r => Concurrent[F].pure(()) } } override def createUsersWithListInput(user: Seq[User])(implicit auth: _Authorization.ApiKey): F[Unit] = { @@ -89,8 +87,7 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( queryParameters = Nil, requestHeaders = requestHeaders, auth = Some(auth)) { - r => Concurrent[F].pure(()) - } + r => Concurrent[F].pure(()) } } override def deleteUser(username: String)(implicit auth: _Authorization.ApiKey): F[Unit] = { @@ -107,9 +104,8 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = Some(auth)) { - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def getUserByName(username: String): F[User] = { @@ -126,10 +122,9 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, User]("User", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, User]("User", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def loginUser(username: String, password: String): F[String] = { @@ -150,9 +145,8 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = None) { - case r if r.status.code == 200 => parseJson[F, String]("String", r) - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 200 => parseJson[F, String]("String", r) + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } override def logoutUser()(implicit auth: _Authorization.ApiKey): F[Unit] = { @@ -168,8 +162,7 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( queryParameters = Nil, requestHeaders = requestHeaders, auth = Some(auth)) { - r => Concurrent[F].pure(()) - } + r => Concurrent[F].pure(()) } } override def updateUser(username: String, user: User)(implicit auth: _Authorization.ApiKey): F[Unit] = { @@ -186,9 +179,8 @@ class UserApiEndpointsImpl[F[*]: Concurrent]( requestHeaders = requestHeaders, auth = Some(auth)) { - case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) - } + case r if r.status.code == 400 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) + case r if r.status.code == 404 => Concurrent[F].raiseError(_FailedRequest(r.status.code, r.status.reason)) } } } diff --git a/samples/client/petstore/scala-pekko/docs/ApiResponse.md b/samples/client/petstore/scala-pekko/docs/ApiResponse.md index bd174989f6f..d6422f89682 100644 --- a/samples/client/petstore/scala-pekko/docs/ApiResponse.md +++ b/samples/client/petstore/scala-pekko/docs/ApiResponse.md @@ -13,4 +13,3 @@ Name | Type | Description | Notes **message** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-pekko/docs/Category.md b/samples/client/petstore/scala-pekko/docs/Category.md index 6f5421307d5..c941d96b08f 100644 --- a/samples/client/petstore/scala-pekko/docs/Category.md +++ b/samples/client/petstore/scala-pekko/docs/Category.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes **name** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-pekko/docs/Order.md b/samples/client/petstore/scala-pekko/docs/Order.md index 2b9b4929753..c91a2ddb52c 100644 --- a/samples/client/petstore/scala-pekko/docs/Order.md +++ b/samples/client/petstore/scala-pekko/docs/Order.md @@ -21,4 +21,3 @@ Allowed values: [placed, approved, delivered] - diff --git a/samples/client/petstore/scala-pekko/docs/Pet.md b/samples/client/petstore/scala-pekko/docs/Pet.md index 2c65c5440df..6bc0acf496c 100644 --- a/samples/client/petstore/scala-pekko/docs/Pet.md +++ b/samples/client/petstore/scala-pekko/docs/Pet.md @@ -21,4 +21,3 @@ Allowed values: [available, pending, sold] - diff --git a/samples/client/petstore/scala-pekko/docs/Tag.md b/samples/client/petstore/scala-pekko/docs/Tag.md index ae6756ef393..072700198ac 100644 --- a/samples/client/petstore/scala-pekko/docs/Tag.md +++ b/samples/client/petstore/scala-pekko/docs/Tag.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes **name** | **String** | | [optional] - diff --git a/samples/client/petstore/scala-pekko/docs/User.md b/samples/client/petstore/scala-pekko/docs/User.md index 44bea4103d0..bacb4bf36ea 100644 --- a/samples/client/petstore/scala-pekko/docs/User.md +++ b/samples/client/petstore/scala-pekko/docs/User.md @@ -18,4 +18,3 @@ Name | Type | Description | Notes **userStatus** | **Int** | User Status | [optional] - diff --git a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java index 5e8e02146fd..12cb9f99ce6 100644 --- a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java @@ -22,7 +22,6 @@ import javax.annotation.Generated; /** * Pet */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -60,8 +59,7 @@ public class Pet { * Get atType * @return atType */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("@type") public String getAtType() { return atType; @@ -80,8 +78,7 @@ public class Pet { * Get age * @return age */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("age") public Integer getAge() { return age; @@ -100,8 +97,7 @@ public class Pet { * Get happy * @return happy */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("happy") public Boolean getHappy() { return happy; @@ -120,8 +116,7 @@ public class Pet { * Get price * @return price */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("price") public BigDecimal getPrice() { return price; @@ -140,8 +135,7 @@ public class Pet { * Get lastFeed * @return lastFeed */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("lastFeed") public OffsetDateTime getLastFeed() { return lastFeed; @@ -160,8 +154,7 @@ public class Pet { * Get dateOfBirth * @return dateOfBirth */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("dateOfBirth") public LocalDate getDateOfBirth() { return dateOfBirth; @@ -170,7 +163,6 @@ public class Pet { public void setDateOfBirth(LocalDate dateOfBirth) { this.dateOfBirth = dateOfBirth; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Category.java index a63e08084aa..08f803e7ac4 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Category.java @@ -17,7 +17,6 @@ import javax.annotation.Generated; /** * A category for a pet */ - @Schema(name = "Category", description = "A category for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { @@ -35,8 +34,7 @@ public class Category { * Get id * @return id */ - - @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public Long getId() { return id; @@ -55,8 +53,7 @@ public class Category { * Get name * @return name */ - @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") - @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("name") public String getName() { return name; @@ -65,7 +62,6 @@ public class Category { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/ModelApiResponse.java index 7c8c0ed9b56..3f228d798b3 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * Describes the result of uploading an image resource */ - @Schema(name = "ApiResponse", description = "Describes the result of uploading an image resource") @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") @@ -39,8 +38,7 @@ public class ModelApiResponse { * Get code * @return code */ - - @Schema(name = "code", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "code", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("code") public Integer getCode() { return code; @@ -59,8 +57,7 @@ public class ModelApiResponse { * Get type * @return type */ - - @Schema(name = "type", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "type", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("type") public String getType() { return type; @@ -79,8 +76,7 @@ public class ModelApiResponse { * Get message * @return message */ - - @Schema(name = "message", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "message", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("message") public String getMessage() { return message; @@ -89,7 +85,6 @@ public class ModelApiResponse { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java index 258db3676b7..90970ebe511 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java @@ -21,7 +21,6 @@ import javax.annotation.Generated; * An order for a pets from the pet store * @deprecated */ - @Deprecated @Schema(name = "Order", description = "An order for a pets from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") @@ -72,7 +71,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -86,8 +84,7 @@ public class Order { * Get id * @return id */ - - @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public Long getId() { return id; @@ -106,8 +103,7 @@ public class Order { * Get petId * @return petId */ - - @Schema(name = "petId", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "petId", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("petId") public Long getPetId() { return petId; @@ -126,8 +122,7 @@ public class Order { * Get quantity * @return quantity */ - - @Schema(name = "quantity", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "quantity", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -146,8 +141,7 @@ public class Order { * Get shipDate * @return shipDate */ - @Valid - @Schema(name = "shipDate", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Valid @Schema(name = "shipDate", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -166,8 +160,7 @@ public class Order { * Order Status * @return status */ - - @Schema(name = "status", description = "Order Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "status", description = "Order Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -186,8 +179,7 @@ public class Order { * Get complete * @return complete */ - - @Schema(name = "complete", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "complete", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -196,7 +188,6 @@ public class Order { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java index 5a9773be780..27708d50a1c 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java @@ -23,7 +23,6 @@ import javax.annotation.Generated; /** * A pet for sale in the pet store */ - @Schema(name = "Pet", description = "A pet for sale in the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -77,7 +76,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; public Pet() { @@ -101,8 +99,7 @@ public class Pet { * Get id * @return id */ - - @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public Long getId() { return id; @@ -121,8 +118,7 @@ public class Pet { * Get category * @return category */ - @Valid - @Schema(name = "category", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Valid @Schema(name = "category", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("category") public Category getCategory() { return category; @@ -141,8 +137,7 @@ public class Pet { * Get name * @return name */ - @NotNull - @Schema(name = "name", example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull @Schema(name = "name", example = "doggie", requiredMode = Schema.RequiredMode.REQUIRED) @JsonProperty("name") public JsonNullable getName() { return name; @@ -170,8 +165,7 @@ public class Pet { * @return photoUrls * @deprecated */ - @NotNull - @Schema(name = "photoUrls", deprecated = true, requiredMode = Schema.RequiredMode.REQUIRED) + @NotNull @Schema(name = "photoUrls", deprecated = true, requiredMode = Schema.RequiredMode.REQUIRED) @JsonProperty("photoUrls") @Deprecated public List getPhotoUrls() { @@ -203,8 +197,7 @@ public class Pet { * Get tags * @return tags */ - @Valid - @Schema(name = "tags", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Valid @Schema(name = "tags", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -223,8 +216,7 @@ public class Pet { * pet status in the store * @return status */ - - @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "status", description = "pet status in the store", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -233,7 +225,6 @@ public class Pet { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Tag.java index 896d9d023a0..4c1bb7f3c18 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Tag.java @@ -17,7 +17,6 @@ import javax.annotation.Generated; /** * A tag for a pet */ - @Schema(name = "Tag", description = "A tag for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { @@ -35,8 +34,7 @@ public class Tag { * Get id * @return id */ - - @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public Long getId() { return id; @@ -55,8 +53,7 @@ public class Tag { * Get name * @return name */ - - @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("name") public String getName() { return name; @@ -65,7 +62,6 @@ public class Tag { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java index 0abf5707cc5..0ae9b271c79 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java @@ -17,7 +17,6 @@ import javax.annotation.Generated; /** * A User who is purchasing from the pet store */ - @Schema(name = "User", description = "A User who is purchasing from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class User { @@ -47,8 +46,7 @@ public class User { * Get id * @return id */ - - @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public Long getId() { return id; @@ -67,8 +65,7 @@ public class User { * Get username * @return username */ - - @Schema(name = "username", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "username", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("username") public String getUsername() { return username; @@ -87,8 +84,7 @@ public class User { * Get firstName * @return firstName */ - - @Schema(name = "firstName", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "firstName", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -107,8 +103,7 @@ public class User { * Get lastName * @return lastName */ - - @Schema(name = "lastName", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "lastName", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("lastName") public String getLastName() { return lastName; @@ -127,8 +122,7 @@ public class User { * Get email * @return email */ - - @Schema(name = "email", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "email", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("email") public String getEmail() { return email; @@ -147,8 +141,7 @@ public class User { * Get password * @return password */ - - @Schema(name = "password", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "password", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("password") public String getPassword() { return password; @@ -167,8 +160,7 @@ public class User { * Get phone * @return phone */ - - @Schema(name = "phone", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "phone", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("phone") public String getPhone() { return phone; @@ -187,8 +179,7 @@ public class User { * User Status * @return userStatus */ - - @Schema(name = "userStatus", description = "User Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(name = "userStatus", description = "User Status", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -197,7 +188,6 @@ public class User { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Category.java index 6651747c31e..894c6652c66 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Category.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A category for a pet */ - @ApiModel(description = "A category for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { @@ -36,8 +35,7 @@ public class Category { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Category { * Get name * @return name */ - @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") - @ApiModelProperty(value = "") + @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Category { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/ModelApiResponse.java index 003a3550a86..cfa87d087cd 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -19,7 +19,6 @@ import javax.annotation.Generated; /** * Describes the result of uploading an image resource */ - @ApiModel(description = "Describes the result of uploading an image resource") @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") @@ -40,8 +39,7 @@ public class ModelApiResponse { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +77,7 @@ public class ModelApiResponse { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +86,6 @@ public class ModelApiResponse { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java index ea9cdb4e974..4a64ad2e2c2 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java @@ -21,7 +21,6 @@ import javax.annotation.Generated; /** * An order for a pets from the pet store */ - @ApiModel(description = "An order for a pets from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Order { @@ -71,7 +70,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +83,7 @@ public class Order { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +102,7 @@ public class Order { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +121,7 @@ public class Order { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +140,7 @@ public class Order { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +159,7 @@ public class Order { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +178,7 @@ public class Order { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +187,6 @@ public class Order { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java index feb747dc8a6..94a3a82911c 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java @@ -24,7 +24,6 @@ import javax.annotation.Generated; /** * A pet for sale in the pet store */ - @ApiModel(description = "A pet for sale in the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -77,7 +76,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -102,8 +100,7 @@ public class Pet { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -122,8 +119,7 @@ public class Pet { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -142,8 +138,7 @@ public class Pet { * Get name * @return name */ - @NotNull - @ApiModelProperty(example = "doggie", required = true, value = "") + @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty("name") public String getName() { return name; @@ -170,8 +165,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -198,8 +192,7 @@ public class Pet { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -219,8 +212,7 @@ public class Pet { * @return status * @deprecated */ - - @ApiModelProperty(value = "pet status in the store") + @ApiModelProperty(value = "pet status in the store") @JsonProperty("status") @Deprecated public StatusEnum getStatus() { @@ -234,7 +226,6 @@ public class Pet { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Tag.java index 4ff8d5c9bb3..605763166f0 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Tag.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { @@ -36,8 +35,7 @@ public class Tag { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Tag { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Tag { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java index a73b85014aa..a1a215b86b7 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/User.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A User who is purchasing from the pet store */ - @ApiModel(description = "A User who is purchasing from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class User { @@ -48,8 +47,7 @@ public class User { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +66,7 @@ public class User { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +85,7 @@ public class User { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +104,7 @@ public class User { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +123,7 @@ public class User { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +142,7 @@ public class User { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +161,7 @@ public class User { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +180,7 @@ public class User { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +189,6 @@ public class User { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Category.java index 79b460fc6a1..51cbcec712a 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Category.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A category for a pet */ - @ApiModel(description = "A category for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { @@ -36,8 +35,7 @@ public class Category { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Category { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Category { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/ModelApiResponse.java index 003a3550a86..cfa87d087cd 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -19,7 +19,6 @@ import javax.annotation.Generated; /** * Describes the result of uploading an image resource */ - @ApiModel(description = "Describes the result of uploading an image resource") @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") @@ -40,8 +39,7 @@ public class ModelApiResponse { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +77,7 @@ public class ModelApiResponse { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +86,6 @@ public class ModelApiResponse { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java index ea9cdb4e974..4a64ad2e2c2 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java @@ -21,7 +21,6 @@ import javax.annotation.Generated; /** * An order for a pets from the pet store */ - @ApiModel(description = "An order for a pets from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Order { @@ -71,7 +70,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +83,7 @@ public class Order { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +102,7 @@ public class Order { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +121,7 @@ public class Order { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +140,7 @@ public class Order { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +159,7 @@ public class Order { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +178,7 @@ public class Order { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +187,6 @@ public class Order { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java index 102b6051c7c..e93a2bfb264 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java @@ -24,7 +24,6 @@ import javax.annotation.Generated; /** * A pet for sale in the pet store */ - @ApiModel(description = "A pet for sale in the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -77,7 +76,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; public Pet() { @@ -101,8 +99,7 @@ public class Pet { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -121,8 +118,7 @@ public class Pet { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -141,8 +137,7 @@ public class Pet { * Get name * @return name */ - @NotNull - @ApiModelProperty(example = "doggie", required = true, value = "") + @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty("name") public String getName() { return name; @@ -169,8 +164,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -197,8 +191,7 @@ public class Pet { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -217,8 +210,7 @@ public class Pet { * pet status in the store * @return status */ - - @ApiModelProperty(value = "pet status in the store") + @ApiModelProperty(value = "pet status in the store") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -227,7 +219,6 @@ public class Pet { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Tag.java index 4ff8d5c9bb3..605763166f0 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Tag.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { @@ -36,8 +35,7 @@ public class Tag { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Tag { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Tag { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java index a73b85014aa..a1a215b86b7 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/User.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A User who is purchasing from the pet store */ - @ApiModel(description = "A User who is purchasing from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class User { @@ -48,8 +47,7 @@ public class User { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +66,7 @@ public class User { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +85,7 @@ public class User { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +104,7 @@ public class User { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +123,7 @@ public class User { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +142,7 @@ public class User { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +161,7 @@ public class User { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +180,7 @@ public class User { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +189,6 @@ public class User { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Category.java index 6651747c31e..894c6652c66 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Category.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A category for a pet */ - @ApiModel(description = "A category for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { @@ -36,8 +35,7 @@ public class Category { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Category { * Get name * @return name */ - @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") - @ApiModelProperty(value = "") + @Pattern(regexp = "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Category { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/ModelApiResponse.java index 003a3550a86..cfa87d087cd 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -19,7 +19,6 @@ import javax.annotation.Generated; /** * Describes the result of uploading an image resource */ - @ApiModel(description = "Describes the result of uploading an image resource") @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") @@ -40,8 +39,7 @@ public class ModelApiResponse { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +58,7 @@ public class ModelApiResponse { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +77,7 @@ public class ModelApiResponse { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +86,6 @@ public class ModelApiResponse { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java index ea9cdb4e974..4a64ad2e2c2 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java @@ -21,7 +21,6 @@ import javax.annotation.Generated; /** * An order for a pets from the pet store */ - @ApiModel(description = "An order for a pets from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Order { @@ -71,7 +70,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +83,7 @@ public class Order { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +102,7 @@ public class Order { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +121,7 @@ public class Order { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +140,7 @@ public class Order { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +159,7 @@ public class Order { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +178,7 @@ public class Order { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +187,6 @@ public class Order { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java index feb747dc8a6..94a3a82911c 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java @@ -24,7 +24,6 @@ import javax.annotation.Generated; /** * A pet for sale in the pet store */ - @ApiModel(description = "A pet for sale in the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -77,7 +76,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -102,8 +100,7 @@ public class Pet { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -122,8 +119,7 @@ public class Pet { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -142,8 +138,7 @@ public class Pet { * Get name * @return name */ - @NotNull - @ApiModelProperty(example = "doggie", required = true, value = "") + @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty("name") public String getName() { return name; @@ -170,8 +165,7 @@ public class Pet { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -198,8 +192,7 @@ public class Pet { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -219,8 +212,7 @@ public class Pet { * @return status * @deprecated */ - - @ApiModelProperty(value = "pet status in the store") + @ApiModelProperty(value = "pet status in the store") @JsonProperty("status") @Deprecated public StatusEnum getStatus() { @@ -234,7 +226,6 @@ public class Pet { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Tag.java index 4ff8d5c9bb3..605763166f0 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Tag.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { @@ -36,8 +35,7 @@ public class Tag { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +54,7 @@ public class Tag { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +63,6 @@ public class Tag { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java index a73b85014aa..a1a215b86b7 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/User.java @@ -18,7 +18,6 @@ import javax.annotation.Generated; /** * A User who is purchasing from the pet store */ - @ApiModel(description = "A User who is purchasing from the pet store") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class User { @@ -48,8 +47,7 @@ public class User { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +66,7 @@ public class User { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +85,7 @@ public class User { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +104,7 @@ public class User { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +123,7 @@ public class User { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +142,7 @@ public class User { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +161,7 @@ public class User { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +180,7 @@ public class User { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +189,6 @@ public class User { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java index ecd7e4fdb7b..cb942d9641a 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesAnyType */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesAnyType { @@ -80,7 +79,6 @@ public class AdditionalPropertiesAnyType { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java index edeca9df56b..b9bc156f833 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesArray.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesArray */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesArray { @@ -81,7 +80,6 @@ public class AdditionalPropertiesArray { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java index 3c873e25f51..28fa8492139 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesBoolean.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesBoolean */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesBoolean { @@ -80,7 +79,6 @@ public class AdditionalPropertiesBoolean { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 39c2c8de79d..f8fb28203c3 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -22,7 +22,6 @@ import jakarta.annotation.Generated; /** * AdditionalPropertiesClass */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesClass { @@ -328,7 +327,6 @@ public class AdditionalPropertiesClass { public void setAnytype3(Object anytype3) { this.anytype3 = anytype3; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java index 6315c9646a5..68a952dd288 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesInteger.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesInteger */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesInteger { @@ -80,7 +79,6 @@ public class AdditionalPropertiesInteger { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java index 168833b9709..ea27e0a42a2 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesNumber.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesNumber */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesNumber { @@ -81,7 +80,6 @@ public class AdditionalPropertiesNumber { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java index 818d17a5ec0..815dc718aff 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesObject.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesObject */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesObject { @@ -81,7 +80,6 @@ public class AdditionalPropertiesObject { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesString.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesString.java index 616168f4150..158b67576a8 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesString.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesString.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesString */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesString { @@ -80,7 +79,6 @@ public class AdditionalPropertiesString { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java index a42a82e2f43..0ff69c4eb25 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java @@ -18,7 +18,6 @@ import jakarta.annotation.Generated; /** * Animal */ - @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -29,7 +28,6 @@ import jakarta.annotation.Generated; @JsonSubTypes.Type(value = Cat.class, name = "Cat"), @JsonSubTypes.Type(value = Dog.class, name = "Dog") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Animal { @@ -85,7 +83,6 @@ public class Animal { public void setColor(String color) { this.color = color; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 71529a2c4e7..16b46582b2a 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * ArrayOfArrayOfNumberOnly */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfArrayOfNumberOnly { @@ -52,7 +51,6 @@ public class ArrayOfArrayOfNumberOnly { public void setArrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index ff79c2af2f5..29bb9df6af8 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * ArrayOfNumberOnly */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfNumberOnly { @@ -52,7 +51,6 @@ public class ArrayOfNumberOnly { public void setArrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java index 2f76cf154cc..d535c76ce77 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * ArrayTest */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayTest { @@ -112,7 +111,6 @@ public class ArrayTest { public void setArrayArrayOfModel(List> arrayArrayOfModel) { this.arrayArrayOfModel = arrayArrayOfModel; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/BigCat.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/BigCat.java index 442a5af808e..da670ec39a4 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/BigCat.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/BigCat.java @@ -20,8 +20,6 @@ import jakarta.annotation.Generated; /** * BigCat */ - - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class BigCat extends Cat { @@ -63,7 +61,6 @@ public class BigCat extends Cat { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private KindEnum kind; public BigCat() { @@ -96,7 +93,6 @@ public class BigCat extends Cat { this.kind = kind; } - public BigCat declawed(Boolean declawed) { super.declawed(declawed); return this; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Capitalization.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Capitalization.java index 41bd9eb740a..0f127acfe39 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Capitalization.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Capitalization.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Capitalization */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Capitalization { @@ -144,7 +143,6 @@ public class Capitalization { public void setATTNAME(String ATT_NAME) { this.ATT_NAME = ATT_NAME; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Cat.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Cat.java index a3fede1f69e..5aeb81eb52e 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Cat.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Cat.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * Cat */ - @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -28,7 +27,6 @@ import jakarta.annotation.Generated; @JsonSubTypes({ @JsonSubTypes.Type(value = BigCat.class, name = "BigCat") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Cat extends Animal { @@ -64,7 +62,6 @@ public class Cat extends Animal { this.declawed = declawed; } - public Cat className(String className) { super.className(className); return this; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Category.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Category.java index 5c69c65f72a..235ab3a9263 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Category.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Category.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Category */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Category { @@ -71,7 +70,6 @@ public class Category { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ChildWithNullable.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ChildWithNullable.java index 5f7686261ff..342896ee213 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ChildWithNullable.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ChildWithNullable.java @@ -22,8 +22,6 @@ import jakarta.annotation.Generated; /** * ChildWithNullable */ - - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ChildWithNullable extends ParentWithNullable { @@ -48,7 +46,6 @@ public class ChildWithNullable extends ParentWithNullable { this.otherProperty = otherProperty; } - public ChildWithNullable type(TypeEnum type) { super.type(type); return this; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ClassModel.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ClassModel.java index 71fe3e71c0c..9ddd696926c 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ClassModel.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ClassModel.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Model for testing model with \"_class\" property */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ClassModel { @@ -39,7 +38,6 @@ public class ClassModel { public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Client.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Client.java index 281712328fd..306a2d92e16 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Client.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Client.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Client */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Client { @@ -39,7 +38,6 @@ public class Client { public void setClient(String client) { this.client = client; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ContainerDefaultValue.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ContainerDefaultValue.java index 7a7c199ee78..bab75cc841a 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ContainerDefaultValue.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ContainerDefaultValue.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * ContainerDefaultValue */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ContainerDefaultValue { @@ -155,7 +154,6 @@ public class ContainerDefaultValue { public void setNullableArrayWithDefault(JsonNullable> nullableArrayWithDefault) { this.nullableArrayWithDefault = nullableArrayWithDefault; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Dog.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Dog.java index 95ca7dd4558..df6a3c4f7c9 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Dog.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Dog.java @@ -19,8 +19,6 @@ import jakarta.annotation.Generated; /** * Dog */ - - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Dog extends Animal { @@ -56,7 +54,6 @@ public class Dog extends Animal { this.breed = breed; } - public Dog className(String className) { super.className(className); return this; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java index 51c9f5db8be..8f17fbac9d5 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * EnumArrays */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class EnumArrays { @@ -57,7 +56,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private JustSymbolEnum justSymbol; /** @@ -94,7 +92,6 @@ public class EnumArrays { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private List arrayEnum = new ArrayList<>(); @@ -143,7 +140,6 @@ public class EnumArrays { public void setArrayEnum(List arrayEnum) { this.arrayEnum = arrayEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumClass.java index 643cb409818..e51e3f48844 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumClass.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Gets or Sets EnumClass */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public enum EnumClass { @@ -53,4 +52,3 @@ public enum EnumClass { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumTest.java index d8a769b8ff8..227033578f4 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumTest.java @@ -18,7 +18,6 @@ import jakarta.annotation.Generated; /** * EnumTest */ - @JsonTypeName("Enum_Test") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class EnumTest { @@ -59,7 +58,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringEnum enumString; /** @@ -98,7 +96,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringRequiredEnum enumStringRequired; /** @@ -135,7 +132,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumIntegerEnum enumInteger; /** @@ -172,7 +168,6 @@ public class EnumTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumNumberEnum enumNumber; private OuterEnum outerEnum; @@ -282,7 +277,6 @@ public class EnumTest { public void setOuterEnum(OuterEnum outerEnum) { this.outerEnum = outerEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/File.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/File.java index 7b4ddc4387e..da7bec3f49e 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/File.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/File.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Must be named `File` for test. */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class File { @@ -39,7 +38,6 @@ public class File { public void setSourceURI(String sourceURI) { this.sourceURI = sourceURI; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 0f34e38e65e..c56e336f7c5 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * FileSchemaTestClass */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FileSchemaTestClass { @@ -73,7 +72,6 @@ public class FileSchemaTestClass { public void setFiles(List files) { this.files = files; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FormatTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FormatTest.java index 8988905a8e2..f49f397e0c5 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FormatTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FormatTest.java @@ -22,7 +22,6 @@ import jakarta.annotation.Generated; /** * FormatTest */ - @JsonTypeName("format_test") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FormatTest { @@ -346,7 +345,6 @@ public class FormatTest { public void setBigDecimal(BigDecimal bigDecimal) { this.bigDecimal = bigDecimal; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/HasOnlyReadOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/HasOnlyReadOnly.java index 858bb4de1e8..5e9037ded57 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/HasOnlyReadOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/HasOnlyReadOnly.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * HasOnlyReadOnly */ - @JsonTypeName("hasOnlyReadOnly") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class HasOnlyReadOnly { @@ -62,7 +61,6 @@ public class HasOnlyReadOnly { public void setFoo(String foo) { this.foo = foo; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java index 2f524edaba6..5d939b197ff 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java @@ -18,7 +18,6 @@ import jakarta.annotation.Generated; /** * MapTest */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MapTest { @@ -59,7 +58,6 @@ public class MapTest { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private Map mapOfEnumString = new HashMap<>(); @@ -176,7 +174,6 @@ public class MapTest { public void setIndirectMap(Map indirectMap) { this.indirectMap = indirectMap; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index c46196fe143..d5f0606a6a5 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -21,7 +21,6 @@ import jakarta.annotation.Generated; /** * MixedPropertiesAndAdditionalPropertiesClass */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MixedPropertiesAndAdditionalPropertiesClass { @@ -97,7 +96,6 @@ public class MixedPropertiesAndAdditionalPropertiesClass { public void setMap(Map map) { this.map = map; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Model200Response.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Model200Response.java index afccd07f0bf..338ec8389fd 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Model200Response.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Model200Response.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing model name starting with number */ - @JsonTypeName("200_response") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Model200Response { @@ -62,7 +61,6 @@ public class Model200Response { public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelApiResponse.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelApiResponse.java index 0ca978c25ca..07eae951caf 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelApiResponse.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelApiResponse.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ModelApiResponse */ - @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelApiResponse { @@ -83,7 +82,6 @@ public class ModelApiResponse { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelList.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelList.java index 460cebba80a..f16873e9060 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelList.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelList.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ModelList */ - @JsonTypeName("List") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelList { @@ -41,7 +40,6 @@ public class ModelList { public void set123list(String _123list) { this._123list = _123list; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelReturn.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelReturn.java index 91c2a457e68..fce1b70f783 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelReturn.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ModelReturn.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing reserved words */ - @JsonTypeName("Return") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ModelReturn { @@ -41,7 +40,6 @@ public class ModelReturn { public void setReturn(Integer _return) { this._return = _return; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Name.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Name.java index 92698677a64..73c4b91768a 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Name.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Name.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Model for testing model name same as property name */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Name { @@ -113,7 +112,6 @@ public class Name { public void set123number(Integer _123number) { this._123number = _123number; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NullableMapProperty.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NullableMapProperty.java index a233bff1bef..0f1f530bc72 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NullableMapProperty.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NullableMapProperty.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * NullableMapProperty */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NullableMapProperty { @@ -53,7 +52,6 @@ public class NullableMapProperty { public void setLanguageValues(JsonNullable> languageValues) { this.languageValues = languageValues; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NumberOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NumberOnly.java index c59a970f929..c5add63de9e 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/NumberOnly.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * NumberOnly */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NumberOnly { @@ -40,7 +39,6 @@ public class NumberOnly { public void setJustNumber(BigDecimal justNumber) { this.justNumber = justNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java index 0f04b776e27..2c6abb7c774 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java @@ -18,7 +18,6 @@ import jakarta.annotation.Generated; /** * Order */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Order { @@ -67,7 +66,6 @@ public class Order { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -185,7 +183,6 @@ public class Order { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterComposite.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterComposite.java index 828d3705ec4..822a7772123 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterComposite.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterComposite.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * OuterComposite */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class OuterComposite { @@ -82,7 +81,6 @@ public class OuterComposite { public void setMyBoolean(Boolean myBoolean) { this.myBoolean = myBoolean; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterEnum.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterEnum.java index e197a8ae6c9..c0548200795 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterEnum.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/OuterEnum.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Gets or Sets OuterEnum */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public enum OuterEnum { @@ -53,4 +52,3 @@ public enum OuterEnum { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ParentWithNullable.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ParentWithNullable.java index 1cfea276705..44816b91f65 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ParentWithNullable.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ParentWithNullable.java @@ -22,7 +22,6 @@ import jakarta.annotation.Generated; /** * ParentWithNullable */ - @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -31,7 +30,6 @@ import jakarta.annotation.Generated; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullable.class, name = "ChildWithNullable") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ParentWithNullable { @@ -67,7 +65,6 @@ public class ParentWithNullable { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private TypeEnum type; private JsonNullable nullableProperty = JsonNullable.undefined(); @@ -109,7 +106,6 @@ public class ParentWithNullable { public void setNullableProperty(JsonNullable nullableProperty) { this.nullableProperty = nullableProperty; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java index 77d3d6a1390..8a1de4bb567 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java @@ -24,7 +24,6 @@ import jakarta.annotation.Generated; /** * Pet */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Pet { @@ -76,7 +75,6 @@ public class Pet { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -228,7 +226,6 @@ public class Pet { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ReadOnlyFirst.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ReadOnlyFirst.java index 39be1c79e73..fb62263dc70 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ReadOnlyFirst.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ReadOnlyFirst.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * ReadOnlyFirst */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ReadOnlyFirst { @@ -60,7 +59,6 @@ public class ReadOnlyFirst { public void setBaz(String baz) { this.baz = baz; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNames.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNames.java index bc9eb1e50a1..bb1d55f6266 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNames.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNames.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * ResponseObjectWithDifferentFieldNames */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ResponseObjectWithDifferentFieldNames { @@ -102,7 +101,6 @@ public class ResponseObjectWithDifferentFieldNames { public void setPropertyNameWithSpaces(String propertyNameWithSpaces) { this.propertyNameWithSpaces = propertyNameWithSpaces; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/SpecialModelName.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/SpecialModelName.java index 381f845a45a..9567c86f3f0 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/SpecialModelName.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/SpecialModelName.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * SpecialModelName */ - @JsonTypeName("_special_model.name_") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class SpecialModelName { @@ -41,7 +40,6 @@ public class SpecialModelName { public void set$SpecialPropertyName(Long $specialPropertyName) { this.$specialPropertyName = $specialPropertyName; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Tag.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Tag.java index be7fe4bbe67..ac54d904ca8 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Tag.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Tag.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * Tag */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Tag { @@ -60,7 +59,6 @@ public class Tag { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderDefault.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderDefault.java index 4d686871a87..e3c57280120 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderDefault.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderDefault.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * TypeHolderDefault */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TypeHolderDefault { @@ -151,7 +150,6 @@ public class TypeHolderDefault { public void setArrayItem(List arrayItem) { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderExample.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderExample.java index 9890eee7782..99555cea23b 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderExample.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/TypeHolderExample.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * TypeHolderExample */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TypeHolderExample { @@ -173,7 +172,6 @@ public class TypeHolderExample { public void setArrayItem(List arrayItem) { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java index 6e835645720..64267d836ac 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/User.java @@ -15,7 +15,6 @@ import jakarta.annotation.Generated; /** * User */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class User { @@ -186,7 +185,6 @@ public class User { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java index 30a4ffe2b3d..173fd88478f 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * XmlItem */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class XmlItem { @@ -712,7 +711,6 @@ public class XmlItem { public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { this.prefixNsWrappedArray = prefixNsWrappedArray; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesAnyTypeDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesAnyTypeDto.java index 2e0ab2b71f9..d9e825fa389 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesAnyTypeDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesAnyTypeDto.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesAnyTypeDto */ - @JsonTypeName("AdditionalPropertiesAnyType") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesAnyTypeDto { @@ -82,7 +81,6 @@ public class AdditionalPropertiesAnyTypeDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesArrayDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesArrayDto.java index 8b80ba556b4..40e5c331648 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesArrayDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesArrayDto.java @@ -21,7 +21,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesArrayDto */ - @JsonTypeName("AdditionalPropertiesArray") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesArrayDto { @@ -83,7 +82,6 @@ public class AdditionalPropertiesArrayDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesBooleanDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesBooleanDto.java index 9c9e6fcc79d..c0b31c04b28 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesBooleanDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesBooleanDto.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesBooleanDto */ - @JsonTypeName("AdditionalPropertiesBoolean") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesBooleanDto { @@ -82,7 +81,6 @@ public class AdditionalPropertiesBooleanDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java index 44b38195aa4..8302f4e34aa 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java @@ -23,7 +23,6 @@ import jakarta.annotation.Generated; /** * AdditionalPropertiesClassDto */ - @JsonTypeName("AdditionalPropertiesClass") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesClassDto { @@ -330,7 +329,6 @@ public class AdditionalPropertiesClassDto { public void setAnytype3(Object anytype3) { this.anytype3 = anytype3; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesIntegerDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesIntegerDto.java index 00204124ac6..d9ba7e74dad 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesIntegerDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesIntegerDto.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesIntegerDto */ - @JsonTypeName("AdditionalPropertiesInteger") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesIntegerDto { @@ -82,7 +81,6 @@ public class AdditionalPropertiesIntegerDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesNumberDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesNumberDto.java index 37bf801921d..cb835e95dd6 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesNumberDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesNumberDto.java @@ -21,7 +21,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesNumberDto */ - @JsonTypeName("AdditionalPropertiesNumber") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesNumberDto { @@ -83,7 +82,6 @@ public class AdditionalPropertiesNumberDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesObjectDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesObjectDto.java index 0a756750b45..f323a9edffb 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesObjectDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesObjectDto.java @@ -21,7 +21,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesObjectDto */ - @JsonTypeName("AdditionalPropertiesObject") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesObjectDto { @@ -83,7 +82,6 @@ public class AdditionalPropertiesObjectDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesStringDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesStringDto.java index 490f207f3bb..a547bac59aa 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesStringDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesStringDto.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.annotation.JsonAnySetter; /** * AdditionalPropertiesStringDto */ - @JsonTypeName("AdditionalPropertiesString") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AdditionalPropertiesStringDto { @@ -82,7 +81,6 @@ public class AdditionalPropertiesStringDto { } return this.additionalProperties.get(key); } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java index 8e707956747..57a48e4cf84 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * AnimalDto */ - @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -30,7 +29,6 @@ import jakarta.annotation.Generated; @JsonSubTypes.Type(value = CatDto.class, name = "Cat"), @JsonSubTypes.Type(value = DogDto.class, name = "Dog") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class AnimalDto { @@ -79,7 +77,6 @@ public class AnimalDto { public void setColor(String color) { this.color = color; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ApiResponseDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ApiResponseDto.java index 9a846146ce0..754913fc550 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ApiResponseDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ApiResponseDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ApiResponseDto */ - @JsonTypeName("ApiResponse") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ApiResponseDto { @@ -83,7 +82,6 @@ public class ApiResponseDto { public void setMessage(String message) { this.message = message; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java index ea8ba785db6..8b6963ed560 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * ArrayOfArrayOfNumberOnlyDto */ - @JsonTypeName("ArrayOfArrayOfNumberOnly") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfArrayOfNumberOnlyDto { @@ -54,7 +53,6 @@ public class ArrayOfArrayOfNumberOnlyDto { public void setArrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java index 30d1a57ffc3..ec810498194 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * ArrayOfNumberOnlyDto */ - @JsonTypeName("ArrayOfNumberOnly") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayOfNumberOnlyDto { @@ -54,7 +53,6 @@ public class ArrayOfNumberOnlyDto { public void setArrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java index 2d2ddd679e1..b1db1b89333 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * ArrayTestDto */ - @JsonTypeName("ArrayTest") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ArrayTestDto { @@ -114,7 +113,6 @@ public class ArrayTestDto { public void setArrayArrayOfModel(List> arrayArrayOfModel) { this.arrayArrayOfModel = arrayArrayOfModel; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/BigCatDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/BigCatDto.java index f73db61a75f..51656a2c249 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/BigCatDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/BigCatDto.java @@ -21,8 +21,6 @@ import jakarta.annotation.Generated; /** * BigCatDto */ - - @JsonTypeName("BigCat") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class BigCatDto extends CatDto { @@ -65,7 +63,6 @@ public class BigCatDto extends CatDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private KindEnum kind; public BigCatDto() { @@ -91,7 +88,6 @@ public class BigCatDto extends CatDto { this.kind = kind; } - public BigCatDto declawed(Boolean declawed) { super.declawed(declawed); return this; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CapitalizationDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CapitalizationDto.java index 29004fbd2d7..79992b50901 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CapitalizationDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CapitalizationDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * CapitalizationDto */ - @JsonTypeName("Capitalization") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class CapitalizationDto { @@ -146,7 +145,6 @@ public class CapitalizationDto { public void setATTNAME(String ATT_NAME) { this.ATT_NAME = ATT_NAME; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CatDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CatDto.java index 2b112fd7f06..a6fd2c77fb6 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CatDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CatDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * CatDto */ - @JsonIgnoreProperties( value = "className", // ignore manually set className, it will be automatically generated by Jackson during serialization allowSetters = true // allows the className to be set during deserialization @@ -29,7 +28,6 @@ import jakarta.annotation.Generated; @JsonSubTypes({ @JsonSubTypes.Type(value = BigCatDto.class, name = "BigCat") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class CatDto extends AnimalDto { @@ -58,7 +56,6 @@ public class CatDto extends AnimalDto { this.declawed = declawed; } - public CatDto className(String className) { super.className(className); return this; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CategoryDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CategoryDto.java index 50b7e72c7b9..44cd55d26e6 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CategoryDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/CategoryDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * CategoryDto */ - @JsonTypeName("Category") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class CategoryDto { @@ -66,7 +65,6 @@ public class CategoryDto { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ChildWithNullableDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ChildWithNullableDto.java index fec58976648..342701b41d5 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ChildWithNullableDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ChildWithNullableDto.java @@ -23,8 +23,6 @@ import jakarta.annotation.Generated; /** * ChildWithNullableDto */ - - @JsonTypeName("ChildWithNullable") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ChildWithNullableDto extends ParentWithNullableDto { @@ -50,7 +48,6 @@ public class ChildWithNullableDto extends ParentWithNullableDto { this.otherProperty = otherProperty; } - public ChildWithNullableDto type(TypeEnum type) { super.type(type); return this; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClassModelDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClassModelDto.java index d37b129b629..4066e8ef70f 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClassModelDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClassModelDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing model with \"_class\" property */ - @JsonTypeName("ClassModel") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ClassModelDto { @@ -41,7 +40,6 @@ public class ClassModelDto { public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClientDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClientDto.java index 8287c800ac0..4f3f36127c1 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClientDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ClientDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ClientDto */ - @JsonTypeName("Client") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ClientDto { @@ -41,7 +40,6 @@ public class ClientDto { public void setClient(String client) { this.client = client; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ContainerDefaultValueDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ContainerDefaultValueDto.java index 8ee2ae2348f..a1d409b92d2 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ContainerDefaultValueDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ContainerDefaultValueDto.java @@ -21,7 +21,6 @@ import jakarta.annotation.Generated; /** * ContainerDefaultValueDto */ - @JsonTypeName("ContainerDefaultValue") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ContainerDefaultValueDto { @@ -149,7 +148,6 @@ public class ContainerDefaultValueDto { public void setNullableArrayWithDefault(JsonNullable> nullableArrayWithDefault) { this.nullableArrayWithDefault = nullableArrayWithDefault; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/DogDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/DogDto.java index c6c5d4d1179..ab309383993 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/DogDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/DogDto.java @@ -20,8 +20,6 @@ import jakarta.annotation.Generated; /** * DogDto */ - - @JsonTypeName("Dog") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class DogDto extends AnimalDto { @@ -51,7 +49,6 @@ public class DogDto extends AnimalDto { this.breed = breed; } - public DogDto className(String className) { super.className(className); return this; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java index fd202ea3b0e..ac06d3539ea 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * EnumArraysDto */ - @JsonTypeName("EnumArrays") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class EnumArraysDto { @@ -59,7 +58,6 @@ public class EnumArraysDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private JustSymbolEnum justSymbol; /** @@ -96,7 +94,6 @@ public class EnumArraysDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private List arrayEnum = new ArrayList<>(); @@ -145,7 +142,6 @@ public class EnumArraysDto { public void setArrayEnum(List arrayEnum) { this.arrayEnum = arrayEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumClassDto.java index 26d5218529c..5c6ed67eb74 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumClassDto.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Gets or Sets EnumClass */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public enum EnumClassDto { @@ -53,4 +52,3 @@ public enum EnumClassDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumTestDto.java index d8aeb47ac05..5787bf19f09 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumTestDto.java @@ -18,7 +18,6 @@ import jakarta.annotation.Generated; /** * EnumTestDto */ - @JsonTypeName("Enum_Test") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class EnumTestDto { @@ -59,7 +58,6 @@ public class EnumTestDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringEnum enumString; /** @@ -98,7 +96,6 @@ public class EnumTestDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringRequiredEnum enumStringRequired; /** @@ -135,7 +132,6 @@ public class EnumTestDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumIntegerEnum enumInteger; /** @@ -172,7 +168,6 @@ public class EnumTestDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumNumberEnum enumNumber; private OuterEnumDto outerEnum; @@ -275,7 +270,6 @@ public class EnumTestDto { public void setOuterEnum(OuterEnumDto outerEnum) { this.outerEnum = outerEnum; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileDto.java index 12ce616453b..5a98b5a9495 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Must be named `File` for test. */ - @JsonTypeName("File") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FileDto { @@ -41,7 +40,6 @@ public class FileDto { public void setSourceURI(String sourceURI) { this.sourceURI = sourceURI; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java index 3c2236bc5ec..819d2689bce 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * FileSchemaTestClassDto */ - @JsonTypeName("FileSchemaTestClass") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FileSchemaTestClassDto { @@ -75,7 +74,6 @@ public class FileSchemaTestClassDto { public void setFiles(List files) { this.files = files; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FormatTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FormatTestDto.java index 4ab0407111f..ea504f406ea 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FormatTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FormatTestDto.java @@ -22,7 +22,6 @@ import jakarta.annotation.Generated; /** * FormatTestDto */ - @JsonTypeName("format_test") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class FormatTestDto { @@ -336,7 +335,6 @@ public class FormatTestDto { public void setBigDecimal(BigDecimal bigDecimal) { this.bigDecimal = bigDecimal; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/HasOnlyReadOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/HasOnlyReadOnlyDto.java index 30f7074c085..9d60b8b1aac 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/HasOnlyReadOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/HasOnlyReadOnlyDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * HasOnlyReadOnlyDto */ - @JsonTypeName("hasOnlyReadOnly") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class HasOnlyReadOnlyDto { @@ -62,7 +61,6 @@ public class HasOnlyReadOnlyDto { public void setFoo(String foo) { this.foo = foo; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ListDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ListDto.java index 46509c23354..fe6d523f0c3 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ListDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ListDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ListDto */ - @JsonTypeName("List") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ListDto { @@ -41,7 +40,6 @@ public class ListDto { public void set123list(String _123list) { this._123list = _123list; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java index 7e0fcac66ba..08e8e60833e 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * MapTestDto */ - @JsonTypeName("MapTest") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MapTestDto { @@ -61,7 +60,6 @@ public class MapTestDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private Map mapOfEnumString = new HashMap<>(); @@ -178,7 +176,6 @@ public class MapTestDto { public void setIndirectMap(Map indirectMap) { this.indirectMap = indirectMap; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java index d62491e3c85..6164117c143 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java @@ -22,7 +22,6 @@ import jakarta.annotation.Generated; /** * MixedPropertiesAndAdditionalPropertiesClassDto */ - @JsonTypeName("MixedPropertiesAndAdditionalPropertiesClass") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class MixedPropertiesAndAdditionalPropertiesClassDto { @@ -99,7 +98,6 @@ public class MixedPropertiesAndAdditionalPropertiesClassDto { public void setMap(Map map) { this.map = map; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/Model200ResponseDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/Model200ResponseDto.java index d5725150caf..e029f361055 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/Model200ResponseDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/Model200ResponseDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing model name starting with number */ - @JsonTypeName("200_response") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class Model200ResponseDto { @@ -62,7 +61,6 @@ public class Model200ResponseDto { public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NameDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NameDto.java index 62a4b8308c2..ad827ba5d8d 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NameDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NameDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing model name same as property name */ - @JsonTypeName("Name") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NameDto { @@ -108,7 +107,6 @@ public class NameDto { public void set123number(Integer _123number) { this._123number = _123number; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NullableMapPropertyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NullableMapPropertyDto.java index 636fcac316d..1485191864f 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NullableMapPropertyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NullableMapPropertyDto.java @@ -21,7 +21,6 @@ import jakarta.annotation.Generated; /** * NullableMapPropertyDto */ - @JsonTypeName("NullableMapProperty") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NullableMapPropertyDto { @@ -55,7 +54,6 @@ public class NullableMapPropertyDto { public void setLanguageValues(JsonNullable> languageValues) { this.languageValues = languageValues; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NumberOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NumberOnlyDto.java index 60ffd8eefb3..f877f927ca3 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/NumberOnlyDto.java @@ -17,7 +17,6 @@ import jakarta.annotation.Generated; /** * NumberOnlyDto */ - @JsonTypeName("NumberOnly") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class NumberOnlyDto { @@ -42,7 +41,6 @@ public class NumberOnlyDto { public void setJustNumber(BigDecimal justNumber) { this.justNumber = justNumber; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java index 41e8944a037..0df2c911509 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java @@ -19,7 +19,6 @@ import jakarta.annotation.Generated; /** * OrderDto */ - @JsonTypeName("Order") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class OrderDto { @@ -69,7 +68,6 @@ public class OrderDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -187,7 +185,6 @@ public class OrderDto { public void setComplete(Boolean complete) { this.complete = complete; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterCompositeDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterCompositeDto.java index 8c191ab0ad8..30067218a53 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterCompositeDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterCompositeDto.java @@ -17,7 +17,6 @@ import jakarta.annotation.Generated; /** * OuterCompositeDto */ - @JsonTypeName("OuterComposite") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class OuterCompositeDto { @@ -84,7 +83,6 @@ public class OuterCompositeDto { public void setMyBoolean(Boolean myBoolean) { this.myBoolean = myBoolean; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterEnumDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterEnumDto.java index 0064e001320..3dead0596f8 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterEnumDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OuterEnumDto.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonValue; /** * Gets or Sets OuterEnum */ - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public enum OuterEnumDto { @@ -53,4 +52,3 @@ public enum OuterEnumDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ParentWithNullableDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ParentWithNullableDto.java index 4eda01f387a..fea061703d7 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ParentWithNullableDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ParentWithNullableDto.java @@ -23,7 +23,6 @@ import jakarta.annotation.Generated; /** * ParentWithNullableDto */ - @JsonIgnoreProperties( value = "type", // ignore manually set type, it will be automatically generated by Jackson during serialization allowSetters = true // allows the type to be set during deserialization @@ -32,7 +31,6 @@ import jakarta.annotation.Generated; @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullableDto.class, name = "ChildWithNullable") }) - @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ParentWithNullableDto { @@ -68,7 +66,6 @@ public class ParentWithNullableDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private TypeEnum type; private JsonNullable nullableProperty = JsonNullable.undefined(); @@ -110,7 +107,6 @@ public class ParentWithNullableDto { public void setNullableProperty(JsonNullable nullableProperty) { this.nullableProperty = nullableProperty; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java index 063c258f70e..1519a1e26c4 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java @@ -25,7 +25,6 @@ import jakarta.annotation.Generated; /** * PetDto */ - @JsonTypeName("Pet") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class PetDto { @@ -78,7 +77,6 @@ public class PetDto { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -222,7 +220,6 @@ public class PetDto { public void setStatus(StatusEnum status) { this.status = status; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReadOnlyFirstDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReadOnlyFirstDto.java index 7edabf2176b..bbb325e69de 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReadOnlyFirstDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReadOnlyFirstDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ReadOnlyFirstDto */ - @JsonTypeName("ReadOnlyFirst") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ReadOnlyFirstDto { @@ -62,7 +61,6 @@ public class ReadOnlyFirstDto { public void setBaz(String baz) { this.baz = baz; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNamesDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNamesDto.java index 496e790e806..83de80c3b44 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNamesDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ResponseObjectWithDifferentFieldNamesDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * ResponseObjectWithDifferentFieldNamesDto */ - @JsonTypeName("ResponseObjectWithDifferentFieldNames") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ResponseObjectWithDifferentFieldNamesDto { @@ -104,7 +103,6 @@ public class ResponseObjectWithDifferentFieldNamesDto { public void setPropertyNameWithSpaces(String propertyNameWithSpaces) { this.propertyNameWithSpaces = propertyNameWithSpaces; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReturnDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReturnDto.java index 1a684fcad25..e78ab137bfb 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReturnDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ReturnDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * Model for testing reserved words */ - @JsonTypeName("Return") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class ReturnDto { @@ -41,7 +40,6 @@ public class ReturnDto { public void setReturn(Integer _return) { this._return = _return; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/SpecialModelNameDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/SpecialModelNameDto.java index 6bcdc25f5e2..8f7df28c87d 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/SpecialModelNameDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/SpecialModelNameDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * SpecialModelNameDto */ - @JsonTypeName("_special_model.name_") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class SpecialModelNameDto { @@ -41,7 +40,6 @@ public class SpecialModelNameDto { public void set$SpecialPropertyName(Long $specialPropertyName) { this.$specialPropertyName = $specialPropertyName; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TagDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TagDto.java index 9b13b37f2bd..48086aef46a 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TagDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TagDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * TagDto */ - @JsonTypeName("Tag") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TagDto { @@ -62,7 +61,6 @@ public class TagDto { public void setName(String name) { this.name = name; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderDefaultDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderDefaultDto.java index 1bbea0b65c3..35c3ef38b39 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderDefaultDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderDefaultDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * TypeHolderDefaultDto */ - @JsonTypeName("TypeHolderDefault") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TypeHolderDefaultDto { @@ -142,7 +141,6 @@ public class TypeHolderDefaultDto { public void setArrayItem(List arrayItem) { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderExampleDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderExampleDto.java index 74631a3fd3e..d04d2684f90 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderExampleDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/TypeHolderExampleDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * TypeHolderExampleDto */ - @JsonTypeName("TypeHolderExample") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class TypeHolderExampleDto { @@ -163,7 +162,6 @@ public class TypeHolderExampleDto { public void setArrayItem(List arrayItem) { this.arrayItem = arrayItem; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java index 74471fd80fc..58fd0af5c70 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/UserDto.java @@ -16,7 +16,6 @@ import jakarta.annotation.Generated; /** * UserDto */ - @JsonTypeName("User") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class UserDto { @@ -188,7 +187,6 @@ public class UserDto { public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java index edd3001a00f..d9405336e19 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java @@ -20,7 +20,6 @@ import jakarta.annotation.Generated; /** * XmlItemDto */ - @JsonTypeName("XmlItem") @Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.10.0-SNAPSHOT") public class XmlItemDto { @@ -714,7 +713,6 @@ public class XmlItemDto { public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { this.prefixNsWrappedArray = prefixNsWrappedArray; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/APIs/PetAPI.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/APIs/PetAPI.swift index 94a82a25ec6..81ba2a30e93 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/APIs/PetAPI.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/APIs/PetAPI.swift @@ -477,7 +477,6 @@ open class PetAPI { multipartData.append(additionalMetadata.data(using: .utf8) ?? Data()) multipartData.append("\r\n".data(using: .utf8) ?? Data()) } - if let file = file { let fileHeader = "--\(multipartBoundary)\r\n" .appending("Content-Disposition:form-data; name=\"file\"; filename=\"file\"\r\n") @@ -485,7 +484,6 @@ open class PetAPI { multipartData.append(fileHeader.data(using: .utf8) ?? Data()) multipartData.append(file) } - multipartData.append("\r\n--\(multipartBoundary)--\r\n".data(using: .utf8) ?? Data()) request.httpBody = multipartData request.setValue("\(multipartData.count)", forHTTPHeaderField: "Content-Length") diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/ApiResponse.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/ApiResponse.swift index 6aca7a2cca2..68cf2a5422b 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/ApiResponse.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/ApiResponse.swift @@ -18,4 +18,4 @@ public struct ApiResponse: Codable { self.type = type self.message = message } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Category.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Category.swift index 23177663e24..8656621dbe5 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Category.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Category.swift @@ -16,4 +16,4 @@ public struct Category: Codable { self.id = id self.name = name } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Order.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Order.swift index 5bdf9cc1212..5ce2e94842b 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Order.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable { case placed = "placed" case approved = "approved" case shipped = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? @@ -30,4 +29,4 @@ public struct Order: Codable { self.status = status self.complete = complete } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Pet.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Pet.swift index 3a3833c751e..1e2acc72725 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Pet.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] @@ -30,4 +29,4 @@ public struct Pet: Codable { self.tags = tags self.status = status } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Tag.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Tag.swift index e3e878a4f70..d7af30fe039 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Tag.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/Tag.swift @@ -16,4 +16,4 @@ public struct Tag: Codable { self.id = id self.name = name } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/User.swift b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/User.swift index 679ca0d472b..bab063c9099 100644 --- a/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/User.swift +++ b/samples/client/petstore/swift-combine/client/PetstoreOpenAPI/Sources/Models/User.swift @@ -29,4 +29,4 @@ public struct User: Codable { self.phone = phone self.userStatus = userStatus } -} +} \ No newline at end of file diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f86..694bdaa879d 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd..06a380cc92c 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f86..694bdaa879d 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd..06a380cc92c 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f86..694bdaa879d 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd..06a380cc92c 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/BigCat.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/BigCat.swift index 6a01769ede3..dea0fae0319 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/BigCat.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/BigCat.swift @@ -17,8 +17,7 @@ public struct BigCat: Codable, JSONEncodable, Hashable { case tigers = "tigers" case leopards = "leopards" case jaguars = "jaguars" - } - public var kind: Kind? + } public var kind: Kind? public init(kind: Kind? = nil) { self.kind = kind diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 818233c5fce..206616becfc 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case shipped = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index 394619c072c..c9dc201dcfd 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) + } static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) public var id: Int64? public var category: Category? public var name: String diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index 743ec00c8b7..642846c37c1 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ import AnyCodable public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index f6c43aeb5a8..45f81452507 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ import AnyCodable case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 3539ece4a59..3ba90c26de7 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ import AnyCodable public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 509572ecc4e..370a4fee81f 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ import AnyCodable case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var _id: Int64? + } public var _id: Int64? public var _idNum: NSNumber? { get { return _id as NSNumber? diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index d1f400f2cb3..d1c2d6fe55c 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ import AnyCodable case available = "available" case pending = "pending" case sold = "sold" - } - public var _id: Int64? + } public var _id: Int64? public var _idNum: NSNumber? { get { return _id as NSNumber? diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f86..694bdaa879d 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd..06a380cc92c 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index 6773182d75d..bbaf59860d7 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -16,13 +16,11 @@ internal struct EnumArrays: Codable, JSONEncodable { case greaterThanOrEqualTo = ">=" case dollar = "$" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { case fish = "fish" case crab = "crab" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var justSymbol: JustSymbol? + } internal private(set) var justSymbol: JustSymbol? internal private(set) var arrayEnum: [ArrayEnum]? internal init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index f3415b314e1..726830f9419 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -17,24 +17,20 @@ internal struct EnumTest: Codable, JSONEncodable { case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { case upper = "UPPER" case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { case _1 = 1 case number1 = -1 case unknownDefaultOpenApi = 11184809 - } - internal enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { case _11 = 1.1 case number12 = -1.2 case unknownDefaultOpenApi = 11184809 - } - internal private(set) var enumString: EnumString? + } internal private(set) var enumString: EnumString? internal private(set) var enumStringRequired: EnumStringRequired internal private(set) var enumInteger: EnumInteger? internal private(set) var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 08a3bbb46c7..9e336c08ae3 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -16,8 +16,7 @@ internal struct MapTest: Codable, JSONEncodable { case upper = "UPPER" case lower = "lower" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var mapMapOfString: [String: [String: String]]? + } internal private(set) var mapMapOfString: [String: [String: String]]? internal private(set) var mapOfEnumString: [String: String]? internal private(set) var directMap: [String: Bool]? internal private(set) var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 78eb1c3d8ce..4811e3d5fd6 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -17,8 +17,7 @@ internal struct Order: Codable, JSONEncodable { case approved = "approved" case delivered = "delivered" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var id: Int64? + } internal private(set) var id: Int64? internal private(set) var petId: Int64? internal private(set) var quantity: Int? internal private(set) var shipDate: Date? diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index 26cc4e5eee2..5ad7bd31839 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -17,8 +17,7 @@ internal struct Pet: Codable, JSONEncodable, Hashable { case pending = "pending" case sold = "sold" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var id: Int64? + } internal private(set) var id: Int64? internal private(set) var category: Category? internal private(set) var name: String internal private(set) var photoUrls: [String] diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c5..687027eace4 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea7..b47d4d0d04e 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425..3203f0b04d6 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f86..694bdaa879d 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd..06a380cc92c 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index c9c9ab8756c..d6809f963f4 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -20,12 +20,10 @@ public final class EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift index b0a4756d3e8..bacc821f1ed 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -21,21 +21,17 @@ public final class EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift index 90feda030db..f797319215f 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -20,8 +20,7 @@ public final class MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift index 6a9c4ec8937..1e317f1a06d 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift @@ -21,8 +21,7 @@ public final class Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift index ee791a3947a..ba37f351111 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -21,8 +21,7 @@ public final class Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift index f68dcec1d65..99eb379901b 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift @@ -18,8 +18,7 @@ public final class BigCat: Content, Hashable { case tigers = "tigers" case leopards = "leopards" case jaguars = "jaguars" - } - public var kind: Kind? + } public var kind: Kind? public init(kind: Kind? = nil) { self.kind = kind diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index 0b2b8c32844..6aad4d5060f 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -16,12 +16,10 @@ public final class EnumArrays: Content, Hashable { public enum JustSymbol: String, Content, Hashable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Content, Hashable, CaseIterable { + } public enum ArrayEnum: String, Content, Hashable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift index 044d121b9f3..982a597493c 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -17,21 +17,17 @@ public final class EnumTest: Content, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Content, Hashable, CaseIterable { + } public enum EnumStringRequired: String, Content, Hashable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Content, Hashable, CaseIterable { + } public enum EnumInteger: Int, Content, Hashable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Content, Hashable, CaseIterable { + } public enum EnumNumber: Double, Content, Hashable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift index 2726af8cb65..741af587b05 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -16,8 +16,7 @@ public final class MapTest: Content, Hashable { public enum MapOfEnumString: String, Content, Hashable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Order.swift index 7a7b357cd46..d10d24d78c1 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Order.swift @@ -17,8 +17,7 @@ public final class Order: Content, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift index 73c5b9d0b65..d4222baef84 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -17,8 +17,7 @@ public final class Pet: Content, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) + } static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) public var id: Int64? public var category: Category? public var name: String diff --git a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/alamofireLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/MapTest.swift index a3b8aa8c4cb..f544a03fc26 100644 --- a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: [String: Bool]? diff --git a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/apiNonStaticMethod/Sources/PetstoreClient/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/asyncAwaitLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift6/combineDeferredLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumArrays.swift b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumTest.swift b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/MapTest.swift b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/MapTest.swift +++ b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Order.swift b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Order.swift +++ b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Pet.swift b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Pet.swift +++ b/samples/client/petstore/swift6/combineLibrary/Sources/CombineLibrary/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/BigCat.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/BigCat.swift index 761d956f7c7..2096cfd72a3 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/BigCat.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/BigCat.swift @@ -14,8 +14,7 @@ public struct BigCat: Codable, JSONEncodable, Hashable { case tigers = "tigers" case leopards = "leopards" case jaguars = "jaguars" - } - public var kind: Kind? + } public var kind: Kind? public init(kind: Kind? = nil) { self.kind = kind diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Order.swift index 76d28449c05..5f7ceda8503 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case shipped = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Pet.swift index c6c1749be33..041feb42183 100644 --- a/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/default/Sources/PetstoreClient/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) + } static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) public var id: Int64? public var category: Category? public var name: String diff --git a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumArrays.swift index bcd4fee4034..9986d571b5d 100644 --- a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumArrays.swift @@ -12,12 +12,10 @@ import Foundation public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumTest.swift index 60815e083f0..09b2c1c6263 100644 --- a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/EnumTest.swift @@ -13,21 +13,17 @@ import Foundation case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/MapTest.swift index 9fd814c8783..c02be0d380b 100644 --- a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/MapTest.swift @@ -12,8 +12,7 @@ import Foundation public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Order.swift index 9e573c1ad06..35ec16cbb12 100644 --- a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Order.swift @@ -13,8 +13,7 @@ import Foundation case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var _id: Int64? + } public var _id: Int64? public var _idNum: NSNumber? { get { return _id as NSNumber? diff --git a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Pet.swift index 8b147562e2f..e795747ef35 100644 --- a/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/objcCompatible/Sources/PetstoreClient/Models/Pet.swift @@ -13,8 +13,7 @@ import Foundation case available = "available" case pending = "pending" case sold = "sold" - } - public var _id: Int64? + } public var _id: Int64? public var _idNum: NSNumber? { get { return _id as NSNumber? diff --git a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift6/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index aeda06ffb72..5f8c17be68c 100644 --- a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -13,13 +13,11 @@ internal struct EnumArrays: Codable, JSONEncodable { case greaterThanOrEqualTo = ">=" case dollar = "$" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { case fish = "fish" case crab = "crab" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var justSymbol: JustSymbol? + } internal private(set) var justSymbol: JustSymbol? internal private(set) var arrayEnum: [ArrayEnum]? internal init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index ed923bfb530..062f2418e48 100644 --- a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -14,24 +14,20 @@ internal struct EnumTest: Codable, JSONEncodable { case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { case upper = "UPPER" case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { case _1 = 1 case number1 = -1 case unknownDefaultOpenApi = 11184809 - } - internal enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { + } internal enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { case _11 = 1.1 case number12 = -1.2 case unknownDefaultOpenApi = 11184809 - } - internal private(set) var enumString: EnumString? + } internal private(set) var enumString: EnumString? internal private(set) var enumStringRequired: EnumStringRequired internal private(set) var enumInteger: EnumInteger? internal private(set) var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 07b65b6910e..038da3962d5 100644 --- a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -13,8 +13,7 @@ internal struct MapTest: Codable, JSONEncodable { case upper = "UPPER" case lower = "lower" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var mapMapOfString: [String: [String: String]]? + } internal private(set) var mapMapOfString: [String: [String: String]]? internal private(set) var mapOfEnumString: [String: String]? internal private(set) var directMap: [String: Bool]? internal private(set) var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 8116e8d86f3..1d291546584 100644 --- a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -14,8 +14,7 @@ internal struct Order: Codable, JSONEncodable { case approved = "approved" case delivered = "delivered" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var id: Int64? + } internal private(set) var id: Int64? internal private(set) var petId: Int64? internal private(set) var quantity: Int? internal private(set) var shipDate: Date? diff --git a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index daded4aa92f..a971bae6af6 100644 --- a/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift6/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -14,8 +14,7 @@ internal struct Pet: Codable, JSONEncodable, Hashable { case pending = "pending" case sold = "sold" case unknownDefaultOpenApi = "unknown_default_open_api" - } - internal private(set) var id: Int64? + } internal private(set) var id: Int64? internal private(set) var category: Category? internal private(set) var name: String internal private(set) var photoUrls: [String] diff --git a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index b0cb7c1f1a2..cd49e7927f7 100644 --- a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -12,12 +12,10 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 9fd69055c22..582c21e0035 100644 --- a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -13,21 +13,17 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 8a4a31082a3..aa400ca0438 100644 --- a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -12,8 +12,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 1afea12cb34..756a4cd091d 100644 --- a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -13,8 +13,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index cef13c2556b..acf414f56f1 100644 --- a/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift6/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -13,8 +13,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index b6e4b39b44b..ad2601fafaf 100644 --- a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -17,12 +17,10 @@ public final class EnumArrays: Codable, JSONEncodable, Hashable { public enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Codable, CaseIterable { + } public enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift index 31595242ff5..f3a88e07fbe 100644 --- a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -18,21 +18,17 @@ public final class EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Codable, CaseIterable { + } public enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Codable, CaseIterable { + } public enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Codable, CaseIterable { + } public enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift index dabf90aabb1..8610ba7b042 100644 --- a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -17,8 +17,7 @@ public final class MapTest: Codable, JSONEncodable, Hashable { public enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift index 9d270220201..e4d852ce5d5 100644 --- a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Order.swift @@ -18,8 +18,7 @@ public final class Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift index 53196d1ef64..8815db1d335 100644 --- a/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/urlsessionLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -18,8 +18,7 @@ public final class Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - public var id: Int64? + } public var id: Int64? public var category: Category? public var name: String public var photoUrls: [String] diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift index 4470586eff3..31d7ab543c1 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/BigCat.swift @@ -15,8 +15,7 @@ public final class BigCat: Content, Hashable { case tigers = "tigers" case leopards = "leopards" case jaguars = "jaguars" - } - public var kind: Kind? + } public var kind: Kind? public init(kind: Kind? = nil) { self.kind = kind diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift index f4ac110f88b..8fd7099541c 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumArrays.swift @@ -13,12 +13,10 @@ public final class EnumArrays: Content, Hashable { public enum JustSymbol: String, Content, Hashable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - public enum ArrayEnum: String, Content, Hashable, CaseIterable { + } public enum ArrayEnum: String, Content, Hashable, CaseIterable { case fish = "fish" case crab = "crab" - } - public var justSymbol: JustSymbol? + } public var justSymbol: JustSymbol? public var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift index 66a3d967937..b75c12bd489 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/EnumTest.swift @@ -14,21 +14,17 @@ public final class EnumTest: Content, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumStringRequired: String, Content, Hashable, CaseIterable { + } public enum EnumStringRequired: String, Content, Hashable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - public enum EnumInteger: Int, Content, Hashable, CaseIterable { + } public enum EnumInteger: Int, Content, Hashable, CaseIterable { case _1 = 1 case number1 = -1 - } - public enum EnumNumber: Double, Content, Hashable, CaseIterable { + } public enum EnumNumber: Double, Content, Hashable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - public var enumString: EnumString? + } public var enumString: EnumString? public var enumStringRequired: EnumStringRequired public var enumInteger: EnumInteger? public var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift index f89a13e6a96..fba4a0ab9e6 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/MapTest.swift @@ -13,8 +13,7 @@ public final class MapTest: Content, Hashable { public enum MapOfEnumString: String, Content, Hashable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - public var mapMapOfString: [String: [String: String]]? + } public var mapMapOfString: [String: [String: String]]? public var mapOfEnumString: [String: String]? public var directMap: [String: Bool]? public var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Order.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Order.swift index e62357d2e31..2e0d5d60300 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Order.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Order.swift @@ -14,8 +14,7 @@ public final class Order: Content, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - public var id: Int64? + } public var id: Int64? public var petId: Int64? public var quantity: Int? public var shipDate: Date? diff --git a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift index ded293e7428..8756ce0674e 100644 --- a/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift +++ b/samples/client/petstore/swift6/vaporLibrary/Sources/PetstoreClient/Models/Pet.swift @@ -14,8 +14,7 @@ public final class Pet: Content, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) + } static let photoUrlsRule = ArrayRule(minItems: nil, maxItems: nil, uniqueItems: true) public var id: Int64? public var category: Category? public var name: String diff --git a/samples/client/petstore/typescript-axios/builds/composed-schemas/api.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/api.ts index 1941b1646e7..5fa6f385727 100644 --- a/samples/client/petstore/typescript-axios/builds/composed-schemas/api.ts +++ b/samples/client/petstore/typescript-axios/builds/composed-schemas/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -409,4 +408,3 @@ export class DefaultApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/composed-schemas/base.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/base.ts index e215695bd26..e50c01c10f3 100644 --- a/samples/client/petstore/typescript-axios/builds/composed-schemas/base.ts +++ b/samples/client/petstore/typescript-axios/builds/composed-schemas/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/composed-schemas/common.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/common.ts index d629dec4427..2e9b7062cc2 100644 --- a/samples/client/petstore/typescript-axios/builds/composed-schemas/common.ts +++ b/samples/client/petstore/typescript-axios/builds/composed-schemas/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/composed-schemas/configuration.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/configuration.ts index 46522502419..30ed8f66715 100644 --- a/samples/client/petstore/typescript-axios/builds/composed-schemas/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/composed-schemas/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/composed-schemas/index.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/index.ts index a94bbea1243..db11deb73bb 100644 --- a/samples/client/petstore/typescript-axios/builds/composed-schemas/index.ts +++ b/samples/client/petstore/typescript-axios/builds/composed-schemas/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/default/api.ts b/samples/client/petstore/typescript-axios/builds/default/api.ts index df0c45abc78..375cb9ad05a 100644 --- a/samples/client/petstore/typescript-axios/builds/default/api.ts +++ b/samples/client/petstore/typescript-axios/builds/default/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -938,7 +937,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1251,7 +1249,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1863,4 +1860,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/default/base.ts b/samples/client/petstore/typescript-axios/builds/default/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/default/base.ts +++ b/samples/client/petstore/typescript-axios/builds/default/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/default/common.ts b/samples/client/petstore/typescript-axios/builds/default/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/default/common.ts +++ b/samples/client/petstore/typescript-axios/builds/default/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/default/configuration.ts b/samples/client/petstore/typescript-axios/builds/default/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/default/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/default/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/default/index.ts b/samples/client/petstore/typescript-axios/builds/default/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/default/index.ts +++ b/samples/client/petstore/typescript-axios/builds/default/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/api.ts b/samples/client/petstore/typescript-axios/builds/es6-target/api.ts index df0c45abc78..375cb9ad05a 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/api.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -938,7 +937,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1251,7 +1249,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1863,4 +1860,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/base.ts b/samples/client/petstore/typescript-axios/builds/es6-target/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/base.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/common.ts b/samples/client/petstore/typescript-axios/builds/es6-target/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/common.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/configuration.ts b/samples/client/petstore/typescript-axios/builds/es6-target/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/index.ts b/samples/client/petstore/typescript-axios/builds/es6-target/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/index.ts +++ b/samples/client/petstore/typescript-axios/builds/es6-target/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/test-petstore/api.ts b/samples/client/petstore/typescript-axios/builds/test-petstore/api.ts index 8849fa8f81d..03283110e8e 100644 --- a/samples/client/petstore/typescript-axios/builds/test-petstore/api.ts +++ b/samples/client/petstore/typescript-axios/builds/test-petstore/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -521,7 +520,6 @@ export const EnumClass = { export type EnumClass = typeof EnumClass[keyof typeof EnumClass]; - /** * * @export @@ -1303,7 +1301,6 @@ export const OuterEnum = { export type OuterEnum = typeof OuterEnum[keyof typeof OuterEnum]; - /** * * @export @@ -1318,7 +1315,6 @@ export const OuterEnumDefaultValue = { export type OuterEnumDefaultValue = typeof OuterEnumDefaultValue[keyof typeof OuterEnumDefaultValue]; - /** * * @export @@ -1333,7 +1329,6 @@ export const OuterEnumInteger = { export type OuterEnumInteger = typeof OuterEnumInteger[keyof typeof OuterEnumInteger]; - /** * * @export @@ -1348,7 +1343,6 @@ export const OuterEnumIntegerDefaultValue = { export type OuterEnumIntegerDefaultValue = typeof OuterEnumIntegerDefaultValue[keyof typeof OuterEnumIntegerDefaultValue]; - /** * * @export @@ -1845,7 +1839,6 @@ export class AnotherFakeApi extends BaseAPI { } - /** * DefaultApi - axios parameter creator * @export @@ -1942,7 +1935,6 @@ export class DefaultApi extends BaseAPI { } - /** * FakeApi - axios parameter creator * @export @@ -3639,7 +3631,6 @@ export const TestEnumParametersEnumFormStringEnum = { } as const; export type TestEnumParametersEnumFormStringEnum = typeof TestEnumParametersEnumFormStringEnum[keyof typeof TestEnumParametersEnumFormStringEnum]; - /** * FakeClassnameTags123Api - axios parameter creator * @export @@ -3752,7 +3743,6 @@ export class FakeClassnameTags123Api extends BaseAPI { } - /** * PetApi - axios parameter creator * @export @@ -4548,7 +4538,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -4861,7 +4850,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -5473,4 +5461,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/test-petstore/base.ts b/samples/client/petstore/typescript-axios/builds/test-petstore/base.ts index ba1854123f7..23d2f9d005c 100644 --- a/samples/client/petstore/typescript-axios/builds/test-petstore/base.ts +++ b/samples/client/petstore/typescript-axios/builds/test-petstore/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/test-petstore/common.ts b/samples/client/petstore/typescript-axios/builds/test-petstore/common.ts index c0f62a7b6df..f9cfce9fe32 100644 --- a/samples/client/petstore/typescript-axios/builds/test-petstore/common.ts +++ b/samples/client/petstore/typescript-axios/builds/test-petstore/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/test-petstore/configuration.ts b/samples/client/petstore/typescript-axios/builds/test-petstore/configuration.ts index c8051a678dc..330134a2cb8 100644 --- a/samples/client/petstore/typescript-axios/builds/test-petstore/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/test-petstore/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/test-petstore/index.ts b/samples/client/petstore/typescript-axios/builds/test-petstore/index.ts index 7ffd3df3280..6e43e2ad3d7 100644 --- a/samples/client/petstore/typescript-axios/builds/test-petstore/index.ts +++ b/samples/client/petstore/typescript-axios/builds/test-petstore/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts index a373dc21fe5..be4e8fe1836 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -80,7 +79,6 @@ export const MediaType = { export type MediaType = typeof MediaType[keyof typeof MediaType]; - /** * An order for a pets from the pet store * @export @@ -981,7 +979,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1294,7 +1291,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1906,4 +1902,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/base.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/common.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-complex-headers/index.ts b/samples/client/petstore/typescript-axios/builds/with-complex-headers/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-complex-headers/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-complex-headers/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/api.ts b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/api.ts index 23003c21683..a3669d93c4d 100644 --- a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -364,7 +363,6 @@ export const EnumClass = { export type EnumClass = typeof EnumClass[keyof typeof EnumClass]; - /** * * @export @@ -990,7 +988,6 @@ export const OuterEnum = { export type OuterEnum = typeof OuterEnum[keyof typeof OuterEnum]; - /** * * @export @@ -1005,7 +1002,6 @@ export const OuterEnumDefaultValue = { export type OuterEnumDefaultValue = typeof OuterEnumDefaultValue[keyof typeof OuterEnumDefaultValue]; - /** * * @export @@ -1020,7 +1016,6 @@ export const OuterEnumInteger = { export type OuterEnumInteger = typeof OuterEnumInteger[keyof typeof OuterEnumInteger]; - /** * * @export @@ -1035,7 +1030,6 @@ export const OuterEnumIntegerDefaultValue = { export type OuterEnumIntegerDefaultValue = typeof OuterEnumIntegerDefaultValue[keyof typeof OuterEnumIntegerDefaultValue]; - /** * * @export @@ -1459,7 +1453,6 @@ export class AnotherFakeApi extends BaseAPI { } - /** * DefaultApi - axios parameter creator * @export @@ -1556,7 +1549,6 @@ export class DefaultApi extends BaseAPI { } - /** * FakeApi - axios parameter creator * @export @@ -3201,7 +3193,6 @@ export const TestEnumParametersEnumFormStringEnum = { } as const; export type TestEnumParametersEnumFormStringEnum = typeof TestEnumParametersEnumFormStringEnum[keyof typeof TestEnumParametersEnumFormStringEnum]; - /** * FakeClassnameTags123Api - axios parameter creator * @export @@ -3314,7 +3305,6 @@ export class FakeClassnameTags123Api extends BaseAPI { } - /** * PetApi - axios parameter creator * @export @@ -4110,7 +4100,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -4423,7 +4412,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -5035,4 +5023,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/base.ts b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/base.ts index ba1854123f7..23d2f9d005c 100644 --- a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/common.ts b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/common.ts index c0f62a7b6df..f9cfce9fe32 100644 --- a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/configuration.ts index c8051a678dc..330134a2cb8 100644 --- a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/index.ts b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/index.ts index 7ffd3df3280..6e43e2ad3d7 100644 --- a/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-fake-endpoints-models-for-testing-with-http-signature/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/api.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/api.ts index d471c3665d8..bba7e3ebd99 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -1164,7 +1163,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1566,7 +1564,6 @@ export class StoreApi extends BaseAPI implements StoreApiInterface { } - /** * UserApi - axios parameter creator * @export @@ -2373,4 +2370,3 @@ export class UserApi extends BaseAPI implements UserApiInterface { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/base.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/common.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/index.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces-and-with-single-request-param/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts index e3035a1de51..86de50461df 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -1032,7 +1031,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1392,7 +1390,6 @@ export class StoreApi extends BaseAPI implements StoreApiInterface { } - /** * UserApi - axios parameter creator * @export @@ -2093,4 +2090,3 @@ export class UserApi extends BaseAPI implements UserApiInterface { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/base.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/common.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-interfaces/index.ts b/samples/client/petstore/typescript-axios/builds/with-interfaces/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-interfaces/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-interfaces/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-node-imports/api.ts b/samples/client/petstore/typescript-axios/builds/with-node-imports/api.ts index 8f972c32b2e..6db355037d7 100644 --- a/samples/client/petstore/typescript-axios/builds/with-node-imports/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-node-imports/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -942,7 +941,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1253,7 +1251,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1865,4 +1862,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-node-imports/base.ts b/samples/client/petstore/typescript-axios/builds/with-node-imports/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-node-imports/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-node-imports/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-node-imports/common.ts b/samples/client/petstore/typescript-axios/builds/with-node-imports/common.ts index a88b9756578..13d60e6782a 100644 --- a/samples/client/petstore/typescript-axios/builds/with-node-imports/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-node-imports/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-node-imports/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-node-imports/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-node-imports/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-node-imports/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-node-imports/index.ts b/samples/client/petstore/typescript-axios/builds/with-node-imports/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-node-imports/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-node-imports/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api.ts index a93cf65f62d..37c64b1c3c2 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api.ts @@ -13,7 +13,6 @@ */ - export * from './api/another/level/pet-api'; export * from './api/another/level/store-api'; export * from './api/another/level/user-api'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/pet-api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/pet-api.ts index 4814af94ce4..5ad802067d5 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/pet-api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/pet-api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from '../../../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/store-api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/store-api.ts index 0fcfd906cc8..8b1f7af7165 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/store-api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/store-api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from '../../../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts index 7d6d6aeb2b6..9ea434da821 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/api/another/level/user-api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from '../../../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/base.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/common.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/index.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/index.ts index f0e6924d5d9..4ca8b16d09a 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; export * from "./model/some/levels/deep"; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/api-response.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/api-response.ts index 6b04a026e17..1100f84821f 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/api-response.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/api-response.ts @@ -13,7 +13,6 @@ */ - /** * Describes the result of uploading an image resource * @export diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/category.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/category.ts index 9e615116bb3..a0b2a8ca112 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/category.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/category.ts @@ -13,7 +13,6 @@ */ - /** * A category for a pet * @export diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/order.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/order.ts index 1ed788e1ec8..69e12049f57 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/order.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/order.ts @@ -13,7 +13,6 @@ */ - /** * An order for a pets from the pet store * @export diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/pet.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/pet.ts index e0378b94c28..66455ed2c62 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/pet.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/pet.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - // May contain unused imports in some cases // @ts-ignore import type { Category } from './category'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/tag.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/tag.ts index 3529b927308..fb47d294f2a 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/tag.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/tag.ts @@ -13,7 +13,6 @@ */ - /** * A tag for a pet * @export diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/user.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/user.ts index a33949559e3..ce0de6d54f1 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/user.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/model/some/levels/deep/user.ts @@ -13,7 +13,6 @@ */ - /** * A User who is purchasing from the pet store * @export diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts index df0c45abc78..375cb9ad05a 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -938,7 +937,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1251,7 +1249,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1863,4 +1860,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/base.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/common.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/index.ts b/samples/client/petstore/typescript-axios/builds/with-npm-version/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts index 8b6af868654..8074800b3ca 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -1075,7 +1074,6 @@ export const FindPetsByStatusStatusEnum = { } as const; export type FindPetsByStatusStatusEnum = typeof FindPetsByStatusStatusEnum[keyof typeof FindPetsByStatusStatusEnum]; - /** * StoreApi - axios parameter creator * @export @@ -1428,7 +1426,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -2148,4 +2145,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/base.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/common.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/index.ts b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-single-request-parameters/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-axios/builds/with-string-enums/api.ts b/samples/client/petstore/typescript-axios/builds/with-string-enums/api.ts index b9f8757a661..b6b18bc35f1 100644 --- a/samples/client/petstore/typescript-axios/builds/with-string-enums/api.ts +++ b/samples/client/petstore/typescript-axios/builds/with-string-enums/api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; @@ -942,7 +941,6 @@ export enum FindPetsByStatusStatusEnum { Sold = 'sold' } - /** * StoreApi - axios parameter creator * @export @@ -1255,7 +1253,6 @@ export class StoreApi extends BaseAPI { } - /** * UserApi - axios parameter creator * @export @@ -1867,4 +1864,3 @@ export class UserApi extends BaseAPI { } - diff --git a/samples/client/petstore/typescript-axios/builds/with-string-enums/base.ts b/samples/client/petstore/typescript-axios/builds/with-string-enums/base.ts index b92a383a84c..e76bfed5c86 100644 --- a/samples/client/petstore/typescript-axios/builds/with-string-enums/base.ts +++ b/samples/client/petstore/typescript-axios/builds/with-string-enums/base.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore diff --git a/samples/client/petstore/typescript-axios/builds/with-string-enums/common.ts b/samples/client/petstore/typescript-axios/builds/with-string-enums/common.ts index d5b9e4718ae..b62a615f646 100644 --- a/samples/client/petstore/typescript-axios/builds/with-string-enums/common.ts +++ b/samples/client/petstore/typescript-axios/builds/with-string-enums/common.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; diff --git a/samples/client/petstore/typescript-axios/builds/with-string-enums/configuration.ts b/samples/client/petstore/typescript-axios/builds/with-string-enums/configuration.ts index d05f5a0d083..f31a9332013 100644 --- a/samples/client/petstore/typescript-axios/builds/with-string-enums/configuration.ts +++ b/samples/client/petstore/typescript-axios/builds/with-string-enums/configuration.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export interface ConfigurationParameters { apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); username?: string; diff --git a/samples/client/petstore/typescript-axios/builds/with-string-enums/index.ts b/samples/client/petstore/typescript-axios/builds/with-string-enums/index.ts index ed3d348fdfe..4f1f59744c4 100644 --- a/samples/client/petstore/typescript-axios/builds/with-string-enums/index.ts +++ b/samples/client/petstore/typescript-axios/builds/with-string-enums/index.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export * from "./api"; export * from "./configuration"; diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/apis/DefaultApi.ts index 38da4f052ba..e10d1e79ce0 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Club, diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Club.ts b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Club.ts index cce6b72e169..c0bed00bda7 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Club.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Club.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Owner } from './Owner'; import { @@ -34,7 +33,6 @@ export interface Club { */ owner?: Owner | null; } - /** * Check if a given object implements the Club interface. */ @@ -70,4 +68,3 @@ export function ClubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Club 'owner': OwnerToJSON(value['owner']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Owner.ts b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Owner.ts index 0ed8fde3a93..df6c7c00946 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Owner.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/models/Owner.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Owner { */ name?: string; } - /** * Check if a given object implements the Owner interface. */ @@ -62,4 +60,3 @@ export function OwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Own 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/runtime.ts b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/runtime.ts index 191d8ea4893..2c7df5e62d7 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-nullable/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-nullable/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://api.example.xyz/v1".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/apis/DefaultApi.ts index 38da4f052ba..e10d1e79ce0 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Club, diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Club.ts b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Club.ts index b815ab07d2c..7fa1897d8fc 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Club.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Club.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Owner } from './Owner'; import { @@ -34,7 +33,6 @@ export interface Club { */ readonly owner?: Owner; } - /** * Check if a given object implements the Club interface. */ @@ -69,4 +67,3 @@ export function ClubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Club }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Owner.ts b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Owner.ts index 0ed8fde3a93..df6c7c00946 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Owner.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/models/Owner.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Owner { */ name?: string; } - /** * Check if a given object implements the Owner interface. */ @@ -62,4 +60,3 @@ export function OwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Own 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/runtime.ts b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/runtime.ts index 191d8ea4893..2c7df5e62d7 100644 --- a/samples/client/petstore/typescript-fetch/builds/allOf-readonly/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/allOf-readonly/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://api.example.xyz/v1".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/AnotherFakeApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/AnotherFakeApi.ts index e63d48d42bd..222bc33c0dd 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/AnotherFakeApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/AnotherFakeApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Client, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/DefaultApi.ts index ef9dde7a080..44a70c83a2b 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { FooGetDefaultResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeApi.ts index 12df4e51387..ae31e2c54ac 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ChildWithNullable, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeClassnameTags123Api.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeClassnameTags123Api.ts index e2cf17eb7a2..3cd96901193 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeClassnameTags123Api.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/FakeClassnameTags123Api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Client, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/PetApi.ts index 5b77f2de448..dd2b05fd7e7 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/StoreApi.ts index 4a7ee687d8d..6ea1903fd98 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/UserApi.ts index b151cb1eaac..f47fbb15595 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AdditionalPropertiesClass.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AdditionalPropertiesClass.ts index c15b937e8a1..faa20f87a24 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AdditionalPropertiesClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AdditionalPropertiesClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface AdditionalPropertiesClass { */ mapOfMapProperty?: { [key: string]: { [key: string]: string; }; }; } - /** * Check if a given object implements the AdditionalPropertiesClass interface. */ @@ -70,4 +68,3 @@ export function AdditionalPropertiesClassFromJSONTyped(json: any, ignoreDiscrimi 'map_of_map_property': value['mapOfMapProperty'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts index 826ea603e2d..6ec1d76d70a 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/AllOfWithSingleRef.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { SingleRefType } from './SingleRefType'; import { @@ -42,7 +41,6 @@ export interface AllOfWithSingleRef { } - /** * Check if a given object implements the AllOfWithSingleRef interface. */ @@ -80,4 +78,3 @@ export function AllOfWithSingleRefFromJSONTyped(json: any, ignoreDiscriminator: 'SingleRefType': SingleRefTypeToJSON(value['singleRefType']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Animal.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Animal.ts index 0f87e6dd367..4662a62a6d0 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Animal.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Animal.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import { Cat, CatFromJSONTyped, CatToJSON, CatToJSONTyped } from './Cat'; import { Dog, DogFromJSONTyped, DogToJSON, DogToJSONTyped } from './Dog'; @@ -34,7 +33,6 @@ export interface Animal { */ color?: string; } - /** * Check if a given object implements the Animal interface. */ @@ -92,4 +90,3 @@ export function AnimalFromJSONTyped(json: any, ignoreDiscriminator: boolean): An 'color': value['color'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfArrayOfNumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfArrayOfNumberOnly.ts index 18264d15d7c..02ad42ec8ad 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfArrayOfNumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfArrayOfNumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface ArrayOfArrayOfNumberOnly { */ arrayArrayNumber?: Array>; } - /** * Check if a given object implements the ArrayOfArrayOfNumberOnly interface. */ @@ -62,4 +60,3 @@ export function ArrayOfArrayOfNumberOnlyFromJSONTyped(json: any, ignoreDiscrimin 'ArrayArrayNumber': value['arrayArrayNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfNumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfNumberOnly.ts index fa5c6dc5edd..24fea8316a9 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfNumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayOfNumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface ArrayOfNumberOnly { */ arrayNumber?: Array; } - /** * Check if a given object implements the ArrayOfNumberOnly interface. */ @@ -62,4 +60,3 @@ export function ArrayOfNumberOnlyFromJSONTyped(json: any, ignoreDiscriminator: b 'ArrayNumber': value['arrayNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayTest.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayTest.ts index b31c80207b2..7f3ba2fe5e7 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ArrayTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { ReadOnlyFirst } from './ReadOnlyFirst'; import { @@ -46,7 +45,6 @@ export interface ArrayTest { */ arrayArrayOfModel?: Array>; } - /** * Check if a given object implements the ArrayTest interface. */ @@ -86,4 +84,3 @@ export function ArrayTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'array_array_of_model': value['arrayArrayOfModel'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts index ace2ede8847..5bf704ca908 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -57,7 +56,6 @@ export interface Capitalization { */ aTTNAME?: string; } - /** * Check if a given object implements the Capitalization interface. */ @@ -103,4 +101,3 @@ export function CapitalizationFromJSONTyped(json: any, ignoreDiscriminator: bool 'ATT_NAME': value['aTTNAME'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Cat.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Cat.ts index a1b44d02d26..eeb75c7a1e8 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Cat.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Cat.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -34,7 +33,6 @@ export interface Cat extends Animal { */ declawed?: boolean; } - /** * Check if a given object implements the Cat interface. */ @@ -70,4 +68,3 @@ export function CatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cat { 'declawed': value['declawed'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Category.ts index 7c8caddd496..e761b71f828 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface Category { */ name: string; } - /** * Check if a given object implements the Category interface. */ @@ -71,4 +69,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ChildWithNullable.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ChildWithNullable.ts index 0a5dd717f20..b0a48285809 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ChildWithNullable.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ChildWithNullable.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { ParentWithNullable } from './ParentWithNullable'; import { @@ -36,7 +35,6 @@ export interface ChildWithNullable extends ParentWithNullable { } - /** * Check if a given object implements the ChildWithNullable interface. */ @@ -72,4 +70,3 @@ export function ChildWithNullableFromJSONTyped(json: any, ignoreDiscriminator: b 'otherProperty': value['otherProperty'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ClassModel.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ClassModel.ts index 813177eb3d5..9f3bac53ed9 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ClassModel.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ClassModel.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model with "_class" property @@ -26,7 +25,6 @@ export interface ClassModel { */ _class?: string; } - /** * Check if a given object implements the ClassModel interface. */ @@ -62,4 +60,3 @@ export function ClassModelFromJSONTyped(json: any, ignoreDiscriminator: boolean) '_class': value['_class'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Client.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Client.ts index c6aa7163b0b..8ee18c182a7 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Client.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Client.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Client { */ client?: string; } - /** * Check if a given object implements the Client interface. */ @@ -62,4 +60,3 @@ export function ClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cl 'client': value['client'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/DeprecatedObject.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/DeprecatedObject.ts index d2acf418fde..3fe0d956671 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/DeprecatedObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/DeprecatedObject.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface DeprecatedObject { */ name?: string; } - /** * Check if a given object implements the DeprecatedObject interface. */ @@ -62,4 +60,3 @@ export function DeprecatedObjectFromJSONTyped(json: any, ignoreDiscriminator: bo 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Dog.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Dog.ts index 1d66d5c04bf..729910f6458 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Dog.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Dog.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -34,7 +33,6 @@ export interface Dog extends Animal { */ breed?: string; } - /** * Check if a given object implements the Dog interface. */ @@ -70,4 +68,3 @@ export function DogFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dog { 'breed': value['breed'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumArrays.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumArrays.ts index 27f42e0a652..1b41f08158c 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumArrays.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumArrays.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -52,7 +51,6 @@ export const EnumArraysArrayEnumEnum = { } as const; export type EnumArraysArrayEnumEnum = typeof EnumArraysArrayEnumEnum[keyof typeof EnumArraysArrayEnumEnum]; - /** * Check if a given object implements the EnumArrays interface. */ @@ -90,4 +88,3 @@ export function EnumArraysFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'array_enum': value['arrayEnum'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumClass.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumClass.ts index 6878b859143..c851bd15cbb 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumClass.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function EnumClassToJSON(value?: EnumClass | null): any { export function EnumClassToJSONTyped(value: any, ignoreDiscriminator: boolean): EnumClass { return value as EnumClass; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumTest.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumTest.ts index de99ab4dc66..8b04745c152 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/EnumTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { OuterEnum } from './OuterEnum'; import { @@ -137,7 +136,6 @@ export const EnumTestEnumNumberEnum = { } as const; export type EnumTestEnumNumberEnum = typeof EnumTestEnumNumberEnum[keyof typeof EnumTestEnumNumberEnum]; - /** * Check if a given object implements the EnumTest interface. */ @@ -188,4 +186,3 @@ export function EnumTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'outerEnumIntegerDefaultValue': OuterEnumIntegerDefaultValueToJSON(value['outerEnumIntegerDefaultValue']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FakeBigDecimalMap200Response.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FakeBigDecimalMap200Response.ts index 5c97b9928ef..7723ce1c785 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FakeBigDecimalMap200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FakeBigDecimalMap200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface FakeBigDecimalMap200Response { */ someMap?: { [key: string]: number; }; } - /** * Check if a given object implements the FakeBigDecimalMap200Response interface. */ @@ -70,4 +68,3 @@ export function FakeBigDecimalMap200ResponseFromJSONTyped(json: any, ignoreDiscr 'someMap': value['someMap'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FileSchemaTestClass.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FileSchemaTestClass.ts index 557abed7403..79f98154f9b 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FileSchemaTestClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FileSchemaTestClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface FileSchemaTestClass { */ files?: Array; } - /** * Check if a given object implements the FileSchemaTestClass interface. */ @@ -70,4 +68,3 @@ export function FileSchemaTestClassFromJSONTyped(json: any, ignoreDiscriminator: 'files': value['files'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Foo.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Foo.ts index 118b6190f28..0503279d1f2 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Foo.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Foo.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Foo { */ bar?: string; } - /** * Check if a given object implements the Foo interface. */ @@ -62,4 +60,3 @@ export function FooFromJSONTyped(json: any, ignoreDiscriminator: boolean): Foo { 'bar': value['bar'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FooGetDefaultResponse.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FooGetDefaultResponse.ts index 721b08a2242..35351d6b67e 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FooGetDefaultResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FooGetDefaultResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Foo } from './Foo'; import { @@ -34,7 +33,6 @@ export interface FooGetDefaultResponse { */ string?: Foo; } - /** * Check if a given object implements the FooGetDefaultResponse interface. */ @@ -70,4 +68,3 @@ export function FooGetDefaultResponseFromJSONTyped(json: any, ignoreDiscriminato 'string': FooToJSON(value['string']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FormatTest.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FormatTest.ts index a47a1b03c57..2a1312266c5 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FormatTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/FormatTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Decimal } from './Decimal'; import { @@ -124,7 +123,6 @@ export interface FormatTest { */ patternWithDigitsAndDelimiter?: string; } - /** * Check if a given object implements the FormatTest interface. */ @@ -194,4 +192,3 @@ export function FormatTestFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'pattern_with_digits_and_delimiter': value['patternWithDigitsAndDelimiter'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HasOnlyReadOnly.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HasOnlyReadOnly.ts index 0eb9accdc1f..eff6655352b 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HasOnlyReadOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HasOnlyReadOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface HasOnlyReadOnly { */ readonly foo?: string; } - /** * Check if a given object implements the HasOnlyReadOnly interface. */ @@ -68,4 +66,3 @@ export function HasOnlyReadOnlyFromJSONTyped(json: any, ignoreDiscriminator: boo }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HealthCheckResult.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HealthCheckResult.ts index c62de4d9fb8..b9db6bd13e5 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HealthCheckResult.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/HealthCheckResult.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -26,7 +25,6 @@ export interface HealthCheckResult { */ nullableMessage?: string | null; } - /** * Check if a given object implements the HealthCheckResult interface. */ @@ -62,4 +60,3 @@ export function HealthCheckResultFromJSONTyped(json: any, ignoreDiscriminator: b 'NullableMessage': value['nullableMessage'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/List.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/List.ts index fb9a30ea0e5..4bb692e9c70 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/List.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/List.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface List { */ _123list?: string; } - /** * Check if a given object implements the List interface. */ @@ -62,4 +60,3 @@ export function ListFromJSONTyped(json: any, ignoreDiscriminator: boolean): List '123-list': value['_123list'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MapTest.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MapTest.ts index a88b84fd102..d46c723ac72 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MapTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MapTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -55,7 +54,6 @@ export const MapTestMapOfEnumStringEnum = { } as const; export type MapTestMapOfEnumStringEnum = typeof MapTestMapOfEnumStringEnum[keyof typeof MapTestMapOfEnumStringEnum]; - /** * Check if a given object implements the MapTest interface. */ @@ -97,4 +95,3 @@ export function MapTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): M 'indirect_map': value['indirectMap'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MixedPropertiesAndAdditionalPropertiesClass.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MixedPropertiesAndAdditionalPropertiesClass.ts index 1f69153ef85..8a531f5f237 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MixedPropertiesAndAdditionalPropertiesClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/MixedPropertiesAndAdditionalPropertiesClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -46,7 +45,6 @@ export interface MixedPropertiesAndAdditionalPropertiesClass { */ map?: { [key: string]: Animal; }; } - /** * Check if a given object implements the MixedPropertiesAndAdditionalPropertiesClass interface. */ @@ -86,4 +84,3 @@ export function MixedPropertiesAndAdditionalPropertiesClassFromJSONTyped(json: a 'map': value['map'] == null ? undefined : (mapValues(value['map'], AnimalToJSON)), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Model200Response.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Model200Response.ts index af0066b276e..75b2ff977c5 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Model200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Model200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model name starting with number @@ -32,7 +31,6 @@ export interface Model200Response { */ _class?: string; } - /** * Check if a given object implements the Model200Response interface. */ @@ -70,4 +68,3 @@ export function Model200ResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'class': value['_class'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelApiResponse.ts index a505854c2d7..3886031b14c 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelFile.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelFile.ts index ef6eee2c53c..8866671527e 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelFile.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ModelFile.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Must be named `File` for test. @@ -26,7 +25,6 @@ export interface ModelFile { */ sourceURI?: string; } - /** * Check if a given object implements the ModelFile interface. */ @@ -62,4 +60,3 @@ export function ModelFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'sourceURI': value['sourceURI'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Name.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Name.ts index 1c957bff4d6..b57550f80e1 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Name.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Name.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model name same as property name @@ -44,7 +43,6 @@ export interface Name { */ readonly _123number?: number; } - /** * Check if a given object implements the Name interface. */ @@ -85,4 +83,3 @@ export function NameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Name 'property': value['property'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NullableClass.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NullableClass.ts index 4f32da1c0ce..ca09d8cd40b 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NullableClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NullableClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -93,7 +92,6 @@ export interface NullableClass { */ objectItemsNullable?: { [key: string]: object | null; }; } - /** * Check if a given object implements the NullableClass interface. */ @@ -153,4 +151,3 @@ export function NullableClassFromJSONTyped(json: any, ignoreDiscriminator: boole 'object_items_nullable': value['objectItemsNullable'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NumberOnly.ts index d9e19a6d9d8..bf6b6b4cbec 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/NumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface NumberOnly { */ justNumber?: number; } - /** * Check if a given object implements the NumberOnly interface. */ @@ -62,4 +60,3 @@ export function NumberOnlyFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'JustNumber': value['justNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts index 88b02873350..fef27d5e45a 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ObjectWithDeprecatedFields.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { DeprecatedObject } from './DeprecatedObject'; import { @@ -55,7 +54,6 @@ export interface ObjectWithDeprecatedFields { */ bars?: Array; } - /** * Check if a given object implements the ObjectWithDeprecatedFields interface. */ @@ -97,4 +95,3 @@ export function ObjectWithDeprecatedFieldsFromJSONTyped(json: any, ignoreDiscrim 'bars': value['bars'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Order.ts index ef82efcce50..7df2fdb6f25 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterComposite.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterComposite.ts index ab4303f03c3..ff912e49b0d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterComposite.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterComposite.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -38,7 +37,6 @@ export interface OuterComposite { */ myBoolean?: boolean; } - /** * Check if a given object implements the OuterComposite interface. */ @@ -78,4 +76,3 @@ export function OuterCompositeFromJSONTyped(json: any, ignoreDiscriminator: bool 'my_boolean': value['myBoolean'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnum.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnum.ts index 4be9edeac58..bfad65965b4 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnum.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumToJSON(value?: OuterEnum | null): any { export function OuterEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnum { return value as OuterEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumDefaultValue.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumDefaultValue.ts index de44a787812..a06dea10daa 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumDefaultValue.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumDefaultValue.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumDefaultValueToJSON(value?: OuterEnumDefaultValue | null export function OuterEnumDefaultValueToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumDefaultValue { return value as OuterEnumDefaultValue; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumInteger.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumInteger.ts index b899dc358ea..28f5fd67205 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumInteger.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumInteger.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumIntegerToJSON(value?: OuterEnumInteger | null): any { export function OuterEnumIntegerToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumInteger { return value as OuterEnumInteger; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumIntegerDefaultValue.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumIntegerDefaultValue.ts index 1a694169921..14a66d64b3c 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumIntegerDefaultValue.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterEnumIntegerDefaultValue.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumIntegerDefaultValueToJSON(value?: OuterEnumIntegerDefau export function OuterEnumIntegerDefaultValueToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumIntegerDefaultValue { return value as OuterEnumIntegerDefaultValue; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts index a533ca482d8..ea2d8a9294d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/OuterObjectWithEnumProperty.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { OuterEnumInteger } from './OuterEnumInteger'; import { @@ -36,7 +35,6 @@ export interface OuterObjectWithEnumProperty { } - /** * Check if a given object implements the OuterObjectWithEnumProperty interface. */ @@ -73,4 +71,3 @@ export function OuterObjectWithEnumPropertyFromJSONTyped(json: any, ignoreDiscri 'value': OuterEnumIntegerToJSON(value['value']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ParentWithNullable.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ParentWithNullable.ts index a7a8016b7ad..901eaa3366d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ParentWithNullable.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ParentWithNullable.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import { ChildWithNullable, ChildWithNullableFromJSONTyped, ChildWithNullableToJSON, ChildWithNullableToJSONTyped } from './ChildWithNullable'; /** @@ -43,7 +42,6 @@ export const ParentWithNullableTypeEnum = { } as const; export type ParentWithNullableTypeEnum = typeof ParentWithNullableTypeEnum[keyof typeof ParentWithNullableTypeEnum]; - /** * Check if a given object implements the ParentWithNullable interface. */ @@ -95,4 +93,3 @@ export function ParentWithNullableFromJSONTyped(json: any, ignoreDiscriminator: 'nullableProperty': value['nullableProperty'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Pet.ts index 4dc3777b012..fa18f70da8d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ReadOnlyFirst.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ReadOnlyFirst.ts index 561b3037f5c..dda330e4a46 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ReadOnlyFirst.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/ReadOnlyFirst.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface ReadOnlyFirst { */ baz?: string; } - /** * Check if a given object implements the ReadOnlyFirst interface. */ @@ -69,4 +67,3 @@ export function ReadOnlyFirstFromJSONTyped(json: any, ignoreDiscriminator: boole 'baz': value['baz'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Return.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Return.ts index dc1fd7c1712..a79a0f3c4c8 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Return.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Return.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing reserved words @@ -26,7 +25,6 @@ export interface Return { */ _return?: number; } - /** * Check if a given object implements the Return interface. */ @@ -62,4 +60,3 @@ export function ReturnFromJSONTyped(json: any, ignoreDiscriminator: boolean): Re 'return': value['_return'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SingleRefType.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SingleRefType.ts index 8247fdf99d2..220daeca0a2 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SingleRefType.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SingleRefType.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -50,4 +49,3 @@ export function SingleRefTypeToJSON(value?: SingleRefType | null): any { export function SingleRefTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SingleRefType { return value as SingleRefType; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SpecialModelName.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SpecialModelName.ts index 3fec48ea443..d6505ded052 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SpecialModelName.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/SpecialModelName.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface SpecialModelName { */ $specialPropertyName?: number; } - /** * Check if a given object implements the SpecialModelName interface. */ @@ -62,4 +60,3 @@ export function SpecialModelNameFromJSONTyped(json: any, ignoreDiscriminator: bo '$special[property.name]': value['$specialPropertyName'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Tag.ts index 11266e1fb90..12c1cad8c49 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/TestInlineFreeformAdditionalPropertiesRequest.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/TestInlineFreeformAdditionalPropertiesRequest.ts index 5bfdc0cfa54..797200b2756 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/TestInlineFreeformAdditionalPropertiesRequest.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/TestInlineFreeformAdditionalPropertiesRequest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -27,7 +26,6 @@ export interface TestInlineFreeformAdditionalPropertiesRequest { */ someProperty?: string; } - /** * Check if a given object implements the TestInlineFreeformAdditionalPropertiesRequest interface. */ @@ -65,4 +63,3 @@ export function TestInlineFreeformAdditionalPropertiesRequestFromJSONTyped(json: 'someProperty': value['someProperty'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/User.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/User.ts index 97523c16bb4..2a316804d15 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/runtime.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/runtime.ts index ed35f30ef7a..48a19155886 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io:80/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts index 22062ecf531..597902f04a2 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/default/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/default/apis/StoreApi.ts index 49163cc4b46..5fd87bf5f0d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/default/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/default/apis/UserApi.ts index 03a5448df52..f08cefef64c 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/default/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/default/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/default/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/default/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/default/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/models/User.ts b/samples/client/petstore/typescript-fetch/builds/default/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/default/runtime.ts b/samples/client/petstore/typescript-fetch/builds/default/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/default/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/default/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/enum/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/enum/apis/DefaultApi.ts index 88a965dfc12..3595d260d9f 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { EnumPatternObject, diff --git a/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts b/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts index 1c427957426..75e0e1e4673 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/models/EnumPatternObject.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { NumberEnum } from './NumberEnum'; import { @@ -61,7 +60,6 @@ export interface EnumPatternObject { } - /** * Check if a given object implements the EnumPatternObject interface. */ @@ -103,4 +101,3 @@ export function EnumPatternObjectFromJSONTyped(json: any, ignoreDiscriminator: b 'nullable-number-enum': NumberEnumToJSON(value['nullableNumberEnum']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/enum/models/FakeEnumRequestGetInline200Response.ts b/samples/client/petstore/typescript-fetch/builds/enum/models/FakeEnumRequestGetInline200Response.ts index f45e1771ea3..f5716728a97 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/models/FakeEnumRequestGetInline200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/models/FakeEnumRequestGetInline200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -86,7 +85,6 @@ export const FakeEnumRequestGetInline200ResponseNullableNumberEnumEnum = { } as const; export type FakeEnumRequestGetInline200ResponseNullableNumberEnumEnum = typeof FakeEnumRequestGetInline200ResponseNullableNumberEnumEnum[keyof typeof FakeEnumRequestGetInline200ResponseNullableNumberEnumEnum]; - /** * Check if a given object implements the FakeEnumRequestGetInline200Response interface. */ @@ -128,4 +126,3 @@ export function FakeEnumRequestGetInline200ResponseFromJSONTyped(json: any, igno 'nullable-number-enum': value['nullableNumberEnum'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/enum/models/NumberEnum.ts b/samples/client/petstore/typescript-fetch/builds/enum/models/NumberEnum.ts index d893f114345..d87e3999d93 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/models/NumberEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/models/NumberEnum.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function NumberEnumToJSON(value?: NumberEnum | null): any { export function NumberEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): NumberEnum { return value as NumberEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/enum/models/StringEnum.ts b/samples/client/petstore/typescript-fetch/builds/enum/models/StringEnum.ts index 172e15ef52d..9f0e7f84ced 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/models/StringEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/models/StringEnum.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function StringEnumToJSON(value?: StringEnum | null): any { export function StringEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): StringEnum { return value as StringEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/enum/runtime.ts b/samples/client/petstore/typescript-fetch/builds/enum/runtime.ts index 7f99552816f..b727de732ed 100644 --- a/samples/client/petstore/typescript-fetch/builds/enum/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/enum/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://localhost:3000".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/PetApi.ts index 22062ecf531..597902f04a2 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/StoreApi.ts index 49163cc4b46..5fd87bf5f0d 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/UserApi.ts index 03a5448df52..f08cefef64c 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/User.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/es6-target/src/runtime.ts b/samples/client/petstore/typescript-fetch/builds/es6-target/src/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/es6-target/src/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/es6-target/src/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/PetApi.ts index 66a4232c389..9ce061a0709 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/StoreApi.ts index 8cf46da17dd..bd9ceb0ff20 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/UserApi.ts index b60bf74dc41..54d9baf110e 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/User.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/runtime.ts b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/multiple-parameters/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/multiple-parameters/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/oneOf/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/oneOf/apis/DefaultApi.ts index 3383adf93df..340e84a4b15 100644 --- a/samples/client/petstore/typescript-fetch/builds/oneOf/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/oneOf/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { TestResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestA.ts b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestA.ts index 8fffa09116a..eaeb888398f 100644 --- a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestA.ts +++ b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestA.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface TestA { */ foo: string; } - /** * Check if a given object implements the TestA interface. */ @@ -63,4 +61,3 @@ export function TestAFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tes 'foo': value['foo'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestB.ts b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestB.ts index d8477b8db52..55a03f5279a 100644 --- a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestB.ts +++ b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestB.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface TestB { */ bar: string; } - /** * Check if a given object implements the TestB interface. */ @@ -63,4 +61,3 @@ export function TestBFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tes 'bar': value['bar'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestResponse.ts b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestResponse.ts index d37db87e324..6e6efa82320 100644 --- a/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/oneOf/models/TestResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { TestA } from './TestA'; import { instanceOfTestA, @@ -33,7 +32,6 @@ import { * @export */ export type TestResponse = TestA | TestB; - export function TestResponseFromJSON(json: any): TestResponse { return TestResponseFromJSONTyped(json, false); } @@ -66,4 +64,3 @@ export function TestResponseToJSON(value?: TestResponse | null): any { return {}; } - diff --git a/samples/client/petstore/typescript-fetch/builds/oneOf/runtime.ts b/samples/client/petstore/typescript-fetch/builds/oneOf/runtime.ts index 9ccdf703735..5d1c875811d 100644 --- a/samples/client/petstore/typescript-fetch/builds/oneOf/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/oneOf/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://localhost:3000".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/PetApi.ts index 4776d47251c..fdfe044a01f 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/StoreApi.ts index 58434bd8740..96404277d2e 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/UserApi.ts index b18b7fd43c5..91282bee21a 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/User.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/runtime.ts b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/prefix-parameter-interfaces/src/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApi.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApi.ts index e20073b50cb..66fff504ffa 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { GetBehaviorPermissionsResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApiSagas.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApiSagas.ts index 0c98a78f633..3b1132b43f7 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApiSagas.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/BehaviorApiSagas.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import {Api} from './index'; import {List} from 'immutable'; import {all, fork, put, takeLatest} from "redux-saga/effects"; diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApi.ts index f1f83a90663..ae87856fe94 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Category, diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApiSagas.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApiSagas.ts index 841f613f391..9e371725904 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApiSagas.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetApiSagas.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import {Api} from './index'; import {List} from 'immutable'; import {all, fork, put, takeLatest} from "redux-saga/effects"; diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApi.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApi.ts index c1c514c3f8a..ab98432bdbd 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { GetMatchingPartsResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApiSagas.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApiSagas.ts index 41189b27919..58bd7ed4bdf 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApiSagas.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/PetPartApiSagas.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import {Api} from './index'; import {List} from 'immutable'; import {all, fork, put, takeLatest} from "redux-saga/effects"; diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApi.ts index 8cf46da17dd..bd9ceb0ff20 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApiSagas.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApiSagas.ts index ea92ff2f216..a2383babfd0 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApiSagas.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/StoreApiSagas.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import {Api} from './index'; import {List} from 'immutable'; import {all, fork, put, takeLatest} from "redux-saga/effects"; diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApi.ts index 0a634a21cf2..d696bf3cbf7 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { DefaultMetaOnlyResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApiSagas.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApiSagas.ts index ddef1ef77b0..b2e25e9eabf 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApiSagas.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/UserApiSagas.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import {Api} from './index'; import {List} from 'immutable'; import {all, fork, put, takeLatest} from "redux-saga/effects"; diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/BehaviorType.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/BehaviorType.ts index 0cb828571b6..67bc79d134b 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/BehaviorType.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/BehaviorType.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * Behavior type of a pet * @export @@ -51,4 +50,3 @@ export function BehaviorTypeToJSON(value?: BehaviorType | null): any { export function BehaviorTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): BehaviorType { return value as BehaviorType; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/CategoryRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/CategoryRecord.ts index 2bb757b734a..a432c894c0c 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/CategoryRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/CategoryRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -103,4 +102,3 @@ export const categoryRecordUtils = new CategoryRecordUtils(); export const apiEntitiesCategorySelector = (state: any) => getApiEntitiesState(state).category as Map; export const apiEntityCategorySelector = (state: any, {id}: {id?: string | null}) => id ? apiEntitiesCategorySelector(state).get(id) : undefined; - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponse.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponse.ts index 35356dee4a9..b1c5b2d712d 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { ResponseMeta } from './ResponseMeta'; import { @@ -34,7 +33,6 @@ export interface DefaultMetaOnlyResponse { */ meta: ResponseMeta; } - /** * Check if a given object implements the DefaultMetaOnlyResponse interface. */ @@ -71,4 +69,3 @@ export function DefaultMetaOnlyResponseFromJSONTyped(json: any, ignoreDiscrimina 'meta': ResponseMetaToJSON(value['meta']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponseRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponseRecord.ts index 73ce3a84c71..520fe96c97f 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponseRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/DefaultMetaOnlyResponseRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -59,4 +58,3 @@ class DefaultMetaOnlyResponseRecordUtils extends ApiRecordUtils; } - /** * Check if a given object implements the FindPetsByStatusResponse interface. */ @@ -86,4 +84,3 @@ export function FindPetsByStatusResponseFromJSONTyped(json: any, ignoreDiscrimin 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(PetToJSON)), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByStatusResponseRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByStatusResponseRecord.ts index f22a5c3f59c..5c6e7bf0bef 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByStatusResponseRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByStatusResponseRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories, appFromJS, NormalizedRecordEntities} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -80,4 +79,3 @@ class FindPetsByStatusResponseRecordUtils extends ApiRecordUtils; } - /** * Check if a given object implements the FindPetsByUserResponse interface. */ @@ -86,4 +84,3 @@ export function FindPetsByUserResponseFromJSONTyped(json: any, ignoreDiscriminat 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(UserToJSON)), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByUserResponseRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByUserResponseRecord.ts index 0af0862472d..b51d87e923c 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByUserResponseRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/FindPetsByUserResponseRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories, appFromJS, NormalizedRecordEntities} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -80,4 +79,3 @@ class FindPetsByUserResponseRecordUtils extends ApiRecordUtils { export const itemIdRecordUtils = new ItemIdRecordUtils(); - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingParts.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingParts.ts index 955aefde719..00d76fed67f 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingParts.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingParts.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Part } from './Part'; import { @@ -40,7 +39,6 @@ export interface MatchingParts { */ related: Array; } - /** * Check if a given object implements the MatchingParts interface. */ @@ -80,4 +78,3 @@ export function MatchingPartsFromJSONTyped(json: any, ignoreDiscriminator: boole 'related': ((value['related'] as Array).map(PartToJSON)), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingPartsRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingPartsRecord.ts index 4170d2f84e9..50575955521 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingPartsRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/MatchingPartsRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -62,4 +61,3 @@ class MatchingPartsRecordUtils extends ApiRecordUtils export const modelErrorRecordUtils = new ModelErrorRecordUtils(); - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/OrderRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/OrderRecord.ts index a0ddf05e1ed..c71e091a877 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/OrderRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/OrderRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -108,4 +107,3 @@ export const orderRecordUtils = new OrderRecordUtils(); export const apiEntitiesOrderSelector = (state: any) => getApiEntitiesState(state).order as Map; export const apiEntityOrderSelector = (state: any, {id}: {id?: string | null}) => id ? apiEntitiesOrderSelector(state).get(id) : undefined; - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Part.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Part.ts index a9723f00da6..291a59beaf1 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Part.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Part.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Contains all the info about a pet part @@ -32,7 +31,6 @@ export interface Part { */ name: string; } - /** * Check if a given object implements the Part interface. */ @@ -72,4 +70,3 @@ export function PartFromJSONTyped(json: any, ignoreDiscriminator: boolean): Part 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PartRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PartRecord.ts index 539b8094c7a..624480fb5fd 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PartRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PartRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -53,4 +52,3 @@ class PartRecordUtils extends ApiRecordUtils { export const partRecordUtils = new PartRecordUtils(); - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Pet.ts index c02125e029a..2348a835d9b 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -187,7 +186,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -277,4 +275,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'regions': value['regions'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetPartType.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetPartType.ts index 40a214555e6..c4c8f7eea1a 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetPartType.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetPartType.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * Type of pet part * @export @@ -51,4 +50,3 @@ export function PetPartTypeToJSON(value?: PetPartType | null): any { export function PetPartTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): PetPartType { return value as PetPartType; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRecord.ts index 9c114b14d0f..ad5cc4245f1 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -184,4 +183,3 @@ export const petRecordUtils = new PetRecordUtils(); export const apiEntitiesPetSelector = (state: any) => getApiEntitiesState(state).pet as Map; export const apiEntityPetSelector = (state: any, {id}: {id?: string | null}) => id ? apiEntitiesPetSelector(state).get(id) : undefined; - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponse.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponse.ts index d48d53c5b55..27c6bba17dd 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { ResponseMeta } from './ResponseMeta'; import { @@ -40,7 +39,6 @@ export interface PetRegionsResponse { */ data?: Array>; } - /** * Check if a given object implements the PetRegionsResponse interface. */ @@ -79,4 +77,3 @@ export function PetRegionsResponseFromJSONTyped(json: any, ignoreDiscriminator: 'data': value['data'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponseRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponseRecord.ts index df2bcc6d3cb..c5fa993393a 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponseRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/PetRegionsResponseRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories, appFromJS, NormalizedRecordEntities} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -71,4 +70,3 @@ class PetRegionsResponseRecordUtils extends ApiRecordUtils getApiEntitiesState(state).tag as Map; export const apiEntityTagSelector = (state: any, {id}: {id?: string | null}) => id ? apiEntitiesTagSelector(state).get(id) : undefined; - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/User.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/User.ts index 32c20200e0c..b9e0c795ee3 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -80,7 +79,6 @@ export interface User { */ subUser2: User; } - /** * Check if a given object implements the User interface. */ @@ -136,4 +134,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'subUser2': UserToJSON(value['subUser2']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/UserRecord.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/UserRecord.ts index 399720f55ea..eccab4f7553 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/UserRecord.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/UserRecord.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import {ApiRecordUtils, knownRecordFactories} from "../runtimeSagasAndRecords"; import {getApiEntitiesState} from "../ApiEntitiesSelectors" import {List, Record, RecordOf, Map} from 'immutable'; @@ -111,4 +110,3 @@ export const userRecordUtils = new UserRecordUtils(); export const apiEntitiesUserSelector = (state: any) => getApiEntitiesState(state).user as Map; export const apiEntityUserSelector = (state: any, {id}: {id?: string | null}) => id ? apiEntitiesUserSelector(state).get(id) : undefined; - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/WarningCode.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/WarningCode.ts index 16b7bb37e96..8aa2d9004a3 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/WarningCode.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/models/WarningCode.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * Warning code returned when a potential problem is detected * @export @@ -51,4 +50,3 @@ export function WarningCodeToJSON(value?: WarningCode | null): any { export function WarningCodeToJSONTyped(value: any, ignoreDiscriminator: boolean): WarningCode { return value as WarningCode; } - diff --git a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/runtime.ts b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/AnotherFakeApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/AnotherFakeApi.ts index e63d48d42bd..222bc33c0dd 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/AnotherFakeApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/AnotherFakeApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Client, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/DefaultApi.ts index ef9dde7a080..44a70c83a2b 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { FooGetDefaultResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeApi.ts index 23e46bbf742..8b67ae8c685 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Client, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeClassnameTags123Api.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeClassnameTags123Api.ts index e2cf17eb7a2..3cd96901193 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeClassnameTags123Api.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/FakeClassnameTags123Api.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Client, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/PetApi.ts index 5b77f2de448..dd2b05fd7e7 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/StoreApi.ts index 4a7ee687d8d..6ea1903fd98 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/UserApi.ts index b151cb1eaac..f47fbb15595 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AdditionalPropertiesClass.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AdditionalPropertiesClass.ts index c15b937e8a1..faa20f87a24 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AdditionalPropertiesClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AdditionalPropertiesClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface AdditionalPropertiesClass { */ mapOfMapProperty?: { [key: string]: { [key: string]: string; }; }; } - /** * Check if a given object implements the AdditionalPropertiesClass interface. */ @@ -70,4 +68,3 @@ export function AdditionalPropertiesClassFromJSONTyped(json: any, ignoreDiscrimi 'map_of_map_property': value['mapOfMapProperty'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts index 826ea603e2d..6ec1d76d70a 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/AllOfWithSingleRef.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { SingleRefType } from './SingleRefType'; import { @@ -42,7 +41,6 @@ export interface AllOfWithSingleRef { } - /** * Check if a given object implements the AllOfWithSingleRef interface. */ @@ -80,4 +78,3 @@ export function AllOfWithSingleRefFromJSONTyped(json: any, ignoreDiscriminator: 'SingleRefType': SingleRefTypeToJSON(value['singleRefType']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Animal.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Animal.ts index 33ad57bbe79..91ea8ede44f 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Animal.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Animal.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import { Cat, CatFromJSONTyped, CatToJSON, CatToJSONTyped } from './Cat'; import { Dog, DogFromJSONTyped, DogToJSON, DogToJSONTyped } from './Dog'; @@ -34,7 +33,6 @@ export interface Animal { */ color?: string; } - /** * Check if a given object implements the Animal interface. */ @@ -92,4 +90,3 @@ export function AnimalFromJSONTyped(json: any, ignoreDiscriminator: boolean): An 'color': value['color'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfArrayOfNumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfArrayOfNumberOnly.ts index 18264d15d7c..02ad42ec8ad 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfArrayOfNumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfArrayOfNumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface ArrayOfArrayOfNumberOnly { */ arrayArrayNumber?: Array>; } - /** * Check if a given object implements the ArrayOfArrayOfNumberOnly interface. */ @@ -62,4 +60,3 @@ export function ArrayOfArrayOfNumberOnlyFromJSONTyped(json: any, ignoreDiscrimin 'ArrayArrayNumber': value['arrayArrayNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfNumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfNumberOnly.ts index fa5c6dc5edd..24fea8316a9 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfNumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayOfNumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface ArrayOfNumberOnly { */ arrayNumber?: Array; } - /** * Check if a given object implements the ArrayOfNumberOnly interface. */ @@ -62,4 +60,3 @@ export function ArrayOfNumberOnlyFromJSONTyped(json: any, ignoreDiscriminator: b 'ArrayNumber': value['arrayNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayTest.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayTest.ts index b31c80207b2..7f3ba2fe5e7 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ArrayTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { ReadOnlyFirst } from './ReadOnlyFirst'; import { @@ -46,7 +45,6 @@ export interface ArrayTest { */ arrayArrayOfModel?: Array>; } - /** * Check if a given object implements the ArrayTest interface. */ @@ -86,4 +84,3 @@ export function ArrayTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'array_array_of_model': value['arrayArrayOfModel'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Capitalization.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Capitalization.ts index ace2ede8847..5bf704ca908 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Capitalization.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Capitalization.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -57,7 +56,6 @@ export interface Capitalization { */ aTTNAME?: string; } - /** * Check if a given object implements the Capitalization interface. */ @@ -103,4 +101,3 @@ export function CapitalizationFromJSONTyped(json: any, ignoreDiscriminator: bool 'ATT_NAME': value['aTTNAME'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Cat.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Cat.ts index a1b44d02d26..eeb75c7a1e8 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Cat.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Cat.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -34,7 +33,6 @@ export interface Cat extends Animal { */ declawed?: boolean; } - /** * Check if a given object implements the Cat interface. */ @@ -70,4 +68,3 @@ export function CatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cat { 'declawed': value['declawed'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Category.ts index 7c8caddd496..e761b71f828 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface Category { */ name: string; } - /** * Check if a given object implements the Category interface. */ @@ -71,4 +69,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ClassModel.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ClassModel.ts index 813177eb3d5..9f3bac53ed9 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ClassModel.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ClassModel.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model with "_class" property @@ -26,7 +25,6 @@ export interface ClassModel { */ _class?: string; } - /** * Check if a given object implements the ClassModel interface. */ @@ -62,4 +60,3 @@ export function ClassModelFromJSONTyped(json: any, ignoreDiscriminator: boolean) '_class': value['_class'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Client.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Client.ts index c6aa7163b0b..8ee18c182a7 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Client.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Client.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Client { */ client?: string; } - /** * Check if a given object implements the Client interface. */ @@ -62,4 +60,3 @@ export function ClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cl 'client': value['client'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/DeprecatedObject.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/DeprecatedObject.ts index d2acf418fde..3fe0d956671 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/DeprecatedObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/DeprecatedObject.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface DeprecatedObject { */ name?: string; } - /** * Check if a given object implements the DeprecatedObject interface. */ @@ -62,4 +60,3 @@ export function DeprecatedObjectFromJSONTyped(json: any, ignoreDiscriminator: bo 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Dog.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Dog.ts index 1d66d5c04bf..729910f6458 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Dog.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Dog.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -34,7 +33,6 @@ export interface Dog extends Animal { */ breed?: string; } - /** * Check if a given object implements the Dog interface. */ @@ -70,4 +68,3 @@ export function DogFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dog { 'breed': value['breed'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumArrays.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumArrays.ts index 27f42e0a652..1b41f08158c 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumArrays.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumArrays.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -52,7 +51,6 @@ export const EnumArraysArrayEnumEnum = { } as const; export type EnumArraysArrayEnumEnum = typeof EnumArraysArrayEnumEnum[keyof typeof EnumArraysArrayEnumEnum]; - /** * Check if a given object implements the EnumArrays interface. */ @@ -90,4 +88,3 @@ export function EnumArraysFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'array_enum': value['arrayEnum'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumClass.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumClass.ts index 6878b859143..c851bd15cbb 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumClass.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function EnumClassToJSON(value?: EnumClass | null): any { export function EnumClassToJSONTyped(value: any, ignoreDiscriminator: boolean): EnumClass { return value as EnumClass; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumTest.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumTest.ts index de99ab4dc66..8b04745c152 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/EnumTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { OuterEnum } from './OuterEnum'; import { @@ -137,7 +136,6 @@ export const EnumTestEnumNumberEnum = { } as const; export type EnumTestEnumNumberEnum = typeof EnumTestEnumNumberEnum[keyof typeof EnumTestEnumNumberEnum]; - /** * Check if a given object implements the EnumTest interface. */ @@ -188,4 +186,3 @@ export function EnumTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'outerEnumIntegerDefaultValue': OuterEnumIntegerDefaultValueToJSON(value['outerEnumIntegerDefaultValue']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FakeBigDecimalMap200Response.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FakeBigDecimalMap200Response.ts index 5c97b9928ef..7723ce1c785 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FakeBigDecimalMap200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FakeBigDecimalMap200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface FakeBigDecimalMap200Response { */ someMap?: { [key: string]: number; }; } - /** * Check if a given object implements the FakeBigDecimalMap200Response interface. */ @@ -70,4 +68,3 @@ export function FakeBigDecimalMap200ResponseFromJSONTyped(json: any, ignoreDiscr 'someMap': value['someMap'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FileSchemaTestClass.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FileSchemaTestClass.ts index 557abed7403..79f98154f9b 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FileSchemaTestClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FileSchemaTestClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface FileSchemaTestClass { */ files?: Array; } - /** * Check if a given object implements the FileSchemaTestClass interface. */ @@ -70,4 +68,3 @@ export function FileSchemaTestClassFromJSONTyped(json: any, ignoreDiscriminator: 'files': value['files'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Foo.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Foo.ts index 118b6190f28..0503279d1f2 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Foo.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Foo.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface Foo { */ bar?: string; } - /** * Check if a given object implements the Foo interface. */ @@ -62,4 +60,3 @@ export function FooFromJSONTyped(json: any, ignoreDiscriminator: boolean): Foo { 'bar': value['bar'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FooGetDefaultResponse.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FooGetDefaultResponse.ts index 721b08a2242..35351d6b67e 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FooGetDefaultResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FooGetDefaultResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Foo } from './Foo'; import { @@ -34,7 +33,6 @@ export interface FooGetDefaultResponse { */ string?: Foo; } - /** * Check if a given object implements the FooGetDefaultResponse interface. */ @@ -70,4 +68,3 @@ export function FooGetDefaultResponseFromJSONTyped(json: any, ignoreDiscriminato 'string': FooToJSON(value['string']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FormatTest.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FormatTest.ts index a47a1b03c57..2a1312266c5 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FormatTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/FormatTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Decimal } from './Decimal'; import { @@ -124,7 +123,6 @@ export interface FormatTest { */ patternWithDigitsAndDelimiter?: string; } - /** * Check if a given object implements the FormatTest interface. */ @@ -194,4 +192,3 @@ export function FormatTestFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'pattern_with_digits_and_delimiter': value['patternWithDigitsAndDelimiter'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HasOnlyReadOnly.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HasOnlyReadOnly.ts index 0eb9accdc1f..eff6655352b 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HasOnlyReadOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HasOnlyReadOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface HasOnlyReadOnly { */ readonly foo?: string; } - /** * Check if a given object implements the HasOnlyReadOnly interface. */ @@ -68,4 +66,3 @@ export function HasOnlyReadOnlyFromJSONTyped(json: any, ignoreDiscriminator: boo }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HealthCheckResult.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HealthCheckResult.ts index c62de4d9fb8..b9db6bd13e5 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HealthCheckResult.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/HealthCheckResult.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -26,7 +25,6 @@ export interface HealthCheckResult { */ nullableMessage?: string | null; } - /** * Check if a given object implements the HealthCheckResult interface. */ @@ -62,4 +60,3 @@ export function HealthCheckResultFromJSONTyped(json: any, ignoreDiscriminator: b 'NullableMessage': value['nullableMessage'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/List.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/List.ts index fb9a30ea0e5..4bb692e9c70 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/List.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/List.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface List { */ _123list?: string; } - /** * Check if a given object implements the List interface. */ @@ -62,4 +60,3 @@ export function ListFromJSONTyped(json: any, ignoreDiscriminator: boolean): List '123-list': value['_123list'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MapTest.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MapTest.ts index a88b84fd102..d46c723ac72 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MapTest.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MapTest.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -55,7 +54,6 @@ export const MapTestMapOfEnumStringEnum = { } as const; export type MapTestMapOfEnumStringEnum = typeof MapTestMapOfEnumStringEnum[keyof typeof MapTestMapOfEnumStringEnum]; - /** * Check if a given object implements the MapTest interface. */ @@ -97,4 +95,3 @@ export function MapTestFromJSONTyped(json: any, ignoreDiscriminator: boolean): M 'indirect_map': value['indirectMap'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MixedPropertiesAndAdditionalPropertiesClass.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MixedPropertiesAndAdditionalPropertiesClass.ts index 1f69153ef85..8a531f5f237 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MixedPropertiesAndAdditionalPropertiesClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/MixedPropertiesAndAdditionalPropertiesClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Animal } from './Animal'; import { @@ -46,7 +45,6 @@ export interface MixedPropertiesAndAdditionalPropertiesClass { */ map?: { [key: string]: Animal; }; } - /** * Check if a given object implements the MixedPropertiesAndAdditionalPropertiesClass interface. */ @@ -86,4 +84,3 @@ export function MixedPropertiesAndAdditionalPropertiesClassFromJSONTyped(json: a 'map': value['map'] == null ? undefined : (mapValues(value['map'], AnimalToJSON)), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Model200Response.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Model200Response.ts index af0066b276e..75b2ff977c5 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Model200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Model200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model name starting with number @@ -32,7 +31,6 @@ export interface Model200Response { */ _class?: string; } - /** * Check if a given object implements the Model200Response interface. */ @@ -70,4 +68,3 @@ export function Model200ResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'class': value['_class'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelApiResponse.ts index a505854c2d7..3886031b14c 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelFile.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelFile.ts index ef6eee2c53c..8866671527e 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelFile.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ModelFile.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Must be named `File` for test. @@ -26,7 +25,6 @@ export interface ModelFile { */ sourceURI?: string; } - /** * Check if a given object implements the ModelFile interface. */ @@ -62,4 +60,3 @@ export function ModelFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'sourceURI': value['sourceURI'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Name.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Name.ts index 1c957bff4d6..b57550f80e1 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Name.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Name.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing model name same as property name @@ -44,7 +43,6 @@ export interface Name { */ readonly _123number?: number; } - /** * Check if a given object implements the Name interface. */ @@ -85,4 +83,3 @@ export function NameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Name 'property': value['property'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NullableClass.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NullableClass.ts index 4f32da1c0ce..ca09d8cd40b 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NullableClass.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NullableClass.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -93,7 +92,6 @@ export interface NullableClass { */ objectItemsNullable?: { [key: string]: object | null; }; } - /** * Check if a given object implements the NullableClass interface. */ @@ -153,4 +151,3 @@ export function NullableClassFromJSONTyped(json: any, ignoreDiscriminator: boole 'object_items_nullable': value['objectItemsNullable'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NumberOnly.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NumberOnly.ts index d9e19a6d9d8..bf6b6b4cbec 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NumberOnly.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/NumberOnly.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface NumberOnly { */ justNumber?: number; } - /** * Check if a given object implements the NumberOnly interface. */ @@ -62,4 +60,3 @@ export function NumberOnlyFromJSONTyped(json: any, ignoreDiscriminator: boolean) 'JustNumber': value['justNumber'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ObjectWithDeprecatedFields.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ObjectWithDeprecatedFields.ts index 88b02873350..fef27d5e45a 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ObjectWithDeprecatedFields.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ObjectWithDeprecatedFields.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { DeprecatedObject } from './DeprecatedObject'; import { @@ -55,7 +54,6 @@ export interface ObjectWithDeprecatedFields { */ bars?: Array; } - /** * Check if a given object implements the ObjectWithDeprecatedFields interface. */ @@ -97,4 +95,3 @@ export function ObjectWithDeprecatedFieldsFromJSONTyped(json: any, ignoreDiscrim 'bars': value['bars'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Order.ts index ef82efcce50..7df2fdb6f25 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterComposite.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterComposite.ts index ab4303f03c3..ff912e49b0d 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterComposite.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterComposite.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -38,7 +37,6 @@ export interface OuterComposite { */ myBoolean?: boolean; } - /** * Check if a given object implements the OuterComposite interface. */ @@ -78,4 +76,3 @@ export function OuterCompositeFromJSONTyped(json: any, ignoreDiscriminator: bool 'my_boolean': value['myBoolean'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnum.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnum.ts index 4be9edeac58..bfad65965b4 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnum.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumToJSON(value?: OuterEnum | null): any { export function OuterEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnum { return value as OuterEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumDefaultValue.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumDefaultValue.ts index de44a787812..a06dea10daa 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumDefaultValue.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumDefaultValue.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumDefaultValueToJSON(value?: OuterEnumDefaultValue | null export function OuterEnumDefaultValueToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumDefaultValue { return value as OuterEnumDefaultValue; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumInteger.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumInteger.ts index b899dc358ea..28f5fd67205 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumInteger.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumInteger.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumIntegerToJSON(value?: OuterEnumInteger | null): any { export function OuterEnumIntegerToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumInteger { return value as OuterEnumInteger; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumIntegerDefaultValue.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumIntegerDefaultValue.ts index 1a694169921..14a66d64b3c 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumIntegerDefaultValue.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterEnumIntegerDefaultValue.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -51,4 +50,3 @@ export function OuterEnumIntegerDefaultValueToJSON(value?: OuterEnumIntegerDefau export function OuterEnumIntegerDefaultValueToJSONTyped(value: any, ignoreDiscriminator: boolean): OuterEnumIntegerDefaultValue { return value as OuterEnumIntegerDefaultValue; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts index a533ca482d8..ea2d8a9294d 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/OuterObjectWithEnumProperty.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { OuterEnumInteger } from './OuterEnumInteger'; import { @@ -36,7 +35,6 @@ export interface OuterObjectWithEnumProperty { } - /** * Check if a given object implements the OuterObjectWithEnumProperty interface. */ @@ -73,4 +71,3 @@ export function OuterObjectWithEnumPropertyFromJSONTyped(json: any, ignoreDiscri 'value': OuterEnumIntegerToJSON(value['value']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Pet.ts index 4dc3777b012..fa18f70da8d 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ReadOnlyFirst.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ReadOnlyFirst.ts index 561b3037f5c..dda330e4a46 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ReadOnlyFirst.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/ReadOnlyFirst.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface ReadOnlyFirst { */ baz?: string; } - /** * Check if a given object implements the ReadOnlyFirst interface. */ @@ -69,4 +67,3 @@ export function ReadOnlyFirstFromJSONTyped(json: any, ignoreDiscriminator: boole 'baz': value['baz'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Return.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Return.ts index dc1fd7c1712..a79a0f3c4c8 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Return.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Return.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Model for testing reserved words @@ -26,7 +25,6 @@ export interface Return { */ _return?: number; } - /** * Check if a given object implements the Return interface. */ @@ -62,4 +60,3 @@ export function ReturnFromJSONTyped(json: any, ignoreDiscriminator: boolean): Re 'return': value['_return'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SingleRefType.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SingleRefType.ts index 8247fdf99d2..220daeca0a2 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SingleRefType.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SingleRefType.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - /** * * @export @@ -50,4 +49,3 @@ export function SingleRefTypeToJSON(value?: SingleRefType | null): any { export function SingleRefTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SingleRefType { return value as SingleRefType; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SpecialModelName.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SpecialModelName.ts index 3fec48ea443..d6505ded052 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SpecialModelName.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/SpecialModelName.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -26,7 +25,6 @@ export interface SpecialModelName { */ $specialPropertyName?: number; } - /** * Check if a given object implements the SpecialModelName interface. */ @@ -62,4 +60,3 @@ export function SpecialModelNameFromJSONTyped(json: any, ignoreDiscriminator: bo '$special[property.name]': value['$specialPropertyName'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Tag.ts index 11266e1fb90..12c1cad8c49 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/User.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/User.ts index 97523c16bb4..2a316804d15 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/runtime.ts b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/runtime.ts index ed35f30ef7a..48a19155886 100644 --- a/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/snakecase-discriminator/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io:80/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/PetApi.ts index a791292c47a..2c66c18d2ef 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/StoreApi.ts index 2e8408d1d2c..9f58ece40ad 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/UserApi.ts index 39e604591ff..57dddac0700 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Category.ts index 93ddb7d8f62..b637cb266fc 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -90,4 +88,3 @@ export const CategoryPropertyValidationAttributesMap: { pattern: '/^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$/', }, } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/ModelApiResponse.ts index 51e5f5a91a4..efe4034b505 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -95,4 +93,3 @@ export const ModelApiResponsePropertyValidationAttributesMap: { } } = { } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Order.ts index fb3d41daab6..84864ba3fa5 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -69,7 +68,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -139,4 +137,3 @@ export const OrderAdditionalPropertiesValidationAttributes: { maxProperties?: nu maxProperties: 10, minProperties: 2, } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Pet.ts index 2290adbd00d..f6b29a47ccb 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -84,7 +83,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -154,4 +152,3 @@ export const PetPropertyValidationAttributesMap: { uniqueItems: true, }, } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Tag.ts index eefbfb792ff..39d942cf819 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -87,4 +85,3 @@ export const TagPropertyValidationAttributesMap: { } } = { } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/User.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/User.ts index f12cee29181..d2a97be8af0 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -146,4 +144,3 @@ export const UserPropertyValidationAttributesMap: { multipleOf: 10, }, } - diff --git a/samples/client/petstore/typescript-fetch/builds/validation-attributes/runtime.ts b/samples/client/petstore/typescript-fetch/builds/validation-attributes/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/validation-attributes/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/validation-attributes/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts index c3b33a5b61d..5021e50733b 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/StoreApi.ts index 7e4e8a7b5ba..930eb69d4ab 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts index 01ec9acf7cc..f49a8098d09 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/User.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-interfaces/runtime.ts b/samples/client/petstore/typescript-fetch/builds/with-interfaces/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-interfaces/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-interfaces/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/PetApi.ts index 22062ecf531..597902f04a2 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/StoreApi.ts index 49163cc4b46..5fd87bf5f0d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/UserApi.ts index 03a5448df52..f08cefef64c 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Category.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Category.ts index b1f80cca9cd..12484e94e3b 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Category.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Category.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A category for a pet @@ -32,7 +31,6 @@ export interface Category { */ name?: string; } - /** * Check if a given object implements the Category interface. */ @@ -70,4 +68,3 @@ export function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/ModelApiResponse.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/ModelApiResponse.ts index baea7c98fec..c8d9761348f 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/ModelApiResponse.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -38,7 +37,6 @@ export interface ModelApiResponse { */ message?: string; } - /** * Check if a given object implements the ModelApiResponse interface. */ @@ -78,4 +76,3 @@ export function ModelApiResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'message': value['message'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Order.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Order.ts index 5f0ffc2452d..5bf7483054d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Order.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Order.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -68,7 +67,6 @@ export const OrderStatusEnum = { } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * Check if a given object implements the Order interface. */ @@ -114,4 +112,3 @@ export function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ord 'complete': value['complete'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Pet.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Pet.ts index 90ba76c7c49..dab90419ecf 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Pet.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Pet.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { Category } from './Category'; import { @@ -83,7 +82,6 @@ export const PetStatusEnum = { } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * Check if a given object implements the Pet interface. */ @@ -131,4 +129,3 @@ export function PetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pet { 'status': value['status'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Tag.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Tag.ts index 9b7b41d11e8..243c6076cf3 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Tag.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/Tag.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A tag for a pet @@ -32,7 +31,6 @@ export interface Tag { */ name?: string; } - /** * Check if a given object implements the Tag interface. */ @@ -70,4 +68,3 @@ export function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag { 'name': value['name'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/User.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/User.ts index 54d3a2b2d69..03877554d2d 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/User.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/models/User.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -68,7 +67,6 @@ export interface User { */ userStatus?: number; } - /** * Check if a given object implements the User interface. */ @@ -118,4 +116,3 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User 'userStatus': value['userStatus'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/runtime.ts b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/runtime.ts index 2c4103a8908..aa05cf26a8c 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-npm-version/src/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/apis/DefaultApi.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/apis/DefaultApi.ts index 8eb16afcbf4..485021e2849 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/apis/DefaultApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/apis/DefaultApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { EnumPatternObject, diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts index 1c427957426..75e0e1e4673 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/EnumPatternObject.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; import type { NumberEnum } from './NumberEnum'; import { @@ -61,7 +60,6 @@ export interface EnumPatternObject { } - /** * Check if a given object implements the EnumPatternObject interface. */ @@ -103,4 +101,3 @@ export function EnumPatternObjectFromJSONTyped(json: any, ignoreDiscriminator: b 'nullable-number-enum': NumberEnumToJSON(value['nullableNumberEnum']), }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/FakeEnumRequestGetInline200Response.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/FakeEnumRequestGetInline200Response.ts index 5822a99aa44..dfe39b3b265 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/FakeEnumRequestGetInline200Response.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/FakeEnumRequestGetInline200Response.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { mapValues } from '../runtime'; /** * @@ -82,7 +81,6 @@ export enum FakeEnumRequestGetInline200ResponseNullableNumberEnumEnum { NUMBER_3 = 3 } - /** * Check if a given object implements the FakeEnumRequestGetInline200Response interface. */ @@ -124,4 +122,3 @@ export function FakeEnumRequestGetInline200ResponseFromJSONTyped(json: any, igno 'nullable-number-enum': value['nullableNumberEnum'], }; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/NumberEnum.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/NumberEnum.ts index 4170bf9c7c8..af89de2a764 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/NumberEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/NumberEnum.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * * @export @@ -50,4 +49,3 @@ export function NumberEnumToJSON(value?: NumberEnum | null): any { export function NumberEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): NumberEnum { return value as NumberEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/StringEnum.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/StringEnum.ts index 484ec6c2e01..867ead64ad0 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/StringEnum.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/models/StringEnum.ts @@ -11,7 +11,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * * @export @@ -50,4 +49,3 @@ export function StringEnumToJSON(value?: StringEnum | null): any { export function StringEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): StringEnum { return value as StringEnum; } - diff --git a/samples/client/petstore/typescript-fetch/builds/with-string-enums/runtime.ts b/samples/client/petstore/typescript-fetch/builds/with-string-enums/runtime.ts index 7f99552816f..b727de732ed 100644 --- a/samples/client/petstore/typescript-fetch/builds/with-string-enums/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/with-string-enums/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://localhost:3000".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/PetApi.ts b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/PetApi.ts index 29ef7179b71..f0c4c3d47ec 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/PetApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { ModelApiResponse, diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/StoreApi.ts b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/StoreApi.ts index 24740b19763..f0178181033 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/StoreApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { Order, diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/UserApi.ts b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/UserApi.ts index 283e3259aed..f5f3f6f2f2a 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/apis/UserApi.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - import * as runtime from '../runtime'; import type { User, diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/models/index.ts b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/models/index.ts index ab1529f795f..19cad134ef5 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/models/index.ts +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/models/index.ts @@ -18,8 +18,7 @@ export interface Category { * @memberof Category */ name?: string; -} -/** +}/** * Describes the result of uploading an image resource * @export * @interface ModelApiResponse @@ -43,8 +42,7 @@ export interface ModelApiResponse { * @memberof ModelApiResponse */ message?: string; -} -/** +}/** * An order for a pets from the pet store * @export * @interface Order @@ -98,7 +96,6 @@ export const OrderStatusEnum = { Delivered: 'delivered' } as const; export type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum]; - /** * A pet for sale in the pet store * @export @@ -153,7 +150,6 @@ export const PetStatusEnum = { Sold: 'sold' } as const; export type PetStatusEnum = typeof PetStatusEnum[keyof typeof PetStatusEnum]; - /** * A tag for a pet * @export @@ -172,8 +168,7 @@ export interface Tag { * @memberof Tag */ name?: string; -} -/** +}/** * A User who is purchasing from the pet store * @export * @interface User @@ -227,4 +222,4 @@ export interface User { * @memberof User */ userStatus?: number; -} +} \ No newline at end of file diff --git a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/runtime.ts b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/runtime.ts index dc5ead05087..387fa5c79ff 100644 --- a/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/runtime.ts +++ b/samples/client/petstore/typescript-fetch/builds/without-runtime-checks/src/runtime.ts @@ -12,7 +12,6 @@ * Do not edit the class manually. */ - export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); export interface ConfigurationParameters { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/PetApi.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/PetApi.ts index e2f23063bb3..db353cb3b62 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/PetApi.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/PetApi.ts @@ -11,7 +11,6 @@ * Do not edit the class manually. */ - import { HttpMethods, QueryConfig, ResponseBody, ResponseText } from 'redux-query'; import * as runtime from '../runtime'; import { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/StoreApi.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/StoreApi.ts index ad509b371d4..18832edfc4b 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/StoreApi.ts @@ -11,7 +11,6 @@ * Do not edit the class manually. */ - import { HttpMethods, QueryConfig, ResponseBody, ResponseText } from 'redux-query'; import * as runtime from '../runtime'; import { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/UserApi.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/UserApi.ts index 5e35989d886..c59e6efad16 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/UserApi.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/apis/UserApi.ts @@ -11,7 +11,6 @@ * Do not edit the class manually. */ - import { HttpMethods, QueryConfig, ResponseBody, ResponseText } from 'redux-query'; import * as runtime from '../runtime'; import { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Category.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Category.ts index 61c1f88781d..e7cd1655898 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Category.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Category.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; /** * A category for a pet @@ -49,4 +48,3 @@ export function CategoryToJSON(value?: Category): any { }; } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/ModelApiResponse.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/ModelApiResponse.ts index 1bb95aba358..0bffabef135 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/ModelApiResponse.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/ModelApiResponse.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; /** * Describes the result of uploading an image resource @@ -57,4 +56,3 @@ export function ModelApiResponseToJSON(value?: ModelApiResponse): any { }; } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Order.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Order.ts index ff701de3c3b..68c5ec73b40 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Order.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Order.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; /** * An order for a pets from the pet store @@ -91,4 +90,3 @@ export enum OrderStatusEnum { Delivered = 'delivered' } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Pet.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Pet.ts index b0b21c2a3bf..4746e407d02 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Pet.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Pet.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; import { Category, @@ -100,4 +99,3 @@ export enum PetStatusEnum { Sold = 'sold' } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Tag.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Tag.ts index f3f0bd89167..c51dfa653b2 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Tag.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/Tag.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; /** * A tag for a pet @@ -49,4 +48,3 @@ export function TagToJSON(value?: Tag): any { }; } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/User.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/User.ts index 34f33edddd7..69cf1554cb3 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/User.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/models/User.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { exists, mapValues } from '../runtime'; /** * A User who is purchasing from the pet store @@ -97,4 +96,3 @@ export function UserToJSON(value?: User): any { }; } - diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/runtime.ts b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/runtime.ts index 63ad66b7a09..14e75ed170c 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/runtime.ts +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/src/runtime.ts @@ -11,7 +11,6 @@ * Do not edit the class manually. */ - import { Meta, OptimisticUpdate, QueryKey, QueryOptions, Rollback, TransformStrategy, Update } from "redux-query"; export const BASE_PATH = "http://petstore.swagger.io/v2".replace(/\/+$/, ""); diff --git a/samples/client/petstore/typescript-rxjs/builds/default/apis/PetApi.ts b/samples/client/petstore/typescript-rxjs/builds/default/apis/PetApi.ts index 7745f081c8b..bee10aa91a9 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/apis/PetApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/apis/PetApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI, COLLECTION_FORMATS } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/default/apis/StoreApi.ts b/samples/client/petstore/typescript-rxjs/builds/default/apis/StoreApi.ts index 85dcd9aa568..c05ebaa00b0 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/apis/StoreApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/default/apis/UserApi.ts b/samples/client/petstore/typescript-rxjs/builds/default/apis/UserApi.ts index dd1507f0c25..79f367f449b 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/apis/UserApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/apis/UserApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/ApiResponse.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/ApiResponse.ts index 942e4b992bf..b6aeb61fafd 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/ApiResponse.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/ApiResponse.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Describes the result of uploading an image resource * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/Category.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/Category.ts index 4e1d3e51e2e..8b3336b1e4c 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/Category.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/Category.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A category for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/Order.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/Order.ts index c6b7790d702..6f3cc4f32d2 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/Order.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/Order.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * An order for a pets from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/Pet.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/Pet.ts index 3d20bc0a87d..788a0b87c4e 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/Pet.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/Pet.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Category, Tag, diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/Tag.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/Tag.ts index 58792b18e6b..e0a059e7186 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/Tag.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/Tag.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A tag for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/default/models/User.ts b/samples/client/petstore/typescript-rxjs/builds/default/models/User.ts index a642d97bf8c..eb85eeb6420 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/models/User.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/models/User.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A User who is purchasing from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/default/runtime.ts b/samples/client/petstore/typescript-rxjs/builds/default/runtime.ts index d3934f08cc7..cb3a1182844 100644 --- a/samples/client/petstore/typescript-rxjs/builds/default/runtime.ts +++ b/samples/client/petstore/typescript-rxjs/builds/default/runtime.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { of } from 'rxjs'; import type { Observable } from 'rxjs'; import { ajax } from 'rxjs/ajax'; diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/PetApi.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/PetApi.ts index 7745f081c8b..bee10aa91a9 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/PetApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/PetApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI, COLLECTION_FORMATS } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/StoreApi.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/StoreApi.ts index 85dcd9aa568..c05ebaa00b0 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/StoreApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/UserApi.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/UserApi.ts index dd1507f0c25..79f367f449b 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/UserApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/apis/UserApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/ApiResponse.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/ApiResponse.ts index 942e4b992bf..b6aeb61fafd 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/ApiResponse.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/ApiResponse.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Describes the result of uploading an image resource * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Category.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Category.ts index 4e1d3e51e2e..8b3336b1e4c 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Category.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Category.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A category for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Order.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Order.ts index c6b7790d702..6f3cc4f32d2 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Order.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Order.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * An order for a pets from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Pet.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Pet.ts index 3d20bc0a87d..788a0b87c4e 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Pet.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Pet.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Category, Tag, diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Tag.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Tag.ts index 58792b18e6b..e0a059e7186 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Tag.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/Tag.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A tag for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/User.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/User.ts index a642d97bf8c..eb85eeb6420 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/models/User.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/models/User.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A User who is purchasing from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/runtime.ts b/samples/client/petstore/typescript-rxjs/builds/es6-target/runtime.ts index d3934f08cc7..cb3a1182844 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/runtime.ts +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/runtime.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { of } from 'rxjs'; import type { Observable } from 'rxjs'; import { ajax } from 'rxjs/ajax'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/PetApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/PetApi.ts index 7745f081c8b..bee10aa91a9 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/PetApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/PetApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI, COLLECTION_FORMATS } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/StoreApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/StoreApi.ts index 85dcd9aa568..c05ebaa00b0 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/StoreApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/UserApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/UserApi.ts index dd1507f0c25..79f367f449b 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/UserApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/apis/UserApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/ApiResponse.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/ApiResponse.ts index 942e4b992bf..b6aeb61fafd 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/ApiResponse.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/ApiResponse.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Describes the result of uploading an image resource * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Category.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Category.ts index 4e1d3e51e2e..8b3336b1e4c 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Category.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Category.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A category for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Order.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Order.ts index c6b7790d702..6f3cc4f32d2 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Order.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Order.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * An order for a pets from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Pet.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Pet.ts index 3d20bc0a87d..788a0b87c4e 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Pet.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Pet.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Category, Tag, diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Tag.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Tag.ts index 58792b18e6b..e0a059e7186 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Tag.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/Tag.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A tag for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/User.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/User.ts index a642d97bf8c..eb85eeb6420 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/User.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/models/User.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A User who is purchasing from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/runtime.ts b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/runtime.ts index d3934f08cc7..cb3a1182844 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/runtime.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/runtime.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { of } from 'rxjs'; import type { Observable } from 'rxjs'; import { ajax } from 'rxjs/ajax'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/PetApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/PetApi.ts index 1fd55eca4bc..61cae0464ed 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/PetApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/PetApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI, COLLECTION_FORMATS } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/StoreApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/StoreApi.ts index 7d1a2bf2ca4..3b29d45a1cb 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/StoreApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/StoreApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/UserApi.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/UserApi.ts index e7ad80b2769..06d079efe06 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/UserApi.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/apis/UserApi.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Observable } from 'rxjs'; import type { AjaxResponse } from 'rxjs/ajax'; import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime'; diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/ApiResponse.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/ApiResponse.ts index 942e4b992bf..b6aeb61fafd 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/ApiResponse.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/ApiResponse.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * Describes the result of uploading an image resource * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Category.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Category.ts index 4e1d3e51e2e..8b3336b1e4c 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Category.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Category.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A category for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Order.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Order.ts index c6b7790d702..6f3cc4f32d2 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Order.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Order.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * An order for a pets from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Pet.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Pet.ts index 3d20bc0a87d..788a0b87c4e 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Pet.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Pet.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import type { Category, Tag, diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Tag.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Tag.ts index 58792b18e6b..e0a059e7186 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Tag.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/Tag.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A tag for a pet * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/User.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/User.ts index a642d97bf8c..eb85eeb6420 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/User.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/models/User.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - /** * A User who is purchasing from the pet store * @export diff --git a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/runtime.ts b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/runtime.ts index 4f1419e6238..1b194e83a11 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/runtime.ts +++ b/samples/client/petstore/typescript-rxjs/builds/with-progress-subscriber/runtime.ts @@ -10,7 +10,6 @@ * https://openapi-generator.tech * Do not edit the class manually. */ - import { of } from 'rxjs'; import type { Observable, Subscriber } from 'rxjs'; import { ajax } from 'rxjs/ajax'; diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html index 1f7b7b1cf7e..dffc548eccd 100644 --- a/samples/documentation/html2/index.html +++ b/samples/documentation/html2/index.html @@ -7,61 +7,57 @@ - + /*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ + !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0 - + !function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; + (function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= + b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;ah[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, + q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com", + /^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+ + s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/, + q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d= + c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], + "catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"], + O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], + Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, + V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-", + /^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/], + ["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}), + ["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q, + hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]); + p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="
"+a+"
";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1}); + return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i - + /*! + * Bootstrap.js by @fat & @mdo + * Copyright 2013 Twitter, Inc. + * https://www.apache.org/licenses/LICENSE-2.0.txt + */ + !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e(' - + (function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define("JSONFormatter", [], factory); + else if(typeof exports === 'object') + exports["JSONFormatter"] = factory(); + else + root["JSONFormatter"] = factory(); + })(this, function() { + return /******/ (function(modules) { // webpackBootstrap + /******/ // The module cache + /******/ var installedModules = {}; + /******/ + /******/ // The require function + /******/ function __webpack_require__(moduleId) { + /******/ + /******/ // Check if module is in cache + /******/ if(installedModules[moduleId]) + /******/ return installedModules[moduleId].exports; + /******/ + /******/ // Create a new module (and put it into the cache) + /******/ var module = installedModules[moduleId] = { + /******/ exports: {}, + /******/ id: moduleId, + /******/ loaded: false + /******/ }; + /******/ + /******/ // Execute the module function + /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + /******/ + /******/ // Flag the module as loaded + /******/ module.loaded = true; + /******/ + /******/ // Return the exports of the module + /******/ return module.exports; + /******/ } + /******/ + /******/ + /******/ // expose the modules object (__webpack_modules__) + /******/ __webpack_require__.m = modules; + /******/ + /******/ // expose the module cache + /******/ __webpack_require__.c = installedModules; + /******/ + /******/ // __webpack_public_path__ + /******/ __webpack_require__.p = "dist"; + /******/ + /******/ // Load entry module and return exports + /******/ return __webpack_require__(0); + /******/ }) + /************************************************************************/ + /******/ ([ + /* 0 */ + /***/ function(module, exports, __webpack_require__) { + + module.exports = __webpack_require__(1); + + + /***/ }, + /* 1 */ + /***/ function(module, exports, __webpack_require__) { + + "use strict"; + __webpack_require__(2); + var helpers_ts_1 = __webpack_require__(6); + var DATE_STRING_REGEX = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/; + var PARTIAL_DATE_REGEX = /\d{2}:\d{2}:\d{2} GMT-\d{4}/; + var JSON_DATE_REGEX = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/; + // When toggling, don't animated removal or addition of more than a few items + var MAX_ANIMATED_TOGGLE_ITEMS = 10; + var requestAnimationFrame = window.requestAnimationFrame || function (cb) { cb(); return 0; }; + ; + var _defaultConfig = { + hoverPreviewEnabled: false, + hoverPreviewArrayCount: 100, + hoverPreviewFieldCount: 5, + animateOpen: true, + animateClose: true, + theme: null + }; + module.exports = (function () { + /** + * @param {object} json The JSON object you want to render. It has to be an + * object or array. Do NOT pass raw JSON string. + * + * @param {number} [open=1] his number indicates up to how many levels the + * rendered tree should expand. Set it to `0` to make the whole tree collapsed + * or set it to `Infinity` to expand the tree deeply + * + * @param {object} [config=defaultConfig] - + * defaultConfig = { + * hoverPreviewEnabled: false, + * hoverPreviewArrayCount: 100, + * hoverPreviewFieldCount: 5 + * } + * + * Available configurations: + * #####Hover Preview + * * `hoverPreviewEnabled`: enable preview on hover + * * `hoverPreviewArrayCount`: number of array items to show in preview Any + * array larger than this number will be shown as `Array[XXX]` where `XXX` + * is length of the array. + * * `hoverPreviewFieldCount`: number of object properties to show for object + * preview. Any object with more properties that thin number will be + * truncated. + * + * @param {string} [key=undefined] The key that this object in it's parent + * context + */ + function JSONFormatter(json, open, config, key) { + if (open === void 0) { open = 1; } + if (config === void 0) { config = _defaultConfig; } + this.json = json; + this.open = open; + this.config = config; + this.key = key; + // Hold the open state after the toggler is used + this._isOpen = null; + // Setting default values for config object + if (this.config.hoverPreviewEnabled === undefined) { + this.config.hoverPreviewEnabled = _defaultConfig.hoverPreviewEnabled; + } + if (this.config.hoverPreviewArrayCount === undefined) { + this.config.hoverPreviewArrayCount = _defaultConfig.hoverPreviewArrayCount; + } + if (this.config.hoverPreviewFieldCount === undefined) { + this.config.hoverPreviewFieldCount = _defaultConfig.hoverPreviewFieldCount; + } + } + Object.defineProperty(JSONFormatter.prototype, "isOpen", { + /* + * is formatter open? + */ + get: function () { + if (this._isOpen !== null) { + return this._isOpen; + } + else { + return this.open > 0; + } + }, + /* + * set open state (from toggler) + */ + set: function (value) { + this._isOpen = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isDate", { + /* + * is this a date string? + */ + get: function () { + return (this.type === 'string') && + (DATE_STRING_REGEX.test(this.json) || + JSON_DATE_REGEX.test(this.json) || + PARTIAL_DATE_REGEX.test(this.json)); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isUrl", { + /* + * is this a URL string? + */ + get: function () { + return this.type === 'string' && (this.json.indexOf('http') === 0); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isArray", { + /* + * is this an array? + */ + get: function () { + return Array.isArray(this.json); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isObject", { + /* + * is this an object? + * Note: In this context arrays are object as well + */ + get: function () { + return helpers_ts_1.isObject(this.json); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isEmptyObject", { + /* + * is this an empty object with no properties? + */ + get: function () { + return !this.keys.length && !this.isArray; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "isEmpty", { + /* + * is this an empty object or array? + */ + get: function () { + return this.isEmptyObject || (this.keys && !this.keys.length && this.isArray); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "hasKey", { + /* + * did we receive a key argument? + * This means that the formatter was called as a sub formatter of a parent formatter + */ + get: function () { + return typeof this.key !== 'undefined'; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "constructorName", { + /* + * if this is an object, get constructor function name + */ + get: function () { + return helpers_ts_1.getObjectName(this.json); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "type", { + /* + * get type of this value + * Possible values: all JavaScript primitive types plus "array" and "null" + */ + get: function () { + return helpers_ts_1.getType(this.json); + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(JSONFormatter.prototype, "keys", { + /* + * get object keys + * If there is an empty key we pad it wit quotes to make it visible + */ + get: function () { + if (this.isObject) { + return Object.keys(this.json).map(function (key) { return key ? key : '""'; }); + } + else { + return []; + } + }, + enumerable: true, + configurable: true + }); + /** + * Toggles `isOpen` state + * + */ + JSONFormatter.prototype.toggleOpen = function () { + this.isOpen = !this.isOpen; + if (this.element) { + if (this.isOpen) { + this.appendChildren(this.config.animateOpen); + } + else { + this.removeChildren(this.config.animateClose); + } + this.element.classList.toggle(helpers_ts_1.cssClass('open')); + } + }; + /** + * Open all children up to a certain depth. + * Allows actions such as expand all/collapse all + * + */ + JSONFormatter.prototype.openAtDepth = function (depth) { + if (depth === void 0) { depth = 1; } + if (depth < 0) { + return; + } + this.open = depth; + this.isOpen = (depth !== 0); + if (this.element) { + this.removeChildren(false); + if (depth === 0) { + this.element.classList.remove(helpers_ts_1.cssClass('open')); + } + else { + this.appendChildren(this.config.animateOpen); + this.element.classList.add(helpers_ts_1.cssClass('open')); + } + } + }; + /** + * Generates inline preview + * + * @returns {string} + */ + JSONFormatter.prototype.getInlinepreview = function () { + var _this = this; + if (this.isArray) { + // if array length is greater then 100 it shows "Array[101]" + if (this.json.length > this.config.hoverPreviewArrayCount) { + return "Array[" + this.json.length + "]"; + } + else { + return "[" + this.json.map(helpers_ts_1.getPreview).join(', ') + "]"; + } + } + else { + var keys = this.keys; + // the first five keys (like Chrome Developer Tool) + var narrowKeys = keys.slice(0, this.config.hoverPreviewFieldCount); + // json value schematic information + var kvs = narrowKeys.map(function (key) { return (key + ":" + helpers_ts_1.getPreview(_this.json[key])); }); + // if keys count greater then 5 then show ellipsis + var ellipsis = keys.length >= this.config.hoverPreviewFieldCount ? '…' : ''; + return "{" + kvs.join(', ') + ellipsis + "}"; + } + }; + /** + * Renders an HTML element and installs event listeners + * + * @returns {HTMLDivElement} + */ + JSONFormatter.prototype.render = function () { + // construct the root element and assign it to this.element + this.element = helpers_ts_1.createElement('div', 'row'); + // construct the toggler link + var togglerLink = helpers_ts_1.createElement('a', 'toggler-link'); + // if this is an object we need a wrapper span (toggler) + if (this.isObject) { + togglerLink.appendChild(helpers_ts_1.createElement('span', 'toggler')); + } + // if this is child of a parent formatter we need to append the key + if (this.hasKey) { + togglerLink.appendChild(helpers_ts_1.createElement('span', 'key', this.key + ":")); + } + // Value for objects and arrays + if (this.isObject) { + // construct the value holder element + var value = helpers_ts_1.createElement('span', 'value'); + // we need a wrapper span for objects + var objectWrapperSpan = helpers_ts_1.createElement('span'); + // get constructor name and append it to wrapper span + var constructorName = helpers_ts_1.createElement('span', 'constructor-name', this.constructorName); + objectWrapperSpan.appendChild(constructorName); + // if it's an array append the array specific elements like brackets and length + if (this.isArray) { + var arrayWrapperSpan = helpers_ts_1.createElement('span'); + arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', '[')); + arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'number', (this.json.length))); + arrayWrapperSpan.appendChild(helpers_ts_1.createElement('span', 'bracket', ']')); + objectWrapperSpan.appendChild(arrayWrapperSpan); + } + // append object wrapper span to toggler link + value.appendChild(objectWrapperSpan); + togglerLink.appendChild(value); + } + else { + // make a value holder element + var value = this.isUrl ? helpers_ts_1.createElement('a') : helpers_ts_1.createElement('span'); + // add type and other type related CSS classes + value.classList.add(helpers_ts_1.cssClass(this.type)); + if (this.isDate) { + value.classList.add(helpers_ts_1.cssClass('date')); + } + if (this.isUrl) { + value.classList.add(helpers_ts_1.cssClass('url')); + value.setAttribute('href', this.json); + } + // Append value content to value element + var valuePreview = helpers_ts_1.getValuePreview(this.json, this.json); + value.appendChild(document.createTextNode(valuePreview)); + // append the value element to toggler link + togglerLink.appendChild(value); + } + // if hover preview is enabled, append the inline preview element + if (this.isObject && this.config.hoverPreviewEnabled) { + var preview = helpers_ts_1.createElement('span', 'preview-text'); + preview.appendChild(document.createTextNode(this.getInlinepreview())); + togglerLink.appendChild(preview); + } + // construct a children element + var children = helpers_ts_1.createElement('div', 'children'); + // set CSS classes for children + if (this.isObject) { + children.classList.add(helpers_ts_1.cssClass('object')); + } + if (this.isArray) { + children.classList.add(helpers_ts_1.cssClass('array')); + } + if (this.isEmpty) { + children.classList.add(helpers_ts_1.cssClass('empty')); + } + // set CSS classes for root element + if (this.config && this.config.theme) { + this.element.classList.add(helpers_ts_1.cssClass(this.config.theme)); + } + if (this.isOpen) { + this.element.classList.add(helpers_ts_1.cssClass('open')); + } + // append toggler and children elements to root element + this.element.appendChild(togglerLink); + this.element.appendChild(children); + // if formatter is set to be open call appendChildren + if (this.isObject && this.isOpen) { + this.appendChildren(); + } + // add event listener for toggling + if (this.isObject) { + togglerLink.addEventListener('click', this.toggleOpen.bind(this)); + } + return this.element; + }; + /** + * Appends all the children to children element + * Animated option is used when user triggers this via a click + */ + JSONFormatter.prototype.appendChildren = function (animated) { + var _this = this; + if (animated === void 0) { animated = false; } + var children = this.element.querySelector("div." + helpers_ts_1.cssClass('children')); + if (!children || this.isEmpty) { + return; + } + if (animated) { + var index_1 = 0; + var addAChild_1 = function () { + var key = _this.keys[index_1]; + var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key); + children.appendChild(formatter.render()); + index_1 += 1; + if (index_1 < _this.keys.length) { + if (index_1 > MAX_ANIMATED_TOGGLE_ITEMS) { + addAChild_1(); + } + else { + requestAnimationFrame(addAChild_1); + } + } + }; + requestAnimationFrame(addAChild_1); + } + else { + this.keys.forEach(function (key) { + var formatter = new JSONFormatter(_this.json[key], _this.open - 1, _this.config, key); + children.appendChild(formatter.render()); + }); + } + }; + /** + * Removes all the children from children element + * Animated option is used when user triggers this via a click + */ + JSONFormatter.prototype.removeChildren = function (animated) { + if (animated === void 0) { animated = false; } + var childrenElement = this.element.querySelector("div." + helpers_ts_1.cssClass('children')); + if (animated) { + var childrenRemoved_1 = 0; + var removeAChild_1 = function () { + if (childrenElement && childrenElement.children.length) { + childrenElement.removeChild(childrenElement.children[0]); + childrenRemoved_1 += 1; + if (childrenRemoved_1 > MAX_ANIMATED_TOGGLE_ITEMS) { + removeAChild_1(); + } + else { + requestAnimationFrame(removeAChild_1); + } + } + }; + requestAnimationFrame(removeAChild_1); + } + else { + if (childrenElement) { + childrenElement.innerHTML = ''; + } + } + }; + return JSONFormatter; + }()); + + + /***/ }, + /* 2 */ + /***/ function(module, exports, __webpack_require__) { + + // style-loader: Adds some css to the DOM by adding a